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

jirapos...@reviews.apache.org commented on HIVE-1937:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/707/
-----------------------------------------------------------

Review request for hive.


Summary
-------

this patch resets reservedPartitioinValues every time DDLSemanticAnalyzer got 
initialized. 


This addresses bug HIVE-1937.
    https://issues.apache.org/jira/browse/HIVE-1937


Diffs
-----

  trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java 
1101312 
  trunk/ql/src/test/queries/clientnegative/default_partition_name.q 
PRE-CREATION 
  trunk/ql/src/test/queries/clientpositive/default_partition_name.q 
PRE-CREATION 
  trunk/ql/src/test/results/clientnegative/default_partition_name.q.out 
PRE-CREATION 
  trunk/ql/src/test/results/clientpositive/default_partition_name.q.out 
PRE-CREATION 

Diff: https://reviews.apache.org/r/707/diff


Testing
-------


Thanks,

Ning



> DDLSemanticAnalyzer won't take newly set Hive parameters
> --------------------------------------------------------
>
>                 Key: HIVE-1937
>                 URL: https://issues.apache.org/jira/browse/HIVE-1937
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ning Zhang
>            Assignee: Ning Zhang
>         Attachments: HIVE-1937.2.patch, HIVE-1937.3.patch, HIVE-1937.patch
>
>
> Hive DDLSemanticAnalyzer maintains a static reservedPartitionValue set whose 
> values come from several Hive parameters. However even if these parameters 
> are set to new values, the reservedPartitionValue are not changed. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to