kevinjqliu commented on issue #1491: URL: https://github.com/apache/iceberg-python/issues/1491#issuecomment-2575710490
I've recreated this example from https://github.com/apache/arrow/issues/33049 and was able to `append` successfully. ``` import numpy as np import pyarrow as pa from pyiceberg.catalog.sql import SqlCatalog # Create a large string x = str(np.random.randint(low=0, high=1000, size=(30000,)).tolist()) t = pa.chunked_array([x] * 20_000) # Create pa.table arrow_table = pa.table({"a": t}) warehouse_path = "/tmp/warehouse" catalog = SqlCatalog( "default", uri=f"sqlite:///{warehouse_path}/pyiceberg_catalog.db", warehouse=f"file://{warehouse_path}", ) catalog.create_namespace_if_not_exists("default") try: catalog.drop_table("default.locations") except: pass table = catalog.create_table("default.locations", arrow_table.schema) table.append(arrow_table) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org