gpt4 book ai didi

postgresql - Snowflake 数据类型等效于 Postgres jsonb 数据类型

转载 作者:行者123 更新时间:2023-12-05 05:05:00 25 4
gpt4 key购买 nike

我正在尝试从 Postgres 到 Snowflake 的 ETL。 Postgres 中列的数据类型是“jsonb”,有人可以告诉我 Snowflake 中的目标列数据类型应该是什么吗?

最佳答案

在 Snowflake 中,您可以为 semi-structured data 使用 VARIANT 数据类型像 JSON。

或者,如果您的根对象始终是 OBJECTARRAY,您可以使用其中之一。

关于postgresql - Snowflake 数据类型等效于 Postgres jsonb 数据类型,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60778988/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com