You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yin Huai (JIRA)" <ji...@apache.org> on 2016/08/11 04:33:21 UTC
[jira] [Commented] (SPARK-16670) Partition pruning doesn't work
when queries contain disjunctions involving partition columns
[ https://issues.apache.org/jira/browse/SPARK-16670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15416538#comment-15416538 ]
Yin Huai commented on SPARK-16670:
----------------------------------
My bad. I meant to use {{(part = 2 OR part = 3) AND value < 100}} instead of {{part = 2 OR part = 3 AND value < 100}}. For {{(part = 2 OR part = 3) AND value < 100}}, partitioning pruning already works as expected. I am closing it.
> Partition pruning doesn't work when queries contain disjunctions involving partition columns
> --------------------------------------------------------------------------------------------
>
> Key: SPARK-16670
> URL: https://issues.apache.org/jira/browse/SPARK-16670
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Yin Huai
> Attachments: SPARK-16670.html
>
>
> Seems we cannot prune partitions if we have a disjunctive predicate containing two predicates on partition columns.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org