[英]Unable to setup GCP Pub/sub subscription to BigQuery when BIGDECIMAL in target table schema
Objective : Setup a GCP Pub/sub subscription:目标:设置 GCP Pub/sub 订阅:
BIGNUMERIC
fieldBIGNUMERIC
字段的 BigQuery 表Issue : Creating the topic consistently errors out with a generic API returned error: 'Request contains an invalid argument.'
问题:创建主题始终出错并
API returned error: 'Request contains an invalid argument.'
. .
What was attempted : After many combinations of protobuf schema + target table schema, the conversion of any protobuf numeric type to a BigQuery BIGNUMERIC
field seems to be the offending aspect.尝试了什么:在 protobuf 模式 + 目标表模式的许多组合之后,任何 protobuf 数字类型到 BigQuery
BIGNUMERIC
字段的转换似乎是有问题的方面。
I found this official doc table which describes the available conversions, and I notice that the target ZetaSQL types do not feature BIGNUMERIC
at all.我找到了描述可用转换的官方文档表,我注意到目标 ZetaSQL 类型根本不具有
BIGNUMERIC
功能。
Question : Am I missing something, or does it actually mean there is no way to do Pub/sub-to-BigQuery ingestion if the target table has a BIGNUMERIC
field?问题:我是否遗漏了什么,或者这是否实际上意味着如果目标表具有
BIGNUMERIC
字段,则无法进行 Pub/sub-to-BigQuery 摄取?
The BIGNUMERIC
type is not currently supported in Pub/Sub to BigQuery subscriptions. Pub/Sub 到 BigQuery 订阅目前不支持
BIGNUMERIC
类型。 The only way to ingest into BigQuery from Pub/Sub with this datatype would be to use Dataflow.使用此数据类型从 Pub/Sub 摄取到 BigQuery 的唯一方法是使用数据流。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.