CartoDB / bigquery_fdw

BigQuery Foreign Data Wrapper for PostgreSQL
MIT License
0 stars 0 forks source link

Implement IMPORT FOREIGN SCHEMA #4

Open jgoizueta opened 5 years ago

jgoizueta commented 5 years ago

To avoid requiring defining the columns of a foreign table and its types we could implement IMPORT FOREIGN SCHEMA and allow creating foreign tables automatically for a single table or all tables in a dataset. Ideally we could also support creating foreign tables for a query (see #1)

jgoizueta commented 5 years ago

See https://github.com/Kozea/Multicorn/blob/9ff78759665b0d04315f707b81a45c66ecb2d8c7/python/multicorn/__init__.py#L442-L457