You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "sydt (JIRA)" <ji...@apache.org> on 2017/03/04 01:04:45 UTC
[jira] [Commented] (SPARK-19811) sparksql 2.1 can not prune hive
partition
[ https://issues.apache.org/jira/browse/SPARK-19811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15895346#comment-15895346 ]
sydt commented on SPARK-19811:
------------------------------
this is not a problem because it can be resolved by change partition information "DAY_ID='20170212' AND PROV_ID ='842'" to lower spell.
> sparksql 2.1 can not prune hive partition
> ------------------------------------------
>
> Key: SPARK-19811
> URL: https://issues.apache.org/jira/browse/SPARK-19811
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.1.0
> Reporter: sydt
>
> When sparksql2.1 execute sql, it has error:
> java.lang.RuntimeException: Expected only partition pruning predicates: (isnotnull(DAY_ID#216) && (DAY_ID#216 = 20170212)) and the sql sentence is
> select PROD_INST_ID from CRM_DB.ITG_PROD_INST WHERE DAY_ID='20170212' AND PROV_ID ='842' limit 10; where DAY_ID and PROVE_ID is partition in hive.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org