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: [email protected]

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

Reply via email to