9

I'm trying to load a parquet file from s3 to AWS postgresql RDS. The data import using aws_s3.table_import_from_s3 is working fine for csv file but when I tried the similar way for parquet file, I get the below error:

ERROR: invalid byte sequence for encoding "UTF8": 0x00

In AWS docs, I see option for custom delimiter or zip file. Is it possible to import parquet data?

James Z
  • 12,209
  • 10
  • 24
  • 44
swetha
  • 91
  • 1
  • 3

1 Answers1

1

Data import into an AWS PostgreSQL RDS supports what COPY does. Although there is a PostgreSQL binary file format it doesn't support Parquet so in order to import the data you have to convert it to a text file or the PostgreSQL binary file format first.

voroninman
  • 269
  • 1
  • 2
  • 9