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

wan kun commented on HIVE-17985:
--------------------------------

Hi [~kgyrtkirk] ,thank you for you reply!
I have reproduce this issue with qtest table srcpart.

{code:sql}
set hive.limit.query.max.table.partition=1;

CREATE TABLE srcpart_like (key STRING COMMENT 'default', value STRING COMMENT 
'default')
PARTITIONED BY (ds STRING, hr STRING)
STORED AS TEXTFILE;

INSERT OVERWRITE TABLE srcpart_like PARTITION (ds='2008-04-08', hr='12')
select key,value from srcpart;
{code}

> When check the partitions size in the partitioned table, it will throw  
> NullPointerException
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-17985
>                 URL: https://issues.apache.org/jira/browse/HIVE-17985
>             Project: Hive
>          Issue Type: Bug
>          Components: Parser, Physical Optimizer
>    Affects Versions: 1.2.2, 2.3.0, 3.0.0
>            Reporter: wan kun
>            Assignee: wan kun
>             Fix For: 3.0.0
>
>         Attachments: HIVE-17985-branch-1.2.patch, 
> HIVE-17985-branch-2.3.patch, HIVE-17985.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When the hive.limit.query.max.table.partition parameter is set, the 
> SemanticAnalyzer will throw NullPointerException.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to