mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-12-20 11:44:26 +00:00
14 lines
223 B
Python
14 lines
223 B
Python
|
|
from deltalake import DeltaTable
|
||
|
|
|
||
|
|
|
||
|
|
def run_check():
|
||
|
|
delta_table = DeltaTable(
|
||
|
|
table_uri="/tmp/delta-table-dest",
|
||
|
|
)
|
||
|
|
|
||
|
|
assert len(delta_table.to_pandas()) == 10
|
||
|
|
|
||
|
|
|
||
|
|
if __name__ == "__main__":
|
||
|
|
run_check()
|