如何在 Talend tBigQueryInput 查询中指定 Standard SQL?
How can I specify Standard SQL in a Talend tBigQueryInput query?
我尝试使用带有此语法的查询前缀指定标准 SQL,但 Bigquery 似乎忽略了指令:
"#standardSQL \r\n
select column1 from `mydataset.myview`"
但我得到这个错误:
Running Query : #standardSQL
select column1 from mydataset.myview
---> Reason: invalidQuery
Message: Cannot reference a SQL view in a Legacy SQL query.
我通过删除“#standardSQL 和 \r\n 之间的 space 来实现它。
作品:
"#standardSQL\r\n
无效:
"#standardSQL \r\n
RTFM:
"Must be separated from the query by a newline character"
我对 FM 的更新:
"Must be separated from the query by ONLY a newline character"
我尝试使用带有此语法的查询前缀指定标准 SQL,但 Bigquery 似乎忽略了指令:
"#standardSQL \r\n
select column1 from `mydataset.myview`"
但我得到这个错误:
Running Query : #standardSQL
select column1 from mydataset.myview
---> Reason: invalidQuery
Message: Cannot reference a SQL view in a Legacy SQL query.
我通过删除“#standardSQL 和 \r\n 之间的 space 来实现它。
作品:
"#standardSQL\r\n
无效:
"#standardSQL \r\n
RTFM:
"Must be separated from the query by a newline character"
我对 FM 的更新:
"Must be separated from the query by ONLY a newline character"