Zero Values in Sources/Queries force datatype of column to text resulting in column sorting problems #9393
Closed
1 task done
Labels
bug
Something isn't working
Checklist
Hosting
Describe the bug
When working with Queries as Sources (in my case MYSQL) apparently an autodiscovery of the field types is made based on the first result of the query.
CURRENT Workaround If you change the query with an order by so that the first result row does not contain 0 but another number, the same column will be considered as NUMBER in the schema and this will then eventually allow for proper sorting
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Alternative a) 0 are interpreted as a number instead of text
Alternative b) Changes to the schema under results will allow for saving and explicitly setting a column to a specific datatype
Screenshots
Desktop (please complete the following information):
Other Notes
This is my first issue report. Feel free to change the wording and headline as needed :)
The text was updated successfully, but these errors were encountered: