您可以在Redshift上存储JSON字段吗? [英] Can you store JSON fields on Redshift?

查看:235
本文介绍了您可以在Redshift上存储JSON字段吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Redshift是否支持JSON字段,例如Postgresql的json数据类型?如果是这样,我该怎么做?

Does Redshift support JSON fields, like Postgresql's json data type? If so what do I do to use it?

推荐答案

您可以在普通文本字段内将JSON存储在Amazon Redshift中.

You can store JSON in Amazon Redshift, within a normal text field.

有一些功能可以从JSON字段中提取数据,但这不是存储数据的有效方法,因为它没有利用Redshift基于列的体系结构的全部功能.

There are functions available to extract data from JSON fields, but it is not an effective way to store data since it doesn't leverage the full capabilities of Redshift's column-based architecture.

请参阅: Amazon Redshift文档-JSON函数

这篇关于您可以在Redshift上存储JSON字段吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆