Skip to content

Commit

Permalink
fix: Fix decimal separator to "." (dot) on Oracle (#1042)
Browse files Browse the repository at this point in the history
  • Loading branch information
nj1973 committed Nov 11, 2023
1 parent 44b4be7 commit 14cc7ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions third_party/ibis/ibis_oracle/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ def do_connect(
def connect(dbapi_connection, connection_record):
with dbapi_connection.cursor() as cur:
cur.execute("ALTER SESSION SET TIME_ZONE='UTC'")
# Standardise numeric formatting on en_US (issue 1033).
cur.execute("ALTER SESSION SET NLS_NUMERIC_CHARACTERS='.,'")

super().do_connect(engine)

Expand Down

0 comments on commit 14cc7ef

Please sign in to comment.