diff --git a/lib/dl_connector_clickhouse/dl_connector_clickhouse/formula/definitions/functions_array.py b/lib/dl_connector_clickhouse/dl_connector_clickhouse/formula/definitions/functions_array.py index 1f39bae68..255554e84 100644 --- a/lib/dl_connector_clickhouse/dl_connector_clickhouse/formula/definitions/functions_array.py +++ b/lib/dl_connector_clickhouse/dl_connector_clickhouse/formula/definitions/functions_array.py @@ -148,7 +148,7 @@ base.FuncFloatArrayFromFloatArray.for_dialect(D.CLICKHOUSE), base.FuncFloatArrayFromStringArray( variants=[ - V(D.CLICKHOUSE, lambda array: sa.func.arrayMap(Lambda(lambda x: sa.func.toFloat64OrNull(x)), array)), + V(D.CLICKHOUSE, lambda array: sa.func.arrayMap(Lambda(lambda x: sa.func.toFloat64(x)), array)), ] ), # cast_arr_int @@ -160,7 +160,7 @@ ), base.FuncIntArrayFromStringArray( variants=[ - V(D.CLICKHOUSE, lambda array: sa.func.arrayMap(Lambda(lambda x: sa.func.toInt64OrNull(x)), array)), + V(D.CLICKHOUSE, lambda array: sa.func.arrayMap(Lambda(lambda x: sa.func.toInt64(x)), array)), ] ), # cast_arr_str