Skip to content
This repository was archived by the owner on Apr 6, 2022. It is now read-only.

Commit

Permalink
add back lower on redshift/oracle
Browse files Browse the repository at this point in the history
  • Loading branch information
wyndhblb committed Oct 22, 2018
1 parent a71e6eb commit 7bafe68
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions superset/db_engine_specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,10 @@ class RedshiftEngineSpec(PostgresBaseEngineSpec):
engine = 'redshift'
force_column_alias_quotes = True

@staticmethod
def normalize_column_name(column_name):
return column_name.lower()


class OracleEngineSpec(PostgresBaseEngineSpec):
engine = 'oracle'
Expand All @@ -525,6 +529,10 @@ def convert_dttm(cls, target_type, dttm):
"""TO_TIMESTAMP('{}', 'YYYY-MM-DD"T"HH24:MI:SS.ff6')"""
).format(dttm.isoformat())

@staticmethod
def normalize_column_name(column_name):
return column_name.lower()


class Db2EngineSpec(BaseEngineSpec):
engine = 'ibm_db_sa'
Expand Down

0 comments on commit 7bafe68

Please sign in to comment.