简体   繁体   English

CloudSQL PostgreSQL 导入查询错误云数据融合

[英]CloudSQL PostgreSQL Import Query ERROR Cloud Data Fusion

I am using CloudSQL PostgreSQL to BigQuery Data export using Cloud Data Fusion.我正在使用 CloudSQL PostgreSQL 通过 Cloud Data Fusion 导出 BigQuery 数据。 Here is the simple import Query with table name "parameter".这是表名为“参数”的简单导入查询。 在此处输入图像描述

But I am getting the ERROR about adding condition to Query.但是我收到有关向查询添加条件的错误。 I don't think when we specify number of splits = 1 we don't need to specify anything in the Query but here:我不认为当我们指定 number of splits = 1 时,我们不需要在查询中指定任何内容,但在这里:

Could not find the clause substitution token $CONDITIONS in the query: [SELECT * FROM parameters;]. Parallel splits may not work correctly.

How can I move data from Cloud SQL to BigQuery?如何将数据从 Cloud SQL 移动到 BigQuery?

Add this WHERE clause to the end of your query WHERE $CONDITIONS , worked for me.将此 WHERE 子句添加到查询的末尾WHERE $CONDITIONS ,对我有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM