Uploaded image for project: 'Open Data Hub'
  1. Open Data Hub
  2. ODH-541

New Datasources cannot be created in Superset 1.3.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • odh-manifest
    • None

      The current version of ODH manifests has upgraded Superset to 1.3.0, but there's a bug that prevents adding new datasources if sqlalchemy-clickhouse is installed, which it is.

       

      $ pip list | grep clickhouse 
      infi.clickhouse-orm 1.0.2 
      sqlalchemy-clickhouse 0.1.5.post0
      

      The datasource add API sends 500 errors w/ the following message:

      AttributeError: module 'sqlalchemy_clickhouse.base' has no attribute 'name'
      

       

      The fix would be to uninstall sqlalchemy clickhouse and move to using clickhouse-sqlalchemy in the base image which is supposedly more compatible w/ superset as per: https://github.com/apache/superset/issues/16492

       

       

              rhn-support-rmartine Ricardo Martinelli
              rhn-support-weaton Will Eaton
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: