Vitor-Avila opened a new issue, #26198:
URL: https://github.com/apache/superset/issues/26198

   For engines that support column de-normalization, it's possible to opt-out 
by enabling **column normalization**. This is enabled by default to all 
datasets created prior to the implementation of column denormalization. For 
more context, check below PRs:
   * Column de-normalization implementation: 
https://github.com/apache/superset/pull/24471
   * Opt-in control: https://github.com/apache/superset/pull/24982
   
   Chart filters are not displaying options for datasets that have **column 
normalization** enabled.
   
   #### How to reproduce the bug
   
   1. Create a dataset powered by an engine that supports column 
de-normalization (such as Snowflake). Note that:
   * All columns are **uppercase**.
   * Column normalization is disabled (under the **SETTINGS** tab).
   3. Modify the dataset, and enable column normalization.
   4. Save changes.
   5. Modify the dataset again, and sync columns. Note that all columns are now 
**lowercase**.
   6. Save changes.
   7. Create a new chart using this dataset, and drop any column in the 
**FILTERS** section.
   
   ### Expected results
   Filter values should be populated in the dropdown. 
   
   ### Actual results
   The dropdown is empty. The network request to fetch the column values return 
below `400` error:
   ```
   Column name {column_name} does not exist
   ```
   
   ### Environment
   
   * browser type and version: Chrome version `119.0.6045.159`.
   * superset version: `0.0.0-dev` (running `master`).
   * python version: `3.9.0`
   * node.js version: `v16.14.2`
   * any feature flags active: not relevant to reproduce the issue
   
   ### Checklist
   - [x] I have checked the superset logs for python stacktraces and included 
it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version 
of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't 
found one similar.


-- 
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