You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@auron.apache.org by "guixiaowen (via GitHub)" <gi...@apache.org> on 2025/10/10 14:12:26 UTC

[I] Optimize the addition of EmptyNativeRDD extending NativeRDD [auron]

guixiaowen opened a new issue, #1431:
URL: https://github.com/apache/auron/issues/1431

   Add `EmptyNativeRDD` extending `NativeRDD`. 
   
   The characteristics of `EmptyNativeRDD` are:
    1. it extends `NativeRDD`; 
    2. `rddPartitions` is empty; 
    3. calling the `compute` method will throw an exception.
   
   The purpose of `EmptyNativeRDD` is: 
   1. Flexible placeholder, simplifying DAG construction, reducing code complexity, and keeping the DAG structure complete; 
   2. Reduces redundant implementations, achieving a clearer inheritance structure.
   
   
   Scenarios for using `EmptyNativeRDD`: 
   1. When `NativeParquetScan` generates a `NativeRDD`, if `filePartitions` is 0, an `EmptyNativeRDD` is created; 
   2. When `NativeOrcScan` generates a `NativeRDD`, if `filePartitions` is 0, an `EmptyNativeRDD` is created.
   


-- 
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: commits-unsubscribe@auron.apache.org.apache.org

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


Re: [I] Add EmptyNativeRDD extending NativeRDD [auron]

Posted by "zuston (via GitHub)" <gi...@apache.org>.
zuston closed issue #1431: Add EmptyNativeRDD extending NativeRDD
URL: https://github.com/apache/auron/issues/1431


-- 
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: commits-unsubscribe@auron.apache.org

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