This is an automated email from the ASF dual-hosted git repository.

michaelsmolina pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 1c287dfc74e98ebe2d5f655dad58c7f91755440e
Author: Hugh A. Miles II <[email protected]>
AuthorDate: Mon Nov 13 18:46:09 2023 -0500

    fix: naming denomalized to denormalized in helpers.py (#25973)
    
    (cherry picked from commit 5def416f632ae7d7f90ae615a8600e8110797aec)
---
 superset/models/helpers.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/superset/models/helpers.py b/superset/models/helpers.py
index 6163c3022c..037e4d8c6e 100644
--- a/superset/models/helpers.py
+++ b/superset/models/helpers.py
@@ -1336,11 +1336,11 @@ class ExploreMixin:  # pylint: 
disable=too-many-public-methods
     def values_for_column(self, column_name: str, limit: int = 10000) -> 
list[Any]:
         # always denormalize column name before querying for values
         db_dialect = self.database.get_dialect()
-        denomalized_col_name = self.database.db_engine_spec.denormalize_name(
+        denormalized_col_name = self.database.db_engine_spec.denormalize_name(
             db_dialect, column_name
         )
         cols = {col.column_name: col for col in self.columns}
-        target_col = cols[denomalized_col_name]
+        target_col = cols[denormalized_col_name]
         tp = self.get_template_processor()
         tbl, cte = self.get_from_clause(tp)
 
@@ -1361,7 +1361,7 @@ class ExploreMixin:  # pylint: 
disable=too-many-public-methods
             sql = self.mutate_query_from_config(sql)
 
             df = pd.read_sql_query(sql=sql, con=engine)
-            return df[denomalized_col_name].to_list()
+            return df[denormalized_col_name].to_list()
 
     def get_timestamp_expression(
         self,

Reply via email to