Dataflow SQL - Unsupported type Geography

南笙酒味 提交于 2021-02-11 13:15:58

问题


I'm trying to create a Dataflow SQL on Google Big Query and I got this error

Unsupported type for column centroid.centroid: GEOGRAPHY

I couldnt find any evidence that Dataflow SQL actually does not support Geography data and in the documentation geography data is not mentioned at all. Is this the case, why is that and is there any workaround?


回答1:


No unfortunately Dataflow SQL does not support Geography types. It supports a subset of BigQuery Standard SQL. Only the data types listed explicitly in the page you linked are supported, it should probably be more clear about that.

Dataflow SQL relies on ZetaSQL to parse and analyze queries, and ZetaSQL does not yet support Geography (you can see the current status here).

Unfortunately for now the only workaround is to convert any GEOGRAPHY fields to a supported type.



来源:https://stackoverflow.com/questions/64449588/dataflow-sql-unsupported-type-geography

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!