Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR:root:u'TIMESTAMP(0) #4

Open
Jonathan-Wei opened this issue Dec 22, 2016 · 0 comments
Open

ERROR:root:u'TIMESTAMP(0) #4

Jonathan-Wei opened this issue Dec 22, 2016 · 0 comments

Comments

@Jonathan-Wei
Copy link

Hello!@wxiang7.
I encountered a problem using pykylin

2016-12-22 15:50:41,229:ERROR:root:u'TIMESTAMP(0)' Traceback (most recent call last): File "/usr/local/bin/python27/lib/python2.7/site-packages/superset/views.py", line 694, in pre_add table.get_sqla_table_object() File "/usr/local/bin/python27/lib/python2.7/site-packages/superset/models.py", line 1176, in get_sqla_table_object return self.database.get_table(self.table_name, schema=self.schema) File "/usr/local/bin/python27/lib/python2.7/site-packages/superset/models.py", line 835, in get_table autoload_with=self.get_sqla_engine()) File "/usr/local/bin/python27/lib/python2.7/site-packages/sqlalchemy/sql/schema.py", line 416, in __new__ metadata._remove_table(name, schema) File "/usr/local/bin/python27/lib/python2.7/site-packages/sqlalchemy/util/langhelpers.py", line 60, in __exit__ compat.reraise(exc_type, exc_value, exc_tb) File "/usr/local/bin/python27/lib/python2.7/site-packages/sqlalchemy/sql/schema.py", line 411, in __new__ table._init(name, metadata, *args, **kw) File "/usr/local/bin/python27/lib/python2.7/site-packages/sqlalchemy/sql/schema.py", line 484, in _init self._autoload(metadata, autoload_with, include_columns) File "/usr/local/bin/python27/lib/python2.7/site-packages/sqlalchemy/sql/schema.py", line 496, in _autoload self, include_columns, exclude_columns File "/usr/local/bin/python27/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1972, in run_callable return conn.run_callable(callable_, *args, **kwargs) File "/usr/local/bin/python27/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1477, in run_callable return callable_(self, *args, **kwargs) File "/usr/local/bin/python27/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 364, in reflecttable return insp.reflecttable(table, include_columns, exclude_columns) File "/usr/local/bin/python27/lib/python2.7/site-packages/sqlalchemy/engine/reflection.py", line 563, in reflecttable table_name, schema, **table.dialect_kwargs): File "/usr/local/bin/python27/lib/python2.7/site-packages/sqlalchemy/engine/reflection.py", line 369, in get_columns **kw) File "/usr/local/bin/python27/lib/python2.7/site-packages/pykylin-0.0.1-py2.7.egg/pykylin/dialect.py", line 158, in get_columns return [self._map_column_type(c) for c in cols] File "/usr/local/bin/python27/lib/python2.7/site-packages/pykylin-0.0.1-py2.7.egg/pykylin/dialect.py", line 172, in _map_column_type tpe = KYLIN_TYPE_MAP[tpe_NAME]

KYLIN_TYPE_MAP not find TIMESTAMP TYPE!
How to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant