diff --git a/src/databricks/sql/utils.py b/src/databricks/sql/utils.py index 6b4868d2..f6ec3893 100644 --- a/src/databricks/sql/utils.py +++ b/src/databricks/sql/utils.py @@ -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