superset icon indicating copy to clipboard operation
superset copied to clipboard

"superset load_examples" fails on MySQL date fields

Open nobodhi opened this issue 9 years ago • 2 comments

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.2

Expected results

Tables with date colums should import normally on MySql.

Actual results

"superset load_examples" fails to load tables with date columns in MySql (cannot recognize format).

Steps to reproduce

Create a config.py file setting your SQLALCHEMY_DATABASE_URI to MySql. export PYTHONPATH start superset run "superset load_examples"

error: cannot recognize date column format.

nobodhi avatar May 29 '17 14:05 nobodhi

did you install mysql with pip install mysqlclient before running? and ur mysql connection string should be in mysql://username:password@host:port/dbname format.

Aung-Myint-Thein avatar Aug 08 '17 05:08 Aung-Myint-Thein

Notice: this issue has been closed because it has been inactive for 258 days. Feel free to comment and request for this issue to be reopened.

mistercrunch avatar Apr 23 '18 07:04 mistercrunch