Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(table_commands): create table before copy_into #21

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dbxio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
from dbxio.utils import * # noqa: F403
from dbxio.volume import * # noqa: F403

__version__ = '0.5.0' # single source of truth
__version__ = '0.5.1' # single source of truth
2 changes: 2 additions & 0 deletions dbxio/delta/table_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ def bulk_write_table(
replace=True,
)
else:
create_table(dbxio_table, client=client).wait()
copy_into_table(
client=client,
table=dbxio_table,
Expand Down Expand Up @@ -375,6 +376,7 @@ def bulk_write_local_files(
replace=True,
)
else:
create_table(table, client=client).wait()
copy_into_table(
client=client,
table=table,
Expand Down