You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by gi...@git.apache.org on 2017/07/28 07:40:14 UTC
[GitHub] luciuschina opened a new issue #3199: Unknown column 'created_by' in 'order clause'
luciuschina opened a new issue #3199: Unknown column 'created_by' in 'order clause'
URL: https://github.com/apache/incubator-superset/issues/3199
Make sure these boxes are checked before submitting your issue - thank you!
- [X] I have checked the superset logs for python stacktraces and included it here as text if any
- [X] I have reproduced the issue with at least the latest released version of superset
- [X] I have checked the issue tracker for the same issue and I haven't found one similar
### Superset version
0.18.5
### Meta database
MySQL
### Expected results
No error
### Actual results
Has an error
### Steps to reproduce


The error is:
_OperationalError: (_mysql_exceptions.OperationalError) (1054, "Unknown column 'created_by' in 'order clause'") [SQL: u'SELECT dashboards.created_on AS dashboards_created_on, dashboards.changed_on AS dashboards_changed_on, dashboards.id AS dashboards_id, dashboards.dashboard_title AS dashboards_dashboard_title, dashboards.position_json AS dashboards_position_json, dashboards.description AS dashboards_description, dashboards.css AS dashboards_css, dashboards.json_metadata AS dashboards_json_metadata, dashboards.slug AS dashboards_slug, dashboards.changed_by_fk AS dashboards_changed_by_fk, dashboards.created_by_fk AS dashboards_created_by_fk \nFROM dashboards ORDER BY created_by asc \n LIMIT %s'] [parameters: (100,)]_
My tested result :
"ORDER BY **created_on**" is work?
?dbs? table has ?created_on? field instead of ?created_by?.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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