snippins commented on issue #30282:
URL: https://github.com/apache/superset/issues/30282#issuecomment-2351082875

   @dosu My understanding was completely wrong, it is just that the superset 
was not able to understand that var_string from mysql or starrocks as a string 
type, so the sort control is hidden.
   
   I tested by adding a mapping for var_string to this file and it works, this 
probably would also works for mysql:
   
https://github.com/apache/superset/blob/master/superset/db_engine_specs/starrocks.py
   
   ```
           (
               re.compile(r"^var_string", re.IGNORECASE),
               types.VARCHAR(),
               GenericDataType.STRING,
           ),
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to