File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
distribution/lib/Standard/AWS/0.0.0-dev/src/Database/Redshift Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -431,7 +431,8 @@ type Redshift_Connection
431431 s3_file_path = normalized_staging_bucket2 + table_name + "_" + Random.uuid + ".csv"
432432 s3_file = S3_File.new s3_file_path staging_bucket_credentials
433433 if s3_file.is_error then Error.throw s3_file
434- written_s3_file = table.write s3_file format=..Delimited
434+ normalized_datetime_table = table.format [(..By_Type ..Date_Time)] 'yyyy-MM-dd HH:mm:ssz'
435+ written_s3_file = normalized_datetime_table.write s3_file format=..Delimited
435436 if written_s3_file.is_error then Error.throw written_s3_file
436437
437438 created_table = if exists.not then self.create_table table_name table primary_key=[] temporary=temporary else case if_exists of
You can’t perform that action at this time.
0 commit comments