Skip to content

Commit

Permalink
Fix datagen for forward compat tests
Browse files Browse the repository at this point in the history
  • Loading branch information
westonpace committed Sep 9, 2024
1 parent b27cdbd commit c89efd5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/python/tests/forward_compat/datagen.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def build_basic_types():
def write_basic_types():
path = get_path("basic_types.lance")
with LanceFileWriter(str(path)) as writer:
writer.write_table(build_basic_types())
writer.write_batch(build_basic_types())


def build_large():
Expand Down Expand Up @@ -89,7 +89,7 @@ def build_large():
def write_large():
path = get_path("large.lance")
with LanceFileWriter(str(path)) as writer:
writer.write_table(build_large())
writer.write_batch(build_large())


if __name__ == "__main__":
Expand Down
3 changes: 3 additions & 0 deletions test_data/forward_compat/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Ignore all files in this directory
*
!.gitignore

0 comments on commit c89efd5

Please sign in to comment.