[
https://issues.apache.org/jira/browse/AIRFLOW-1267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16037560#comment-16037560
]
Chris Riccomini commented on AIRFLOW-1267:
------------------------------------------
I took a brief look at this. It's a little tricky because the BQ check operator
uses the generic DbApiHook methods (e.g. get_first), which obviously don't
expose BQ-specific params like use_legacy_sql. We either have to abandon the
DbApiHook inheritance, or extend it with a BqDbApiHook that properly sets the
use_legacy_sql param where it needs to be set.
> BigQueryCheckOperator is not configurable on the use_legacy_sql flag
> --------------------------------------------------------------------
>
> Key: AIRFLOW-1267
> URL: https://issues.apache.org/jira/browse/AIRFLOW-1267
> Project: Apache Airflow
> Issue Type: Bug
> Components: configuration, contrib, db
> Reporter: Lan Xu
> Priority: Critical
>
> The BigqueryCheckOperator is not configurable to use standard sql, which is
> causing our DAGs to fail. It might be due to the BigQuery hook configs using
> legacy sql as default, and the check operator class never has access to
> change that configuration.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)