Skip to content

Commit 8465361

Browse files
committed
Accept pandas string dtype in ORC integration test
1 parent ee64441 commit 8465361

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/integration/test_writes/test_writes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ def test_spark_writes_orc_pyiceberg_reads(spark: SparkSession, session_catalog:
768768

769769
# Verify PyIceberg data types are correct
770770
assert pyiceberg_df["id"].dtype == "int64"
771-
assert pyiceberg_df["name"].dtype == "object" # string
771+
assert pd.api.types.is_string_dtype(pyiceberg_df["name"].dtype)
772772
assert pyiceberg_df["age"].dtype == "int64"
773773
assert pyiceberg_df["is_active"].dtype == "bool"
774774

0 commit comments

Comments
 (0)