bm8836900 opened a new issue #13690:
URL: https://github.com/apache/superset/issues/13690
There is an enum in my table. When creating a data set, the creation failed
because the "type" field in the "table_columns" table was too short
DataBase:mysql 5.7.33
Superset Error Message:(MySQLdb._exceptions.DataError) (1406, "Data too long
for column 'type' at row 1")
[SQL: INSERT INTO table_columns (uuid, created_on, changed_on, column_name,
verbose_name, is_active, type, groupby, filterable, description, table_id,
is_dttm, expression, python_date_format, created_by_fk, changed_by_fk) VALUES
(%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)]
[parameters: (b'#\xe8J\xd1\xa9\xeaOg\xaaI\x12\x1c\x7fR\xfd\x82',
datetime.datetime(2021, 3, 18, 17, 30, 17, 894672), datetime.datetime(2021, 3,
18, 17, 30, 17, 894672), 'Continent', None, 1, "ENUM('ASIA','EUROPE','NORTH
AMERICA','AFRICA','OCEANIA','ANTARCTICA','SOUTH AMERICA')", 1, 1, None, 6, 0,
None, None, 1, 1)]
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]