superset + firebird problem
Greetings to all.
I'm having a problem with the firebird database.
- [+ ] I have checked the superset logs for python stacktraces and included it here as text if any
- [ +] I have reproduced the issue with at least the latest released version of superset
- [ +] I have checked the issue tracker for the same issue and I haven't found one similar
Superset version
version: 0.17.1
First, I created a connection to the firebird database (firebird: // sysdba: [email protected]: 3050 / C: / BD / BD). The connection was successful. I saw part of some of the tables from my database.

Then I tried to make a simple query in the sql editor (select * from users) but an error occurred.

from terminal logs
2017-03-22 15:31:50,175:INFO:root:Running query:
SELECT * from users
2017-03-22 15:31:50,258:INFO:root:Handling cursor
2017-03-22 15:31:50,262:INFO:root:Fetching data: {u'changedOn': datetime.datetime(2017, 3, 22, 13, 31, 50, 257222), u'tempTable': u'', u'userId': 1, u'executedSql': u'SELECT * from users', u'ctas': False, u'tab': u'Untitled Query', u'sqlEditorId': u'r1ZlOiJne', u'id': u'H1n6hgl2g', u'changed_on': '2017-03-22T13:31:50.257222', u'rows': None, u'endDttm': None, u'limit_reached': False, u'state': u'running', u'progress': 0, u'schema': None, u'dbId': 3, u'errorMessage': None, u'db': u'asu', u'user': u'admin', u'sql': u'SELECT * from users', u'startDttm': Decimal('1490189510133.7580566406'), u'limit': 1000000, u'serverId': 9, u'resultsKey': None}
2017-03-22 15:31:50,859:ERROR:root:0 columns passed, passed data had 12 columns
Traceback (most recent call last):
File "/data/work/virtualenvs/superset/lib/python2.7/site-packages/superset/views/core.py", line 2043, in sql_json
data = sql_lab.get_sql_results(query_id, return_results=True)
File "/data/work/virtualenvs/superset/lib/python2.7/site-packages/celery/local.py", line 188, in __call__
return self._get_current_object()(*a, **kw)
File "/data/work/virtualenvs/superset/lib/python2.7/site-packages/celery/app/task.py", line 420, in __call__
return self.run(*args, **kwargs)
File "/data/work/virtualenvs/superset/lib/python2.7/site-packages/superset/sql_lab.py", line 145, in get_sql_results
list(data), columns=column_names))
File "/data/work/virtualenvs/superset/lib/python2.7/site-packages/pandas/core/frame.py", line 263, in __init__
arrays, columns = _to_arrays(data, columns, dtype=dtype)
File "/data/work/virtualenvs/superset/lib/python2.7/site-packages/pandas/core/frame.py", line 5352, in _to_arrays
dtype=dtype)
File "/data/work/virtualenvs/superset/lib/python2.7/site-packages/pandas/core/frame.py", line 5431, in _list_to_arrays
coerce_float=coerce_float)
File "/data/work/virtualenvs/superset/lib/python2.7/site-packages/pandas/core/frame.py", line 5489, in _convert_object_array
'columns' % (len(columns), len(content)))
AssertionError: 0 columns passed, passed data had 12 columns
If I try to write a query like this (select * from asu.users), a Firebird base error occurs.

But I can create a table, and then a slice.


Problem in the sql editor
At the same time, there were no problems with the mysql database.
Thanks for the help.
Notice: this issue has been closed because it has been inactive for 397 days. Feel free to comment and request for this issue to be reopened.