Skip to content

Cannot sort X-Axis on a bar chart if X-axis is a var_string (MySQL) #29271

Discussion options

You must be logged in to vote

Found the answer -https://github.com/apache/superset/blob/master/superset/db_engine_specs/mysql.py#L27

Looks like the data converter for MySQL only converts TINYTEXT, MEDIUMTEXT, and LONGTEXT to String. Most of our string columns in MySQL are VARCHARs, so it's not being processed as a String for Superset's purposes.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mason-gordon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant