Closed dorianbg closed 5 years ago
I wonder if this is related to Redshift seeing FLOAT
as FLOAT8
, and everything else seeing FLOAT
as FLOAT4
, which correlates with REAL
.
Yes it might be, the only numeric datatypes I have are int4 and float4
Seems like altering float4 columns to float8 would be the quickest fix? Though I think this would be mapped to a double in parquet.
Correct.
Open to PRs for this, if anyone is up for it!
Opened #41 !
Thanks @eliran-lightricks!!
Description
Copying a table with real column - actually a float4 column
What I Did
I think it is related to this piece of code https://github.com/hellonarrativ/spectrify/blob/master/spectrify/utils/schema.py