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 2020/02/28 05:58:04 UTC

[GitHub] [incubator-superset] long2ice edited a comment on issue #5014: No field class for DateTime

long2ice edited a comment on issue #5014: No field class for DateTime
URL: https://github.com/apache/incubator-superset/issues/5014#issuecomment-592327204
 
 
   the error is:
   ```python3
   superset_1  | Traceback (most recent call last):
   superset_1  |   File "/usr/local/lib/python3.6/site-packages/superset/sql_lab.py", line 226, in execute_sql_statement
   superset_1  |     db_engine_spec.execute(cursor, sql, async_=True)
   superset_1  |   File "/usr/local/lib/python3.6/site-packages/superset/db_engine_specs/base.py", line 754, in execute
   superset_1  |     cursor.execute(query)
   superset_1  |   File "/usr/local/lib/python3.6/site-packages/sqlalchemy_clickhouse/connector.py", line 210, in execute
   superset_1  |     self._process_response(response)
   superset_1  |   File "/usr/local/lib/python3.6/site-packages/sqlalchemy_clickhouse/connector.py", line 341, in _process_response
   superset_1  |     for r in response:
   superset_1  |   File "/usr/local/lib/python3.6/site-packages/infi/clickhouse_orm/database.py", line 222, in select
   superset_1  |     model_class = model_class or ModelBase.create_ad_hoc_model(zip(field_names, field_types))
   superset_1  |   File "/usr/local/lib/python3.6/site-packages/infi/clickhouse_orm/models.py", line 59, in create_ad_hoc_model
   superset_1  |     attrs[name] = cls.create_ad_hoc_field(db_type)
   superset_1  |   File "/usr/local/lib/python3.6/site-packages/sqlalchemy_clickhouse/connector.py", line 91, in create_ad_hoc_field
   superset_1  |     raise NotImplementedError('No field class for %s' % db_type)
   superset_1  | NotImplementedError: No field class for Decimal(10, 4)
   ```
   
   ref: [https://github.com/cloudflare/sqlalchemy-clickhouse/issues/14](https://github.com/cloudflare/sqlalchemy-clickhouse/issues/14)

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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