Skip to content

Commit

Permalink
Experiment with setting the value to None rather than "NULL"
Browse files Browse the repository at this point in the history
Signed-off-by: Jesse Whitehouse <[email protected]>
  • Loading branch information
Jesse Whitehouse committed Sep 28, 2023
1 parent e55c511 commit 066b5df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/databricks/sql/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ def infer_types(params: list[DbSqlParameter]):
param.type = DbsqlDynamicDecimalType(cast_exp)

if param.type == DbSqlType.VOID and param.value == None:
param.value = "NULL"
param.value = None
else:
param.value = str(param.value)
return new_params
Expand Down

0 comments on commit 066b5df

Please sign in to comment.