mbutrovich commented on code in PR #2168:
URL: https://github.com/apache/datafusion-comet/pull/2168#discussion_r2282724636


##########
spark/src/main/java/org/apache/comet/CometBatchIterator.java:
##########
@@ -26,13 +26,45 @@
 import org.apache.comet.vector.NativeUtil;
 
 /**
- * An iterator that can be used to get batches of Arrow arrays from a Spark 
iterator of
- * ColumnarBatch. It will consume input iterator and return Arrow arrays by 
addresses. This is
- * called by native code to retrieve Arrow arrays from Spark through JNI.
+ * A Java adapter iterator that provides batch-by-batch Arrow array access for 
native code
+ * consumption. This class serves as a bridge between Spark's ColumnarBatch 
format and native
+ * DataFusion execution.
+ *
+ * <h2>Architecture Role</h2>
+ *
+ * CometBatchIterator acts as a pull-based data source for native execution:
+ *
+ * <ul>

Review Comment:
   Is HTML typical in Java documentation?



-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to