bm8836900 commented on issue #13690:
URL: https://github.com/apache/superset/issues/13690#issuecomment-808786067
superset version:1.0.1
mysql databse:test
mysql table name:country
在mysql自带测试库test中的country表中,有一个字段“Continent”是用enum类型创建的。在superset创建数据集时,superset会将源表的表结构保存在“table”表中。其中“type”字段是将源表字段数据类型以字符串的形式保存的。所以在遇到较长字符串时,因为“type”字段长度的限制,导致无法保存源表数据结构,导致superset创建数据集失败。例如:
field name:Continent
field data type:ENUM('ASIA','EUROPE','NORTH
AMERICA','AFRICA','OCEANIA','ANTARCTICA','SOUTH AMERICA')
--
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]