关注 spark技术分享,
撸spark源码 玩spark最佳实践

SubExprUtils Helper Object

SubExprUtils Helper Object

SubExprUtils is a Scala object that is used for…​FIXME

SubExprUtils uses PredicateHelper for…​FIXME

Checking If Condition Expression Has Any Null-Aware Predicate Subqueries Inside Not — hasNullAwarePredicateWithinNot Method

hasNullAwarePredicateWithinNot splits conjunctive predicates (i.e. expressions separated by And expression).

hasNullAwarePredicateWithinNot is positive (i.e. true) and is considered to have a null-aware predicate subquery inside a Not expression when conjuctive predicate expressions include a Not expression with an In predicate expression with a ListQuery subquery expression.

hasNullAwarePredicateWithinNot is negative (i.e. false) for all the other expressions and in particular the following expressions:

  1. Exists predicate subquery expressions

  2. Not expressions with a Exists predicate subquery expression as the child expression

  3. In expressions with a ListQuery subquery expression as the list expression

  4. Not expressions with a In expression (with a ListQuery subquery expression as the list expression)

Note
hasNullAwarePredicateWithinNot is used exclusively when CheckAnalysis analysis validation is requested to validate analysis of a logical plan (with Filter logical operators).
赞(0) 打赏
未经允许不得转载:spark技术分享 » SubExprUtils Helper Object
分享到: 更多 (0)

关注公众号:spark技术分享

联系我们联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏