rebenitez1802 commented on code in PR #37019:
URL: https://github.com/apache/superset/pull/37019#discussion_r2695212058
##########
superset/db_engine_specs/redshift.py:
##########
@@ -103,6 +103,24 @@ class RedshiftEngineSpec(BasicParametersMixin,
PostgresBaseEngineSpec):
),
}
+ @classmethod
+ def normalize_table_name_for_upload(
+ cls,
+ table_name: str,
+ schema_name: str | None = None,
+ ) -> tuple[str, str | None]:
+ """
+ Redshift folds unquoted identifiers to lowercase.
+
+ :param table_name: The table name to normalize
+ :param schema_name: The schema name to normalize (optional)
+ :return: Tuple of (normalized_table_name, normalized_schema_name)
+ """
+ return (
+ table_name.lower(),
+ schema_name.lower() if schema_name else None,
+ )
Review Comment:
I agree with the owner. this is out scope
--
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]