[ 
https://issues.apache.org/jira/browse/HIVE-10091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14382184#comment-14382184
 ] 

Alan Gates commented on HIVE-10091:
-----------------------------------

The filter going into the query is
{code}
 where store_sales.ss_sold_date_sk = date_dim.d_date_sk and
       store_sales.ss_item_sk = item.i_item_sk and
       store_sales.ss_store_sk = store.s_store_sk and
       store_sales.ss_cdemo_sk = customer_demographics.cd_demo_sk and
       customer_demographics.cd_gender = 'F' and
       customer_demographics.cd_marital_status = 'D' and
       customer_demographics.cd_education_status = 'Unknown' and
       date_dim.d_year = 1998 and
       store.s_state in ('KS','AL', 'MN', 'AL', 'SC', 'VT', 'TN')
{code}

And I see in the logs
{code}
metastore.PartFilterExprUtil (PartFilterExprUtil.java:makeExpressionTree(99)) - 
Unable to make the expression tree from expression string [(((null and 
ss_sold_date_sk is not null) and null) and null)]Error parsing partition 
filter; lexer error: null; exception NoViableAltException(11@[])
{code}

> Generate Hbase execution plan for partition filter conditions in HbaseStore 
> api calls - initial changes
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-10091
>                 URL: https://issues.apache.org/jira/browse/HIVE-10091
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Metastore
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: hbase-metastore-branch
>
>         Attachments: HIVE-10091.1.patch, HIVE-10091.2.patch
>
>
> RawStore functions that support partition filtering are the following - 
> getPartitionsByExpr
> getPartitionsByFilter (takes filter string as argument, used from hcatalog)
> We need to generate a query execution plan in terms of Hbase scan api calls 
> for a given filter condition.
> NO PRECOMMIT TESTS



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to