You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/01/27 17:32:55 UTC

[GitHub] [superset] igor-lukyanov opened a new issue #18203: Field table_columns.type varchar(32) is too short

igor-lukyanov opened a new issue #18203:
URL: https://github.com/apache/superset/issues/18203


   Superset version 1.4.0
   
   Particularly in Clickhouse column types may be quite long: 
   'type': "ENUM8('V1' = 0, 'V2' = 1, 'V3' = 2, 'V4' = 3, 'V5' = 4, 'V6' = 5, 'V7' = 6, 'V8' = 7)"
   
   which leads to `(psycopg2.errors.StringDataRightTruncation) value too long for type character varying(32)` error while creating a new dataset from a table with long enough enums. The solution is to `ALTER TABLE superset.table_columns 
   ALTER COLUMN type TYPE varchar`. 
   
   Sorry for not submitting a patch, not quite familiar with superset internals.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] villebro commented on issue #18203: Field table_columns.type varchar(32) is too short

Posted by GitBox <gi...@apache.org>.
villebro commented on issue #18203:
URL: https://github.com/apache/superset/issues/18203#issuecomment-1023491071


   I'm closing this as it's already been fixed on master branch here: #17360 . However, pinging @eschutho (release manager for 1.4 branch): do you consider this a viable cherry for a 1.4.x patch release, or should we wait until 1.5?


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] villebro closed issue #18203: Field table_columns.type varchar(32) is too short

Posted by GitBox <gi...@apache.org>.
villebro closed issue #18203:
URL: https://github.com/apache/superset/issues/18203


   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org