GitHub user rluech edited a discussion: How to disable the encryption of long field names?
We notice that when jumping from Menu 'Chart' to 'Run in SQL Lab' , long field names get encrypted. How can we disable the encryption of long field names? The encryption is performed by the method [`_truncate_label`]. The comments say: (https://github.com/apache/superset/blob/629b137bb00b87d6d7345cbae0b1b8d3dc439598/superset/db_engine_specs/base.py#L1973) _"In the case that a label exceeds the max length supported by the engine, this method is used [...]"_ But we are using Ocale 19 which [allows field names of 128 charactes ](https://docs.oracle.com/en/database/oracle/oracle-data-access-components/19.3/odpnt/EFCoreIdentifier.html), much more than 30. The hashing is applayed based on `cls.max_column_name_length` and `cls.force_column_alias_quotes` in [class OracleEngineSpec](https://github.com/apache/superset/blob/master/superset/db_engine_specs/oracle.py#L30) which are by default 30 and True respectively. related Q&A: [31997](https://github.com/apache/superset/discussions/31997) GitHub link: https://github.com/apache/superset/discussions/33016 ---- This is an automatically sent email for notifications@superset.apache.org. To unsubscribe, please send an email to: notifications-unsubscr...@superset.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org