[英]Do 'side inputs' in Cloud Dataflow support reading from BigQuery views?
Tried to point a side-input to a BigQuery view, instead of directly to a BigQuery table. 试图将侧输入指向BigQuery视图,而不是直接指向BigQuery表。 It does not produce an error, but simply returns 0 rows.
它不会产生错误,但只返回0行。 View works fine inside BigQuery.
View在BigQuery中运行良好。
For example, given a view referencing a table 'types_test' with just 1 row: 例如,给定一个只引用一行的表'types_test'的视图:
In BigQuery, it works fine: 在BigQuery中,它工作正常:
But using the view as a side-input in Dataflow return 0 rows: 但是使用视图作为Dataflow中的side-input返回0行:
INFO: Reading from BigQuery table <removed>:CPT_7414_PLAYGROUND.view_test
Mar 20, 2015 11:10:08 PM com.google.cloud.dataflow.sdk.io.BigQueryIO evaluateReadHelper
INFO: Number of records read from BigQuery: 0
Do side-inputs support views in BigQuery, or do you need to do something else to use a view for a side-input? 在BigQuery中进行侧输入支持视图,还是需要做其他事情来使用视图进行侧输入?
Found in the FAQ's, that views are not currently supported. 在FAQ中找到,目前不支持这些视图。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.