Skip to content

Commit

Permalink
apache#4058 Fix Oracle timestamps (Oracle "ORA-00907: missing right p…
Browse files Browse the repository at this point in the history
…arenthesis" error) (apache#4065)
  • Loading branch information
nichobbs authored and michellethomas committed May 23, 2018
1 parent 2137473 commit e18c7d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/db_engine_specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ class OracleEngineSpec(PostgresEngineSpec):
@classmethod
def convert_dttm(cls, target_type, dttm):
return (
"""TO_TIMESTAMP('{}', 'YYYY-MM-DD'T'HH24:MI:SS.ff6')"""
"""TO_TIMESTAMP('{}', 'YYYY-MM-DD"T"HH24:MI:SS.ff6')"""
).format(dttm.isoformat())


Expand Down

0 comments on commit e18c7d2

Please sign in to comment.