You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am exporting data into .gz files using the below query on Trino from AWS Glue tables.
CREATE TABLE cht_mdr_temp.temp_table WITH (external_location='s3://cht-mdr/mdr_temp/temp_table_kanika',format = 'CSV') AS SELECT pre_installed_software AS pre_installed_software, region_code AS region_code, CAST(convertible_1yr_all_upfront_upfront_cost AS varchar) AS convertible_1yr_all_upfront_upfront_cost, FROM cht_mdr_temp.a0aapqkfo_1719536524875
The .gz files that are getting created does not contain the headers of the columns. We have tried using the property 'skip_header_line_count' but it does not help.
Is it possible to get CSV headers as per the aliases provided in the query, in the file exported via CTAS?
The text was updated successfully, but these errors were encountered:
Hi team,
I am exporting data into .gz files using the below query on Trino from AWS Glue tables.
CREATE TABLE cht_mdr_temp.temp_table WITH (external_location='s3://cht-mdr/mdr_temp/temp_table_kanika',format = 'CSV') AS SELECT pre_installed_software AS pre_installed_software, region_code AS region_code, CAST(convertible_1yr_all_upfront_upfront_cost AS varchar) AS convertible_1yr_all_upfront_upfront_cost, FROM cht_mdr_temp.a0aapqkfo_1719536524875
The .gz files that are getting created does not contain the headers of the columns. We have tried using the property '
skip_header_line_count
' but it does not help.Is it possible to get CSV headers as per the aliases provided in the query, in the file exported via CTAS?
The text was updated successfully, but these errors were encountered: