wirybeaver commented on code in PR #119:
URL: https://github.com/apache/datafusion-java/pull/119#discussion_r4654709343


##########
core/src/main/java/org/apache/datafusion/TableProvider.java:
##########
@@ -54,6 +67,35 @@ public interface TableProvider {
    * equal {@link #schema()}. The reader's buffers MUST be allocated from 
{@code allocator} (or from
    * a child of it) — the framework needs the reader's allocator hierarchy to 
share a root with the
    * one it passes here. The allocator contract mirrors the one on {@link 
ScalarFunction#evaluate}.
+   *
+   * <p>Providers that implement only {@link #scanWithArgs(ScanArgs)} may 
leave this method
+   * unsupported.
+   */
+  default ArrowReader scan(BufferAllocator allocator) {

Review Comment:
   Done. `scan` is abstract again, and `scanWithArgs` still delegates to it by 
default.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to