IvanVergiliev commented on issue #24068: [SPARK-27105][SQL] Optimize away 
exponential complexity in ORC predicate conversion
URL: https://github.com/apache/spark/pull/24068#issuecomment-474501284
 
 
   `ExpressionTree` is a public class, but it doesn’t expose any public 
constructors so we can’t instantiate it without reflection or the like.
   
   The way I understand this is:
   - some parts of the hive codebase work with the ExpressionTree directly so 
the class is public;
   - however, the builder performs a bunch of optimizations on the tree, which 
appears to be the reason one can’t just directly create an `ExpressionTree` (so 
that the SearchArgument always has the builder transformations).

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to