Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error codes in tests #365

Merged
merged 1 commit into from
Jun 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions test_container/tests/test/pandas/all/emit_dtypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),

]

Expand Down