Redshift varchar(max) not enough to store json data type column from Postgres

0

Redshift varchar(max) not enough to store json data type column from Postgres. Which data type should I use to store the column, I am using glue to perform the ETL and storing to Redshift, Postgres has Json data type but in Redshift the limit is exceeding even by varchar(max). Getting below error in STL_LOAD_ERRORS table-redshift ->String length exceeds DDL length
Is there any workaround or direct solution, as super data type is not supported in Glue, so can't map that to the column.

質問済み 2年前2989ビュー
2回答
0

Hi,

In Redshift for storing JSON data we have introduced the SUPER data type.

However, the SUPER data type only supports up to 1MB of data for an individual SUPER field or object. For more information, see Ingesting and querying semistructured data in Amazon Redshift.

hope this helps,

AWS
エキスパート
回答済み 2年前
0

We are encountering a similar issue where we're utilizing the "super" datatype, which has a maximum length of 65K. However, the column in the Parquet file we receive has a maximum length of 192K. How should we handle this data? Are there alternative datatypes we can use to accommodate such large data sizes?

msve
回答済み 1ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ