GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — feat: query cancellation via `CancellationToken` on `SessionContext` · Issue #68 · apache/datafusion-java Labels enhancementNew feature or requestNew feature or request DescriptionIs your feature request related to a problem or challenge?A long-running For any embedder running multi-tenant workloads — request timeouts, user-cancel actions, node shutdown, leader-election handover — this is a hard operational gap. The OpenSearch analytics backend ( This is complementary to issue #40 (close()/JNI use-after-free race) but distinct: #40 is about safely tearing down a finished handle; this is about signalling an in-flight future to stop. Both eventually share the atomic-handle scaffolding from #40's option 2, so coordination is worthwhile, but the surface lands cleanly without #40 having to merge first. Describe the solution you'd likeA token-based cancellation API on v1 surfacetry (SessionContext ctx = new SessionContext(); CancellationToken token = ctx.newCancellationToken(); DataFrame df = ctx.sql("SELECT ... FROM big_table")) { Future<ArrowReader> fut = pool.submit(() -> df.collect(allocator, token)); // from another thread (timeout watcher, user-cancel handler, ...): token.cancel(); // fut completes with CancellationException } New methods:
Describe alternatives you've consideredNo response Additional contextOut of scope
Activity
MetadataMetadataAssigneesLabelsenhancementNew feature or requestNew feature or request TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |