Closed FANNG1 closed 1 month ago
fixes: #644
DataFusion expressions and Iceberg predicates do not have a one-to-one correspondence.
Expr
And
Or
This disparity complicates the transformation process when using TreeNode. To address this, I also refactored the code to simplify it.
TreeNode
@liurenjie1024 @Xuanwo @sdd @a-agmon please help to review when you are free, thanks
thanks @sdd @a-agmon @Xuanwo for the reviewing.
fixes: #644
DataFusion expressions and Iceberg predicates do not have a one-to-one correspondence.
Expr
in DataFusion, whereas they are merely components of predicates in Iceberg.And
andOr
are operators in DataFusion, but they are treated as predicates in Iceberg.This disparity complicates the transformation process when using
TreeNode
. To address this, I also refactored the code to simplify it.