YannByron commented on PR #2411:
URL: 
https://github.com/apache/incubator-paimon/pull/2411#issuecomment-1830005556

   Once paimon supports `SupportsRuntimeFiltering` to enable dynamic partition 
pruning, spark requires that the DPP expression must have the same result (see 
`sameResult` interface in `QueryPlan`) as one `BroadcastExchange` plan. Then 
`sameResult` will call `BatchExecScan`'s equals method indirectly.
   
   ```
     override def equals(other: Any): Boolean = other match {
       case other: BatchScanExec =>
         this.batch == other.batch && this.runtimeFilters == 
other.runtimeFilters
       case _ =>
         false
     }
   ```
   
   Here. this `batch` is paimon implementation of `Batch`, so we need to  
override `equals` methods related to `Batch`.


-- 
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