Skip to content

Commit

Permalink
#4058 Fix Oracle timestamps (Oracle "ORA-00907: missing right parenth…
Browse files Browse the repository at this point in the history
…esis" error) (#4065)
  • Loading branch information
nichobbs authored and mistercrunch committed Dec 16, 2017
1 parent fc85756 commit e79d05f
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 e79d05f

Please sign in to comment.