Details
Description
While importing a Hue db from derby into MySQL I ran into this issue:
DatabaseError: (1406, "Data too long for column 'query' at row 1")
Currently beeswax_queryhistory uses a varchar(1024) column for 'query' in the MySQL schema and trying to import those rows into MySQL is a problem.
Promoting 'query' to use another data type like 'text' or maybe 'longtext' instead of varchar(1024) can avoid this type of issues in the future.