- Notifications
You must be signed in to change notification settings - Fork126
Download Manager: Stop shutdown in case of empty download tasks Queue#641
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Open
varun-edachali-dbx wants to merge78 commits intomainChoose a base branch fromless-defensive-download
base:main
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
+209 −110
Open
Changes fromall commits
Commits
Show all changes
78 commits Select commitHold shift + click to select a range
5bf5d4c Separate Session related functionality from Connection class (#571)
varun-edachali-dbx400a8bd Introduce Backend Interface (DatabricksClient) (#573)
varun-edachali-dbx3c78ed7 Implement ResultSet Abstraction (backend interfaces for fetch phase) …
varun-edachali-dbx9625229 Introduce Sea HTTP Client and test script (#583)
varun-edachali-dbx0887bc1 Introduce `SeaDatabricksClient` (Session Implementation) (#582)
varun-edachali-dbx6d63df0 Normalise Execution Response (clean backend interfaces) (#587)
varun-edachali-dbxba8d9fd Introduce models for `SeaDatabricksClient` (#595)
varun-edachali-dbxbb3f15a Introduce preliminary SEA Result Set (#588)
varun-edachali-dbx19f1fae Merge branch 'main' into sea-migration
varun-edachali-dbx6c5ba6d remove invalid ExecuteResponse import
varun-edachali-dbx5e5147b Separate Session related functionality from Connection class (#571)
varun-edachali-dbx57370b3 Introduce Backend Interface (DatabricksClient) (#573)
varun-edachali-dbx75752bf Implement ResultSet Abstraction (backend interfaces for fetch phase) …
varun-edachali-dbx450b80d remove un-necessary initialisation assertions
varun-edachali-dbxa926f02 remove un-necessary line break s
varun-edachali-dbx55ad001 more un-necessary line breaks
varun-edachali-dbxfa15730 constrain diff of test_closing_connection_closes_commands
varun-edachali-dbx019c7fb reduce diff of test_closing_connection_closes_commands
varun-edachali-dbx726abe7 use pytest-like assertions for test_closing_connection_closes_commands
varun-edachali-dbxbf6d41c ensure command_id is not None
varun-edachali-dbx5afa733 line breaks after multi-line pyfocs
varun-edachali-dbxe3dfd36 ensure non null operationHandle for commandId creation
varun-edachali-dbx63360b3 use command_id methods instead of explicit guid_to_hex_id conversion
varun-edachali-dbx13ffb8d remove un-necessary artifacts in test_session, add back assertion
varun-edachali-dbxa74d279 Implement SeaDatabricksClient (Complete Execution Spec) (#590)
varun-edachali-dbxd759050 add from __future__ import annotations to remove string literals arou…
varun-edachali-dbx1e21434 move docstring of DatabricksClient within class
varun-edachali-dbxcd4015b move ThriftResultSet import to top of file
varun-edachali-dbxed8b610 make backend/utils __init__ file empty
varun-edachali-dbx94d951e use from __future__ import annotations to remove string literals arou…
varun-edachali-dbxc20058e use lazy logging
varun-edachali-dbxfe3acb1 replace getters with property tag
varun-edachali-dbx9fb6a76 Merge branch 'main' into backend-refactors
varun-edachali-dbx61dfc4d set active_command_id to None, not active_op_handle
varun-edachali-dbx64fb9b2 align test_session with pytest instead of unittest
varun-edachali-dbxcbf63f9 Merge branch 'main' into sea-migration
varun-edachali-dbx59b4825 remove duplicate test, correct active_command_id attribute
varun-edachali-dbxe380654 SeaDatabricksClient: Add Metadata Commands (#593)
varun-edachali-dbx677a7b0 SEA volume operations fix: assign `manifest.is_volume_operation` to `…
varun-edachali-dbx45585d4 Introduce manual SEA test scripts for Exec Phase (#589)
varun-edachali-dbx70c7dc8 Complete Fetch Phase (for `INLINE` disposition and `JSON_ARRAY` forma…
varun-edachali-dbxabf9aab Merge branch 'main' into sea-migration
varun-edachali-dbx9b4b606 Merge branch 'main' into backend-refactors
varun-edachali-dbx4f11ff0 Introduce `row_limit` param (#607)
varun-edachali-dbx45f5c26 Merge branch 'main' into backend-refactors
varun-edachali-dbx2c9368a formatting (black)
varun-edachali-dbx9b1b1f5 remove repetition from Session.__init__
varun-edachali-dbx77e23d3 Merge branch 'backend-refactors' into sea-migration
varun-edachali-dbx3bd3aef fix merge artifacts
varun-edachali-dbx6d4701f correct patch paths
varun-edachali-dbxdc1cb6d fix type issues
varun-edachali-dbx5d04cd0 Merge branch 'main' into sea-migration
varun-edachali-dbx922c448 explicitly close result queue
varun-edachali-dbx1a0575a Complete Fetch Phase (`EXTERNAL_LINKS` disposition and `ARROW` format…
varun-edachali-dbxc07beb1 SEA Session Configuration Fix: Explicitly convert values to `str` (#…
varun-edachali-dbx640cc82 SEA: add support for `Hybrid` disposition (#631)
varun-edachali-dbx8fbca9d SEA: Reduce network calls for synchronous commands (#633)
varun-edachali-dbx806e5f5 SEA: Decouple Link Fetching (#632)
varun-edachali-dbx2bb8328 make download manager less defensive
varun-edachali-dbxac52428 pa is not defined
varun-edachali-dbx746df87 skip some pyarrow dependent tests if no pa
varun-edachali-dbxe11c065 notify listeners on scheduling downloads
varun-edachali-dbx3c1ff9b ensure total links is maintained
varun-edachali-dbx4b0f483 acquite download_condition lock
varun-edachali-dbxfeb387a acquite lock before notifying
varun-edachali-dbxb57c3f3 Chunk download latency (#634)
saishreeeee57f8e48 constrain calls to get_next_downloaded_file
varun-edachali-dbx7872e18 Merge branch 'sea-migration' into less-defensive-download
varun-edachali-dbx620906b formatting
varun-edachali-dbxef5836b acquire lock before notif + formatting (black)
varun-edachali-dbx4bb213c remove redundant docstring
varun-edachali-dbxcd8389f Merge branch 'sea-migration' into less-defensive-download
varun-edachali-dbxaab8ce5 Merge branch 'main' into less-defensive-download
varun-edachali-dbx62ed2a2 description, partial results (small fixes)
varun-edachali-dbxefe5e82 random newline remove
varun-edachali-dbx21b4631 remove duplicate defn
varun-edachali-dbxb8cce65 Merge branch 'main' into less-defensive-download
varun-edachali-dbx345a9fc reduce diff
varun-edachali-dbxFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
6 changes: 3 additions & 3 deletionssrc/databricks/sql/backend/sea/queue.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
28 changes: 18 additions & 10 deletionssrc/databricks/sql/cloudfetch/download_manager.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
55 changes: 23 additions & 32 deletionssrc/databricks/sql/utils.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.