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

Support Empty Table Sharing with Kernel #535

Merged
merged 6 commits into from
Jul 26, 2024

Conversation

pranavsuku-db
Copy link
Collaborator

Support query of tables with no data (includes LIMIT 0 queries)

@@ -146,11 +150,20 @@ def __to_pandas_kernel(self):
# Close the file
json_file.close()

if (num_files > DeltaSharingReader.FILE_NUMBER_WARNING_THRESH):
print("Warning: Queries with a large number of files take a large ammount of time")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@linzhou-db is there a better way to display the warning to the user?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as discussed offline, we don't need this.

Copy link
Collaborator

@linzhou-db linzhou-db left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, let's remove the warning.

@@ -146,11 +150,20 @@ def __to_pandas_kernel(self):
# Close the file
json_file.close()

if (num_files > DeltaSharingReader.FILE_NUMBER_WARNING_THRESH):
print("Warning: Queries with a large number of files take a large ammount of time")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as discussed offline, we don't need this.

@pranavsuku-db pranavsuku-db merged commit a6b1767 into main Jul 26, 2024
10 checks passed
@pranavsuku-db pranavsuku-db deleted the pranavsuku-db-share-empty-table-kernel branch July 26, 2024 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants