Closed anomitra closed 5 years ago
There is no particular reason, it would be greatly appreciated as an enhancement! #41 might be a good PR for inspiration.
As per the Redshift documentation, a TEXT
field is basically just VARCHAR(256)
. Also, I converted all my TEXT
fields to VARCHAR
fields and everything worked fine.
It seems like adding a mapping for TEXT
in the data type mappings should suffice, along with a few regression tests. I'll try and get around to it during the weekend if I can!
@anomitra thank you for this!
Description
It appears that
TEXT
fields are not supported (yet). I ran into this while converting a table which has some free text fields.What I Did
I ran the
convert
command. The output follows.ValueError: Type <class 'sqlalchemy.sql.sqltypes.TEXT'> not currently supported by Spectrify.
Is there any particular reason why this was never supported, and can it be taken up as an enhancement? I might take a stab at it, if required.