matrixone icon indicating copy to clipboard operation
matrixone copied to clipboard

[Bug]: cant see cloumns when connecting to superset

Open cyann7 opened this issue 1 year ago • 46 comments

Is there an existing issue for the same bug?

  • [X] I have checked the existing issues.

Environment

- Version or commit-id (e.g. v0.1.0 or 8b23a93):1.0.0-rc
- Hardware parameters:
- OS type:windows-wsl-ubuntu22.04
- Others:

Actual Behavior

image

when I use superset to connect to MO, superset can't show columns of a table.

The error statement is " select FROM test.users LIMIT 101", there is no * after select.

Expected Behavior

image it's mysql.

Steps to Reproduce

set up superset,and add a database ->choose mysql-> connect to MO-> to superset/SQL lab ->choose a table

Additional information

https://superset.apache.org/docs/databases/mysql

superset also said there may be some problem with mysql connector mysqlclient , users can try to use mysql-connector-python, I tried but failed in some error.

cyann7 avatar Sep 08 '23 04:09 cyann7

麻烦确认一下是否语句确实是 select FROM test.users LIMIT 101 如果是的话,我认为报语法错误是合理的。

m-schen avatar Sep 11 '23 10:09 m-schen

@m-schen 这确实是个语法错误,这里的疑问是为什么会出现这个语法错误呢,我尝试了mysql,并没有出现这个错误。

cyann7 avatar Sep 12 '23 02:09 cyann7

还没看

daviszhen avatar Oct 09 '23 12:10 daviszhen

Not a bug. This is a superset bug (it generated wrong sql) and MySQL bug (it should have rejected wrong sql).

That said, we may consider to add a mysql_compatibility_mode flag like select_allow_missing_star.

fengttt avatar Oct 09 '23 17:10 fengttt

还没看

daviszhen avatar Oct 11 '23 14:10 daviszhen

还没看

daviszhen avatar Oct 13 '23 12:10 daviszhen

还没看

daviszhen avatar Oct 16 '23 13:10 daviszhen

还没看

daviszhen avatar Oct 18 '23 12:10 daviszhen

还没看

daviszhen avatar Oct 23 '23 12:10 daviszhen

还没看

daviszhen avatar Oct 25 '23 13:10 daviszhen

未投入

daviszhen avatar Jan 25 '24 11:01 daviszhen

未投入

daviszhen avatar Jan 30 '24 11:01 daviszhen

未投入

daviszhen avatar Feb 02 '24 11:02 daviszhen

未投入

daviszhen avatar Feb 07 '24 10:02 daviszhen

未投入

daviszhen avatar Feb 21 '24 13:02 daviszhen

未投入

daviszhen avatar Feb 26 '24 12:02 daviszhen

未投入

daviszhen avatar Feb 29 '24 11:02 daviszhen

未投入

daviszhen avatar Mar 05 '24 13:03 daviszhen

未投入

daviszhen avatar Mar 08 '24 10:03 daviszhen

未投入

daviszhen avatar Mar 13 '24 12:03 daviszhen

未投入

daviszhen avatar Mar 18 '24 11:03 daviszhen

未投入

daviszhen avatar Mar 21 '24 10:03 daviszhen

未投入

daviszhen avatar Mar 26 '24 12:03 daviszhen

未投入

daviszhen avatar Mar 29 '24 12:03 daviszhen

未投入

daviszhen avatar Apr 03 '24 10:04 daviszhen

未投入

daviszhen avatar Apr 08 '24 11:04 daviszhen

未投入

daviszhen avatar Apr 11 '24 13:04 daviszhen

未投入

daviszhen avatar Apr 16 '24 11:04 daviszhen

未投入

daviszhen avatar Apr 19 '24 13:04 daviszhen

未投入

daviszhen avatar Apr 24 '24 11:04 daviszhen