Skip to content

db.copy_files_to_redshift not convert Athena TINYINT  #400

@tuannguyen0901

Description

@tuannguyen0901

Using copy_files_to_redshift does not convert Athena TINYINT to appropriate data type

CREATE TABLE IF NOT EXISTS clean_data.fact_Data
WITH (format='PARQUET',
parquet_compression='SNAPPY',
partitioned_by = ARRAY['environmentid']
)
AS
select
cast (environmentid as TINYINT ) as environmentid

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions