I am updating a quicksight dataset to change a column from an integer to a string (requester want Left Padded 0’s on the field).
The error I get is this:
Ingestion Id
223999cc-0d11-4556-b6e5-1a81ffe64cca
Error type:
SQL_SCHEMA_MISMATCH_ERROR Learn more
The data source schema doesn’t match the QuickSight dataset.
Error details:
The row input schema does not expect a string. Incorrect Column Type at Index 12 for Column BRANCH_NUMBER with DataprepLogicalType Int
A couple of details that might or might not help:
- The datasource is a straight sql query import from snowflake, there are no calculated fields within the dataset itself. All the transformation is done within a view in snowflake, and the view there works fine (i.e. code is just “select * from view;”)
-The documentation says that I should be able to change something in the Edit Dataset module, but when I go to manually change the data type of that field, changing it to a string is not an option that presents itself.
- There is no incremental refresh. It refreshes fully every time.
- I created a brand new dataset with the same query and applied RLSS, and that works. I don’t want to do that as a solution, there are a few dozen dashboards that rely on this dataset an and I don’t want to have to change every one (only 2 use this particular field).
- The field is not used in our RLSS scheme.
- The field is used in filters in some dashboards, but I would expect changing the dataset to break the field in the analysis/dashboard, not break the dataset itself.
- The dataset is SPICE
Does anyone know what I need to do to get quicksight to “forget” that the field used to be an integer?
edit: We didn’t specify an explicit cast for the field in SF, but SF shows it as a VARCHAR.