You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Interruptible Query Execution in Jupyter via KeyboardInterrupt Support (#1141)
* fix: enhance error handling in async wait_for_future function
* feat: implement async execution for execution plans in PySessionContext
* fix: improve error message for execution failures in PySessionContext
* fix: enhance error handling and improve execution plan retrieval in PyDataFrame
* fix: ensure 'static lifetime for futures in wait_for_future function
* fix: handle potential errors when caching DataFrame and retrieving execution plan
* fix: flatten batches in PyDataFrame to ensure proper schema conversion
* fix: correct error handling in batch processing for schema conversion
* fix: flatten nested structure in PyDataFrame to ensure proper RecordBatch iteration
* fix: improve error handling in PyDataFrame stream execution
* fix: add utility to get Tokio Runtime with time enabled and update wait_for_future to use it
* fix: store result of converting RecordBatches to PyArrow for debugging
* fix: handle error from wait_for_future in PyDataFrame collect method
* fix: propagate error from wait_for_future in collect_partitioned method
* fix: enable IO in Tokio runtime with time support
* main register_listing_table
* Revert "main register_listing_table"
This reverts commit 52a5efe.
* fix: propagate error correctly from wait_for_future in PySessionContext methods
* fix: simplify error handling in PySessionContext by unwrapping wait_for_future result
* test: add interruption handling test for long-running queries in DataFusion
* test: move test_collect_interrupted to test_dataframe.py
* fix: add const for interval in wait_for_future utility
* fix: use get_tokio_runtime instead of the custom get_runtime
* Revert "fix: use get_tokio_runtime instead of the custom get_runtime"
This reverts commit ca2d892.
* fix: use get_tokio_runtime instead of the custom get_runtime
* .
* Revert "."
This reverts commit b8ce3e4.
* fix: improve query interruption handling in test_collect_interrupted
* fix: ensure proper handling of query interruption in test_collect_interrupted
* fix: improve error handling in database table retrieval
* refactor: add helper for async move
* Revert "refactor: add helper for async move"
This reverts commit faabf6d.
* move py_err_to_datafusion_err to errors.rs
* add create_csv_read_options
* fix
* create_csv_read_options -> PyDataFusionResult
* revert to before create_csv_read_options
* refactor: simplify file compression type parsing in PySessionContext
* fix: parse_compression_type once only
* add create_ndjson_read_options
* refactor comment for clarity in wait_for_future function
* refactor wait_for_future to avoid spawn
* remove unused py_err_to_datafusion_err function
* add comment to clarify error handling in next method of PyRecordBatchStream
* handle error from wait_for_future in PySubstraitSerializer
* clarify comment on future pinning in wait_for_future function
* refactor wait_for_future to use Duration for signal check interval
* handle error from wait_for_future in count method of PyDataFrame
* fix ruff errors
* fix clippy errors
* remove unused get_and_enter_tokio_runtime function and simplify wait_for_future
* Refactor async handling in PySessionContext and PyDataFrame
- Simplified async handling by removing unnecessary cloning of strings and context in various methods.
- Streamlined the use of `wait_for_future` to directly handle futures without intermediate variables.
- Improved error handling by directly propagating results from futures.
- Enhanced readability by reducing boilerplate code in methods related to reading and writing data.
- Updated the `wait_for_future` function to improve signal checking and future handling.
* Organize imports in utils.rs for improved readability
* map_err instead of panic
* Fix error handling in async stream execution for PySessionContext and PyDataFrame
0 commit comments