Open jgoizueta opened 4 years ago
Add a new OPTION to specify a query to be executed on the BQ side, similarly to the sql_option in odbc_fdw.
sql_option
When building the SQL query for BQ we'll use the query (as a subquery) instead of a table name, see: https://github.com/CartoDB/bigquery_fdw/blob/38c32188266f412b76d79d77fdc30f23f4ad7bad/src/fdw.py#L259-L260
The name for the new option should be fdw_query for consistency, and it would be incompatible with:
fdw_query
fdw_casting
fdw_group
_fdw_count
Add a new OPTION to specify a query to be executed on the BQ side, similarly to the
sql_option
in odbc_fdw.When building the SQL query for BQ we'll use the query (as a subquery) instead of a table name, see: https://github.com/CartoDB/bigquery_fdw/blob/38c32188266f412b76d79d77fdc30f23f4ad7bad/src/fdw.py#L259-L260