We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9befbaa commit b7b5ba1Copy full SHA for b7b5ba1
1 file changed
tests/integration/test_reads.py
@@ -344,6 +344,15 @@ def test_daft_nan_rewritten(catalog: Catalog) -> None:
344
assert math.isnan(df.to_pydict()["col_numeric"][0])
345
346
347
+@pytest.mark.integration
348
+@pytest.mark.parametrize("catalog", [pytest.lazy_fixture("session_catalog_hive"), pytest.lazy_fixture("session_catalog")])
349
+def test_bodo_nan(catalog: Catalog) -> None:
350
+ table_test_null_nan_rewritten = catalog.load_table("default.test_null_nan_rewritten")
351
+ df = table_test_null_nan_rewritten.to_bodo()
352
+ assert len(df) == 3
353
+ assert math.isnan(df.col_numeric.iloc[0])
354
+
355
356
@pytest.mark.integration
357
@pytest.mark.filterwarnings("ignore")
358
@pytest.mark.parametrize("catalog", [pytest.lazy_fixture("session_catalog_hive"), pytest.lazy_fixture("session_catalog")])
0 commit comments