Commit 9c04a844 by Andrew Zafft

Including a best effort translation of MySQL's LONGBLOB to Vertica's LONG…

Including a best effort translation of MySQL's LONGBLOB to Vertica's LONG VARBINARY.  Data loss is possible here.
parent af23158f
...@@ -70,6 +70,8 @@ class LoadMysqlToVerticaTableTask(MysqlToVerticaTaskMixin, VerticaCopyTask): ...@@ -70,6 +70,8 @@ class LoadMysqlToVerticaTableTask(MysqlToVerticaTaskMixin, VerticaCopyTask):
field_type = field_type.rsplit('(')[0] field_type = field_type.rsplit('(')[0]
elif field_type == 'longtext': elif field_type == 'longtext':
field_type = 'LONG VARCHAR' field_type = 'LONG VARCHAR'
elif field_type == 'longblob':
field_type = 'LONG VARBINARY'
elif field_type == 'double': elif field_type == 'double':
field_type = 'DOUBLE PRECISION' field_type = 'DOUBLE PRECISION'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment