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/03/22 11:33:50 UTC

[GitHub] [superset] srinisubramanian commented on issue #19103: CLI import fails when a dataset column has empty `extra` specified

srinisubramanian commented on issue #19103:
URL: https://github.com/apache/superset/issues/19103#issuecomment-1075066388


   > @betodealmeida i find where bug and fix it superset\datasets\commands\export.py need add this code
   > 
   > `for column in payload.get("columns", []): if column.get("extra"): try: column["extra"] = json.loads(column["extra"]) except json.decoder.JSONDecodeError: logger.info("Unable to decode extra field: %s", column["extra"])`
   
   @melnikovmaksimv can you provide context on line number . function where this code has to be intriduced?  looks like i am facing the same issue


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