Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jprakash-db committed Sep 20, 2024
1 parent 146b8c7 commit 37015c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/databricks/sql/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,11 +617,11 @@ def convert_to_assigned_datatypes_in_column_table(column_table, description):
if description[i][1] == "decimal":
converted_column_table.append(tuple(v if v is None else Decimal(v) for v in col))
elif description[i][1] == "date":
converted_column_table[i].append(tuple(
converted_column_table.append(tuple(
v if v is None else datetime.date.fromisoformat(v) for v in col
))
elif description[i][1] == "timestamp":
converted_column_table[i].append(tuple(
converted_column_table.append(tuple(
(
v
if v is None
Expand Down

0 comments on commit 37015c6

Please sign in to comment.