#GoogleSheets query failure, parsing column value as number instead of text
1 messages · Page 1 of 1 (latest)
@late raptor ^^
Can you share a screenshot with some sample data? What values do you have for sku_text in your sheet?
Sample values in sku_text field
Bolan
97862
Got it. This seems to be a bug.
In the first row of your sheet, is sku_text digits only? If that's the case, can you try to put in the first row a record for which it is a text value (not only digits) and check if the query works?
okay let me try
You can track the bug here: https://github.com/appsmithorg/appsmith/issues/7794 Let me know if the suggested workaround fixes the issue.
The auto detect issue is still open. How can we force for a column data type? If AS determined a column should be Number, all string values in the column are removed
Hi There!
Thanks for reaching out to us. One of our engineers will be with you shortly.
If you are stuck with an issue/error, please help us with following information.
- Which version of Appsmith are you on?
- Provide screenshots/screen recordings of the original error/code snippet.
- Add details about your use case and provide steps to reproduce the issue, if
possible.
Hello! I think you are facing this bug, right?
https://github.com/appsmithorg/appsmith/issues/7794
The workaround you can use for now is to use a dummy row in your data that
specifies data in the expected data type or make sure that the first row does
not contain only digits for that column.
The bug is related indeed but title should be edited to be more generic (or close and open new one) as the datatype autodetection creates many downstream issues. User should be in control of the schema and there should be an option to freeze column definitions.
Actually, thinking about it, if AS could just read all columns as string, issue goes away as user can after that decide how to render/format in each Column Type + some JS in Computed Value e.g. number formatting
Actually, we have this feature request that will fix the issue:
https://github.com/appsmithorg/appsmith/issues/10705
Could you please upvote it to help us prioritize it?
Thx. Can't really upvote an issue in Github. Best I could do is thumbs up the original OP but am the only (first) one so far ...