pingcap / tidb

TiDB - the open-source, cloud-native, distributed SQL database designed for modern applications.
https://pingcap.com
Apache License 2.0
37.41k stars 5.85k forks source link

Support SQL/MED (Management of External Data) Extension #18677

Open zz-jason opened 4 years ago

zz-jason commented 4 years ago

Feature Request

Is your feature request related to a problem? Please describe:

Not a problem, to make TiDB able to manage external data. From SQL/MED - Wikipedia:

The SQL/MED ("Management of External Data") extension to the SQL standard is defined by ISO/IEC 9075-9:2008 (originally defined for SQL:2003). SQL/MED provides extensions to SQL that define foreign-data wrappers and datalink types to allow SQL to manage external data. External data is data that is accessible to, but not managed by, an SQL-based DBMS. This standard can be used in the development of federated database systems.

This report can be useful: SQL/MED - A Status Report

Describe the feature you'd like:

The user interface can be discussed later.

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

zz-jason commented 4 years ago

SQL/MED specifications can be divided into:

SQL/MED - A Status Report describes the enhancements to the wrapper interface and datalinks.