From 81ba49e3dd9ed5d0ade6596d2780f77a4a1f474f Mon Sep 17 00:00:00 2001 From: Torsten Kilias Date: Thu, 1 Jun 2023 11:29:42 +0200 Subject: [PATCH] Fix error code in tests --- test_container/tests/test/pandas/all/emit_dtypes.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test_container/tests/test/pandas/all/emit_dtypes.py b/test_container/tests/test/pandas/all/emit_dtypes.py index 774e0bc57..de30e3589 100755 --- a/test_container/tests/test/pandas/all/emit_dtypes.py +++ b/test_container/tests/test/pandas/all/emit_dtypes.py @@ -298,15 +298,15 @@ def setUp(self): #("object", "DECIMAL(10,5)", nan_dataframe_value_str, None, False), # Fails with VM error: [22018] invalid character value for cast; Value: 'nan' ("string", "VARCHAR(2000000)", nan_dataframe_value_str, nan_expected_rows, False), - ("object", "VARCHAR(2000000)", nan_dataframe_value_str, ".*PYTHON-1068: emit column 0 of type STRING but data given have type py_float.*", False), + ("object", "VARCHAR(2000000)", nan_dataframe_value_str, ".*PYTHON-1140: emit column 0 of type STRING but data given have type py_float.*", False), ("bool_", "boolean", nan_dataframe_value_str, nan_expected_rows_bool_, False), ("boolean", "boolean", nan_dataframe_value_str, nan_expected_rows, False), - ("object", "boolean", nan_dataframe_value_str, ".*F-UDF-CL-SL-PYTHON-1068: emit column 0 of type BOOLEAN but data given have type py_float.*", False), + ("object", "boolean", nan_dataframe_value_str, ".*F-UDF-CL-SL-PYTHON-1140: emit column 0 of type BOOLEAN but data given have type py_float.*", False), ("datetime64[ns]", "timestamp", nan_dataframe_value_str, nan_expected_rows, False), - ("object", "timestamp", nan_dataframe_value_str, ".*F-UDF-CL-SL-PYTHON-1068: emit column 0 of type TIMESTAMP but data given have type py_float.*", False), - ("object", "DATE", nan_dataframe_value_str, ".*F-UDF-CL-SL-PYTHON-1068: emit column 0 of type DATE but data given have type py_float.*", False), + ("object", "timestamp", nan_dataframe_value_str, ".*F-UDF-CL-SL-PYTHON-1140: emit column 0 of type TIMESTAMP but data given have type py_float.*", False), + ("object", "DATE", nan_dataframe_value_str, ".*F-UDF-CL-SL-PYTHON-1140: emit column 0 of type DATE but data given have type py_float.*", False), ]