[jira] [Commented] (HIVE-1362) column level statistics

2012-11-06 Thread Namit Jain (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13491339#comment-13491339
 ] 

Namit Jain commented on HIVE-1362:
--

Fine with me.

@Carl, do you have any additional comments ?
If not, can you take care of committing it ?

 column level statistics
 ---

 Key: HIVE-1362
 URL: https://issues.apache.org/jira/browse/HIVE-1362
 Project: Hive
  Issue Type: Sub-task
  Components: Statistics
Reporter: Ning Zhang
Assignee: Shreepadma Venugopalan
 Attachments: HIVE-1362.10.patch.txt, HIVE-1362.1.patch.txt, 
 HIVE-1362.2.patch.txt, HIVE-1362.3.patch.txt, HIVE-1362.4.patch.txt, 
 HIVE-1362.5.patch.txt, HIVE-1362.6.patch.txt, HIVE-1362.7.patch.txt, 
 HIVE-1362.8.patch.txt, HIVE-1362.9.patch.txt, HIVE-1362.D6339.1.patch, 
 HIVE-1362_gen-thrift.10.patch.txt, HIVE-1362-gen_thrift.1.patch.txt, 
 HIVE-1362-gen_thrift.2.patch.txt, HIVE-1362-gen_thrift.3.patch.txt, 
 HIVE-1362-gen_thrift.4.patch.txt, HIVE-1362-gen_thrift.5.patch.txt, 
 HIVE-1362-gen_thrift.6.patch.txt, HIVE-1362_gen-thrift.7.patch.txt, 
 HIVE-1362_gen-thrift.8.patch.txt, HIVE-1362_gen-thrift.9.patch.txt




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-3675) NaN does not work correctly for round(n)

2012-11-06 Thread Namit Jain (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13491349#comment-13491349
 ] 

Namit Jain commented on HIVE-3675:
--

https://reviews.facebook.net/D6507

 NaN does not work correctly for round(n)
 

 Key: HIVE-3675
 URL: https://issues.apache.org/jira/browse/HIVE-3675
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Reporter: Namit Jain
Assignee: Namit Jain
 Fix For: 0.10.0

 Attachments: hive.3675.1.patch


 It works correctly for round(n, d)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3675) NaN does not work correctly for round(n)

2012-11-06 Thread Namit Jain (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Namit Jain updated HIVE-3675:
-

Status: Patch Available  (was: Open)

 NaN does not work correctly for round(n)
 

 Key: HIVE-3675
 URL: https://issues.apache.org/jira/browse/HIVE-3675
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Reporter: Namit Jain
Assignee: Namit Jain
 Fix For: 0.10.0

 Attachments: hive.3675.1.patch, hive.3675.2.patch


 It works correctly for round(n, d)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3675) NaN does not work correctly for round(n)

2012-11-06 Thread Namit Jain (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Namit Jain updated HIVE-3675:
-

Attachment: hive.3675.2.patch

 NaN does not work correctly for round(n)
 

 Key: HIVE-3675
 URL: https://issues.apache.org/jira/browse/HIVE-3675
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Reporter: Namit Jain
Assignee: Namit Jain
 Fix For: 0.10.0

 Attachments: hive.3675.1.patch, hive.3675.2.patch


 It works correctly for round(n, d)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3403) user should not specify mapjoin to perform sort-merge bucketed join

2012-11-06 Thread Namit Jain (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Namit Jain updated HIVE-3403:
-

Attachment: hive.3403.3.patch

 user should not specify mapjoin to perform sort-merge bucketed join
 ---

 Key: HIVE-3403
 URL: https://issues.apache.org/jira/browse/HIVE-3403
 Project: Hive
  Issue Type: Bug
Reporter: Namit Jain
Assignee: Namit Jain
 Attachments: hive.3403.1.patch, hive.3403.2.patch, hive.3403.3.patch


 Currently, in order to perform a sort merge bucketed join, the user needs
 to set hive.optimize.bucketmapjoin.sortedmerge to true, and also specify the 
 mapjoin hint.
 The user should not specify any hints.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3673) Sort merge join not used when join columns have different names

2012-11-06 Thread Namit Jain (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Namit Jain updated HIVE-3673:
-

   Resolution: Fixed
Fix Version/s: 0.10.0
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

Committed. Thanks Kevin

 Sort merge join not used when join columns have different names
 ---

 Key: HIVE-3673
 URL: https://issues.apache.org/jira/browse/HIVE-3673
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Affects Versions: 0.10.0
Reporter: Kevin Wilfong
Assignee: Kevin Wilfong
 Fix For: 0.10.0

 Attachments: HIVE-3673.1.patch.txt, HIVE-3673.2.patch.txt


 If two tables are joined on columns with different names, the sort merge join 
 optimization is not applied.  E.g.
 SELECT /*+ MAPJOIN(b) */ * FROM t1 a JOIN t2 b ON a.key = b.value;
 This will not use sort merge join even if t1 and t2 are bucketed and sorted 
 by key, value respectively.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Build failed in Jenkins: Hive-0.9.1-SNAPSHOT-h0.21 #190

2012-11-06 Thread Apache Jenkins Server
See https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21/190/

--
[...truncated 5051 lines...]
A ql/src/gen
A ql/src/gen/thrift
A ql/src/gen/thrift/gen-py
A ql/src/gen/thrift/gen-py/queryplan
A ql/src/gen/thrift/gen-py/queryplan/ttypes.py
A ql/src/gen/thrift/gen-py/queryplan/constants.py
A ql/src/gen/thrift/gen-py/queryplan/__init__.py
A ql/src/gen/thrift/gen-cpp
A ql/src/gen/thrift/gen-cpp/queryplan_constants.h
A ql/src/gen/thrift/gen-cpp/queryplan_types.cpp
A ql/src/gen/thrift/gen-cpp/queryplan_types.h
A ql/src/gen/thrift/gen-cpp/queryplan_constants.cpp
A ql/src/gen/thrift/gen-rb
A ql/src/gen/thrift/gen-rb/queryplan_types.rb
A ql/src/gen/thrift/gen-rb/queryplan_constants.rb
A ql/src/gen/thrift/gen-javabean
A ql/src/gen/thrift/gen-javabean/org
A ql/src/gen/thrift/gen-javabean/org/apache
A ql/src/gen/thrift/gen-javabean/org/apache/hadoop
A ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive
A ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql
A ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan
A ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/QueryPlan.java
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Adjacency.java
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Graph.java
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Task.java
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/AdjacencyType.java
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Stage.java
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/TaskType.java
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Query.java
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/NodeType.java
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Operator.java
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java
A ql/src/gen/thrift/gen-php
A ql/src/gen/thrift/gen-php/queryplan
A ql/src/gen/thrift/gen-php/queryplan/queryplan_types.php
A ql/src/gen-javabean
A ql/src/gen-javabean/org
A ql/src/gen-javabean/org/apache
A ql/src/gen-javabean/org/apache/hadoop
A ql/src/gen-javabean/org/apache/hadoop/hive
A ql/src/gen-javabean/org/apache/hadoop/hive/ql
A ql/src/gen-javabean/org/apache/hadoop/hive/ql/plan
A ql/src/gen-javabean/org/apache/hadoop/hive/ql/plan/api
A ql/src/gen-php
A ql/build.xml
A ql/if
A ql/if/queryplan.thrift
A pdk
A pdk/ivy.xml
A pdk/scripts
A pdk/scripts/class-registration.xsl
A pdk/scripts/build-plugin.xml
A pdk/scripts/README
A pdk/src
A pdk/src/java
A pdk/src/java/org
A pdk/src/java/org/apache
A pdk/src/java/org/apache/hive
A pdk/src/java/org/apache/hive/pdk
A pdk/src/java/org/apache/hive/pdk/FunctionExtractor.java
A pdk/src/java/org/apache/hive/pdk/HivePdkUnitTest.java
A pdk/src/java/org/apache/hive/pdk/HivePdkUnitTests.java
A pdk/src/java/org/apache/hive/pdk/PluginTest.java
A pdk/test-plugin
A pdk/test-plugin/test
A pdk/test-plugin/test/cleanup.sql
A pdk/test-plugin/test/onerow.txt
A pdk/test-plugin/test/setup.sql
A pdk/test-plugin/src
A pdk/test-plugin/src/org
A pdk/test-plugin/src/org/apache
A pdk/test-plugin/src/org/apache/hive
A pdk/test-plugin/src/org/apache/hive/pdktest
A pdk/test-plugin/src/org/apache/hive/pdktest/Rot13.java
A pdk/test-plugin/build.xml
A pdk/build.xml
A build-offline.xml
 U.
At revision 1406198
no change for http://svn.apache.org/repos/asf/hive/branches/branch-0.9 since 
the previous build
[hive] $ /home/hudson/tools/ant/apache-ant-1.8.1/bin/ant 
-Dversion=0.9.1-SNAPSHOT very-clean tar binary
Buildfile: 
/x1/jenkins/jenkins-slave/workspace/Hive-0.9.1-SNAPSHOT-h0.21/hive/build.xml

ivy-init-dirs:
 [echo] Project: hive
[mkdir] Created dir: 
/x1/jenkins/jenkins-slave/workspace/Hive-0.9.1-SNAPSHOT-h0.21/hive/build/ivy
[mkdir] Created dir: 
/x1/jenkins/jenkins-slave/workspace/Hive-0.9.1-SNAPSHOT-h0.21/hive/build/ivy/lib
[mkdir] Created dir: 
/x1/jenkins/jenkins-slave/workspace/Hive-0.9.1-SNAPSHOT-h0.21/hive/build/ivy/report
[mkdir] Created dir: 
/x1/jenkins/jenkins-slave/workspace/Hive-0.9.1-SNAPSHOT-h0.21/hive/build/ivy/maven


Build failed in Jenkins: Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false #190

2012-11-06 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/190/

--
[...truncated 5074 lines...]
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/QueryPlan.java
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Adjacency.java
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Graph.java
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Task.java
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/AdjacencyType.java
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Stage.java
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/TaskType.java
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Query.java
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/NodeType.java
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Operator.java
A 
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java
A ql/src/gen/thrift/gen-php
A ql/src/gen/thrift/gen-php/queryplan
A ql/src/gen/thrift/gen-php/queryplan/queryplan_types.php
A ql/src/gen-javabean
A ql/src/gen-javabean/org
A ql/src/gen-javabean/org/apache
A ql/src/gen-javabean/org/apache/hadoop
A ql/src/gen-javabean/org/apache/hadoop/hive
A ql/src/gen-javabean/org/apache/hadoop/hive/ql
A ql/src/gen-javabean/org/apache/hadoop/hive/ql/plan
A ql/src/gen-javabean/org/apache/hadoop/hive/ql/plan/api
A ql/src/gen-php
A ql/build.xml
A ql/if
A ql/if/queryplan.thrift
A pdk
A pdk/ivy.xml
A pdk/scripts
A pdk/scripts/class-registration.xsl
A pdk/scripts/build-plugin.xml
A pdk/scripts/README
A pdk/src
A pdk/src/java
A pdk/src/java/org
A pdk/src/java/org/apache
A pdk/src/java/org/apache/hive
A pdk/src/java/org/apache/hive/pdk
A pdk/src/java/org/apache/hive/pdk/FunctionExtractor.java
A pdk/src/java/org/apache/hive/pdk/HivePdkUnitTest.java
A pdk/src/java/org/apache/hive/pdk/HivePdkUnitTests.java
A pdk/src/java/org/apache/hive/pdk/PluginTest.java
A pdk/test-plugin
A pdk/test-plugin/test
A pdk/test-plugin/test/cleanup.sql
A pdk/test-plugin/test/onerow.txt
A pdk/test-plugin/test/setup.sql
A pdk/test-plugin/src
A pdk/test-plugin/src/org
A pdk/test-plugin/src/org/apache
A pdk/test-plugin/src/org/apache/hive
A pdk/test-plugin/src/org/apache/hive/pdktest
A pdk/test-plugin/src/org/apache/hive/pdktest/Rot13.java
A pdk/test-plugin/build.xml
A pdk/build.xml
A build-offline.xml
 U.
At revision 1406198
no change for http://svn.apache.org/repos/asf/hive/branches/branch-0.9 since 
the previous build
[hive] $ /home/hudson/tools/ant/apache-ant-1.8.1/bin/ant 
-Dversion=0.9.1-SNAPSHOT very-clean tar binary
Buildfile: 
/x1/jenkins/jenkins-slave/workspace/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/hive/build.xml

ivy-init-dirs:
 [echo] Project: hive
[mkdir] Created dir: 
/x1/jenkins/jenkins-slave/workspace/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/hive/build/ivy
[mkdir] Created dir: 
/x1/jenkins/jenkins-slave/workspace/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/hive/build/ivy/lib
[mkdir] Created dir: 
/x1/jenkins/jenkins-slave/workspace/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/hive/build/ivy/report
[mkdir] Created dir: 
/x1/jenkins/jenkins-slave/workspace/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/hive/build/ivy/maven

ivy-download:
 [echo] Project: hive
  [get] Getting: 
http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar
  [get] To: 
/x1/jenkins/jenkins-slave/workspace/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/hive/build/ivy/lib/ivy-2.1.0.jar

ivy-probe-antlib:
 [echo] Project: hive

ivy-init-antlib:
 [echo] Project: hive

ivy-clean-cache:
[ivy:cleancache] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/ ::
[ivy:cleancache] :: loading settings :: url = 
jar:file:/x1/jenkins/jenkins-slave/workspace/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/hive/build/ivy/lib/ivy-2.1.0.jar!/org/apache/ivy/core/settings/ivysettings.xml

clean:
 [echo] Project: hive

clean:
 [echo] Project: anttasks

clean:
 [echo] Project: shims

clean:
 [echo] Project: common

clean:
 [echo] Project: serde

clean:
 [echo] Project: metastore

clean:
 [echo] Project: ql

clean:
 [echo] Project: contrib

clean:
 [echo] Project: service

clean:
 [echo] Project: cli

clean:
 [echo] Project: jdbc

clean:
 [echo] Project: hwi

clean:
 

Re: [DISCUSS] HCatalog becoming a subproject of Hive

2012-11-06 Thread Alan Gates

On Nov 4, 2012, at 8:35 PM, Namit Jain wrote:

 I like the idea of Hcatalog becoming a Hive sub-project. The
 enhancements/bugs in the serde/metastore areas can indirectly
 benefit the hive community, and it will be easier for the fix to be in one
 place. Having said that, I don't see serde/metastore
 moving out of hive into a separate component. Things are tied too closely
 together. I am assuming that no new committers would
 be automatically added to Hive as part of this, and both Hive and HCatalog
 will continue to have its own committers.

One thing in this we'd like to discuss is the HCatalog committers having commit 
access to the metastore sections of Hive code.  That doesn't mean it has to 
move into HCatalog's code base.  But more and more the fixes and changes we're 
doing in HCatalog are really in Hive's metastore.  So we believe it would make 
sense to give HCat committers access to that component as well as HCat.

Alan.

 
 Thanks,
 -namit
 
 
 On 11/3/12 2:22 AM, Alan Gates ga...@hortonworks.com wrote:
 
 Hello Hive community.  It is time for HCatalog to graduate from the
 Apache Incubator.  Given the heavy dependence of HCatalog on Hive the
 HCatalog community agreed it made sense to explore graduating from the
 Incubator to become a subproject of Hive (see
 http://mail-archives.apache.org/mod_mbox/incubator-hcatalog-user/201209.mb
 ox/%3C08C40723-8D4D-48EB-942B-8EE4327DD84A%40hortonworks.com%3E and
 http://mail-archives.apache.org/mod_mbox/incubator-hcatalog-user/201210.mb
 ox/%3CCABN7xTCRM5wXGgJKEko0PmqDXhuAYpK%2BD-H57T29zcSGhkwGQw%40mail.gmail.c
 om%3E ).  To help both communities understand what HCatalog is and hopes
 to become we also developed a roadmap that summarizes HCatalog's current
 features, planned features, and other possible features under discussion:
 https://cwiki.apache.org/confluence/display/HCATALOG/HCatalog+Roadmap
 
 So we are now approaching you to see if there is agreement in the Hive
 community that HCatalog graduating into Hive would make sense.
 
 Alan.
 



[jira] [Updated] (HIVE-3627) eclipse misses library: javolution-@javolution-version@.jar

2012-11-06 Thread Kevin Wilfong (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Wilfong updated HIVE-3627:


Resolution: Fixed
Status: Resolved  (was: Patch Available)

Committed, thanks Tim.

 eclipse misses library:  javolution-@javolution-version@.jar
 

 Key: HIVE-3627
 URL: https://issues.apache.org/jira/browse/HIVE-3627
 Project: Hive
  Issue Type: Bug
  Components: Build Infrastructure
Affects Versions: 0.10.0
Reporter: Gang Tim Liu
Priority: Minor
 Fix For: 0.10.0

 Attachments: HIVE-3627.patch.1


 After checking out the latest trunk, build eclipse project:
 ant clean package eclipse-files
 Then, import project to eclipse, you will see the error:
 Description   ResourcePathLocationType
 Project 'hive-trunk-10-26' is missing required library: 
 'build/ivy/lib/default/javolution-@javolution-version@.jar'   
 hive-trunk-10-26Build path  Build Path Problem

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-3627) eclipse misses library: javolution-@javolution-version@.jar

2012-11-06 Thread Gang Tim Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13491668#comment-13491668
 ] 

Gang Tim Liu commented on HIVE-3627:


Thanks a lot Kevin

Sent from my iPhone




 eclipse misses library:  javolution-@javolution-version@.jar
 

 Key: HIVE-3627
 URL: https://issues.apache.org/jira/browse/HIVE-3627
 Project: Hive
  Issue Type: Bug
  Components: Build Infrastructure
Affects Versions: 0.10.0
Reporter: Gang Tim Liu
Priority: Minor
 Fix For: 0.10.0

 Attachments: HIVE-3627.patch.1


 After checking out the latest trunk, build eclipse project:
 ant clean package eclipse-files
 Then, import project to eclipse, you will see the error:
 Description   ResourcePathLocationType
 Project 'hive-trunk-10-26' is missing required library: 
 'build/ivy/lib/default/javolution-@javolution-version@.jar'   
 hive-trunk-10-26Build path  Build Path Problem

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (HIVE-3677) Encoding Issue - ISO-8859-1

2012-11-06 Thread Sergio Kameoka (JIRA)
Sergio Kameoka created HIVE-3677:


 Summary: Encoding Issue - ISO-8859-1
 Key: HIVE-3677
 URL: https://issues.apache.org/jira/browse/HIVE-3677
 Project: Hive
  Issue Type: Bug
  Components: Configuration, Import/Export
Affects Versions: 0.8.1
 Environment: Amazon EMR with Hive (Hive 0.8.1 and haddop 1.0.3)
Reporter: Sergio Kameoka
 Fix For: 0.8.1


We’ve created a very simple example using Amazon EMR with Hive which is 
basically create a single table with Hive and load some data inside this table. 
Below you’ll find the code that has been used:

//CREATE TABLE CODE

CREATE TABLE sampletable (
valorstring STRING, valordecimal DOUBLE)
ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDe'
WITH SERDEPROPERTIES (
'serialization.format'='org.apache.hadoop.hive.serde2.thrift.TCTLSeparatedProtocol',
'quote.delim'='(|\\[|\\])',
'field.delim'=' ',
'serialization.null.format'='-')
STORED AS TEXTFILE;

 
//LOAD DATA CODE
LOAD DATA LOCAL INPATH '/tmp/sampletable.txt' OVERWRITE INTO TABLE sampletable;

Here is the text file content that we are using to load the data:

/tmp/sampletable.txt
Exemplo de texto com acentuação 90,15
Exemplo de texto com acentuação 80.15

The problem that we are facing seems to be with the enconding that is been used 
in Hive configuration. Seems to me that it is been used UTF-8 but for Brazilian 
format we’ll need to use ISO-8859-1.

In the example above, when the data is loaded inside the table and we perform a 
simple select (Select * from sampletable) the text with accentuation is 
returned totally wrong and the double value with comma is returned as null.
We’ve already changed the variable LANG in enviroment and Hive variables with 
SET, but it doesn’t work so far.

Thank you in advance!!!



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-3673) Sort merge join not used when join columns have different names

2012-11-06 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13491703#comment-13491703
 ] 

Hudson commented on HIVE-3673:
--

Integrated in Hive-trunk-h0.21 #1775 (See 
[https://builds.apache.org/job/Hive-trunk-h0.21/1775/])
HIVE-3673 Sort merge join not used when join columns have different names
(Kevin Wilfong via namit) (Revision 1406090)

 Result = FAILURE
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1406090
Files : 
* 
/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/optimizer/SortedMergeBucketMapJoinOptimizer.java
* /hive/trunk/ql/src/test/queries/clientpositive/smb_mapjoin_13.q
* /hive/trunk/ql/src/test/results/clientpositive/smb_mapjoin_13.q.out


 Sort merge join not used when join columns have different names
 ---

 Key: HIVE-3673
 URL: https://issues.apache.org/jira/browse/HIVE-3673
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Affects Versions: 0.10.0
Reporter: Kevin Wilfong
Assignee: Kevin Wilfong
 Fix For: 0.10.0

 Attachments: HIVE-3673.1.patch.txt, HIVE-3673.2.patch.txt


 If two tables are joined on columns with different names, the sort merge join 
 optimization is not applied.  E.g.
 SELECT /*+ MAPJOIN(b) */ * FROM t1 a JOIN t2 b ON a.key = b.value;
 This will not use sort merge join even if t1 and t2 are bucketed and sorted 
 by key, value respectively.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Hive-trunk-h0.21 - Build # 1775 - Still Failing

2012-11-06 Thread Apache Jenkins Server
Changes for Build #1764
[kevinwilfong] HIVE-3610. Add a command Explain dependency ... (Sambavi 
Muthukrishnan via kevinwilfong)


Changes for Build #1765

Changes for Build #1766
[hashutosh] HIVE-3441 : testcases escape1,escape2 fail on windows (Thejas Nair 
via Ashutosh Chauhan)

[kevinwilfong] HIVE-3499. add tests to use bucketing metadata for partitions. 
(njain via kevinwilfong)


Changes for Build #1767
[kevinwilfong] HIVE-3276. optimize union sub-queries. (njain via kevinwilfong)


Changes for Build #1768

Changes for Build #1769

Changes for Build #1770
[namit] HIVE-3570 Add/fix facility to collect operator specific statisticsin 
hive + add hash-in/hash-out
counter for GroupBy Optr (Satadru Pan via namit)

[namit] HIVE-3554 Hive List Bucketing - Query logic
(Gang Tim Liu via namit)

[cws] HIVE-3563. Drop database cascade fails when there are indexes on any 
tables (Prasad Mujumdar via cws)


Changes for Build #1771
[kevinwilfong] HIVE-3640. Reducer allocation is incorrect if enforce bucketing 
and mapred.reduce.tasks are both set. (Vighnesh Avadhani via kevinwilfong)


Changes for Build #1772

Changes for Build #1773

Changes for Build #1774

Changes for Build #1775
[namit] HIVE-3673 Sort merge join not used when join columns have different 
names
(Kevin Wilfong via namit)




7 tests failed.
FAILED:  org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_smb_mapjoin_13

Error Message:
Unexpected exception See build/ql/tmp/hive.log, or try ant test ... 
-Dtest.silent=false to get more logs.

Stack Trace:
junit.framework.AssertionFailedError: Unexpected exception
See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false to get 
more logs.
at junit.framework.Assert.fail(Assert.java:47)
at 
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_smb_mapjoin_13(TestCliDriver.java:37905)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)


FAILED:  org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby1

Error Message:
Unexpected exception See build/ql/tmp/hive.log, or try ant test ... 
-Dtest.silent=false to get more logs.

Stack Trace:
junit.framework.AssertionFailedError: Unexpected exception
See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false to get 
more logs.
at junit.framework.Assert.fail(Assert.java:47)
at 
org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby1(TestParse.java:227)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)


FAILED:  org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby2

Error Message:
Unexpected exception See build/ql/tmp/hive.log, or try ant test ... 
-Dtest.silent=false to get more logs.

Stack Trace:
junit.framework.AssertionFailedError: Unexpected exception
See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false to get 
more logs.
 

[jira] [Commented] (HIVE-1362) column level statistics

2012-11-06 Thread Carl Steinbach (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13491758#comment-13491758
 ] 

Carl Steinbach commented on HIVE-1362:
--

+1. Will commit if tests pass.

 column level statistics
 ---

 Key: HIVE-1362
 URL: https://issues.apache.org/jira/browse/HIVE-1362
 Project: Hive
  Issue Type: Sub-task
  Components: Statistics
Reporter: Ning Zhang
Assignee: Shreepadma Venugopalan
 Attachments: HIVE-1362.10.patch.txt, HIVE-1362.1.patch.txt, 
 HIVE-1362.2.patch.txt, HIVE-1362.3.patch.txt, HIVE-1362.4.patch.txt, 
 HIVE-1362.5.patch.txt, HIVE-1362.6.patch.txt, HIVE-1362.7.patch.txt, 
 HIVE-1362.8.patch.txt, HIVE-1362.9.patch.txt, HIVE-1362.D6339.1.patch, 
 HIVE-1362_gen-thrift.10.patch.txt, HIVE-1362-gen_thrift.1.patch.txt, 
 HIVE-1362-gen_thrift.2.patch.txt, HIVE-1362-gen_thrift.3.patch.txt, 
 HIVE-1362-gen_thrift.4.patch.txt, HIVE-1362-gen_thrift.5.patch.txt, 
 HIVE-1362-gen_thrift.6.patch.txt, HIVE-1362_gen-thrift.7.patch.txt, 
 HIVE-1362_gen-thrift.8.patch.txt, HIVE-1362_gen-thrift.9.patch.txt




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-1362) column level statistics

2012-11-06 Thread Shreepadma Venugopalan (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13491764#comment-13491764
 ] 

Shreepadma Venugopalan commented on HIVE-1362:
--

@Carl: Please take the latest patch from JIRA. If you have trouble applying it, 
let me know. Thanks.

 column level statistics
 ---

 Key: HIVE-1362
 URL: https://issues.apache.org/jira/browse/HIVE-1362
 Project: Hive
  Issue Type: Sub-task
  Components: Statistics
Reporter: Ning Zhang
Assignee: Shreepadma Venugopalan
 Attachments: HIVE-1362.10.patch.txt, HIVE-1362.1.patch.txt, 
 HIVE-1362.2.patch.txt, HIVE-1362.3.patch.txt, HIVE-1362.4.patch.txt, 
 HIVE-1362.5.patch.txt, HIVE-1362.6.patch.txt, HIVE-1362.7.patch.txt, 
 HIVE-1362.8.patch.txt, HIVE-1362.9.patch.txt, HIVE-1362.D6339.1.patch, 
 HIVE-1362_gen-thrift.10.patch.txt, HIVE-1362-gen_thrift.1.patch.txt, 
 HIVE-1362-gen_thrift.2.patch.txt, HIVE-1362-gen_thrift.3.patch.txt, 
 HIVE-1362-gen_thrift.4.patch.txt, HIVE-1362-gen_thrift.5.patch.txt, 
 HIVE-1362-gen_thrift.6.patch.txt, HIVE-1362_gen-thrift.7.patch.txt, 
 HIVE-1362_gen-thrift.8.patch.txt, HIVE-1362_gen-thrift.9.patch.txt




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-1977) DESCRIBE TABLE syntax doesn't support specifying a database qualified table name

2012-11-06 Thread Carl Steinbach (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-1977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carl Steinbach updated HIVE-1977:
-

Status: Open  (was: Patch Available)

@Zhenxiao: There are several test failures in TestParse. Can you please take a 
look? Thanks.

 DESCRIBE TABLE syntax doesn't support specifying a database qualified table 
 name
 

 Key: HIVE-1977
 URL: https://issues.apache.org/jira/browse/HIVE-1977
 Project: Hive
  Issue Type: Bug
  Components: Database/Schema, Query Processor, SQL
Reporter: Carl Steinbach
Assignee: Zhenxiao Luo
 Attachments: HIVE-1977.1.patch.txt, HIVE-1977.2.patch.txt, 
 HIVE-1977.3.patch.txt, HIVE-1977.4.patch.txt, HIVE-1977.5.patch.txt, 
 HIVE-1977.6.patch.txt


 The syntax for DESCRIBE is broken. It should be:
 {code}
 DESCRIBE [EXTENDED] [database DOT]table [column]
 {code}
 but is actually
 {code}
 DESCRIBE [EXTENDED] table[DOT col_name]
 {code}
 Ref: http://dev.mysql.com/doc/refman/5.0/en/describe.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-1977) DESCRIBE TABLE syntax doesn't support specifying a database qualified table name

2012-11-06 Thread Carl Steinbach (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-1977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13491774#comment-13491774
 ] 

Carl Steinbach commented on HIVE-1977:
--

Here's the list of failures I see:

org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby1
org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby2
org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby3
org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby4
org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby5
org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby6


 DESCRIBE TABLE syntax doesn't support specifying a database qualified table 
 name
 

 Key: HIVE-1977
 URL: https://issues.apache.org/jira/browse/HIVE-1977
 Project: Hive
  Issue Type: Bug
  Components: Database/Schema, Query Processor, SQL
Reporter: Carl Steinbach
Assignee: Zhenxiao Luo
 Attachments: HIVE-1977.1.patch.txt, HIVE-1977.2.patch.txt, 
 HIVE-1977.3.patch.txt, HIVE-1977.4.patch.txt, HIVE-1977.5.patch.txt, 
 HIVE-1977.6.patch.txt


 The syntax for DESCRIBE is broken. It should be:
 {code}
 DESCRIBE [EXTENDED] [database DOT]table [column]
 {code}
 but is actually
 {code}
 DESCRIBE [EXTENDED] table[DOT col_name]
 {code}
 Ref: http://dev.mysql.com/doc/refman/5.0/en/describe.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-1977) DESCRIBE TABLE syntax doesn't support specifying a database qualified table name

2012-11-06 Thread Gang Tim Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-1977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13491783#comment-13491783
 ] 

Gang Tim Liu commented on HIVE-1977:


Fix is on the way:
https://issues.apache.org/jira/browse/HIVE-3674
https://issues.apache.org/jira/browse/HIVE-3657 


 DESCRIBE TABLE syntax doesn't support specifying a database qualified table 
 name
 

 Key: HIVE-1977
 URL: https://issues.apache.org/jira/browse/HIVE-1977
 Project: Hive
  Issue Type: Bug
  Components: Database/Schema, Query Processor, SQL
Reporter: Carl Steinbach
Assignee: Zhenxiao Luo
 Attachments: HIVE-1977.1.patch.txt, HIVE-1977.2.patch.txt, 
 HIVE-1977.3.patch.txt, HIVE-1977.4.patch.txt, HIVE-1977.5.patch.txt, 
 HIVE-1977.6.patch.txt


 The syntax for DESCRIBE is broken. It should be:
 {code}
 DESCRIBE [EXTENDED] [database DOT]table [column]
 {code}
 but is actually
 {code}
 DESCRIBE [EXTENDED] table[DOT col_name]
 {code}
 Ref: http://dev.mysql.com/doc/refman/5.0/en/describe.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-1362) column level statistics

2012-11-06 Thread Shreepadma Venugopalan (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13491792#comment-13491792
 ] 

Shreepadma Venugopalan commented on HIVE-1362:
--

@Carl: You will see 6 failures in testParse (groupby1.q .. groupby6.q) when you 
run the tests. It is in the proces of being fixed by HIVE-3674.

 column level statistics
 ---

 Key: HIVE-1362
 URL: https://issues.apache.org/jira/browse/HIVE-1362
 Project: Hive
  Issue Type: Sub-task
  Components: Statistics
Reporter: Ning Zhang
Assignee: Shreepadma Venugopalan
 Attachments: HIVE-1362.10.patch.txt, HIVE-1362.1.patch.txt, 
 HIVE-1362.2.patch.txt, HIVE-1362.3.patch.txt, HIVE-1362.4.patch.txt, 
 HIVE-1362.5.patch.txt, HIVE-1362.6.patch.txt, HIVE-1362.7.patch.txt, 
 HIVE-1362.8.patch.txt, HIVE-1362.9.patch.txt, HIVE-1362.D6339.1.patch, 
 HIVE-1362_gen-thrift.10.patch.txt, HIVE-1362-gen_thrift.1.patch.txt, 
 HIVE-1362-gen_thrift.2.patch.txt, HIVE-1362-gen_thrift.3.patch.txt, 
 HIVE-1362-gen_thrift.4.patch.txt, HIVE-1362-gen_thrift.5.patch.txt, 
 HIVE-1362-gen_thrift.6.patch.txt, HIVE-1362_gen-thrift.7.patch.txt, 
 HIVE-1362_gen-thrift.8.patch.txt, HIVE-1362_gen-thrift.9.patch.txt




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3674) test case TestParse broken after recent checkin

2012-11-06 Thread Carl Steinbach (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carl Steinbach updated HIVE-3674:
-

   Resolution: Fixed
Fix Version/s: 0.10.0
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks Sambavi!

 test case TestParse broken after recent checkin
 ---

 Key: HIVE-3674
 URL: https://issues.apache.org/jira/browse/HIVE-3674
 Project: Hive
  Issue Type: Bug
  Components: Tests
Affects Versions: 0.9.0
Reporter: Sambavi Muthukrishnan
Assignee: Sambavi Muthukrishnan
 Fix For: 0.10.0

 Attachments: TestParseFix.1.patch


 The below test cases fail after running svn up on my clean checkout.
 org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby1
 org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby2
 org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby3
 org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby4
 org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby5
 org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby6
 The build on Nov 2 shows this issue as well.
 https://builds.apache.org/job/Hive-trunk-h0.21/1770/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3674) test case TestParse broken after recent checkin

2012-11-06 Thread Carl Steinbach (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carl Steinbach updated HIVE-3674:
-

Component/s: Tests

 test case TestParse broken after recent checkin
 ---

 Key: HIVE-3674
 URL: https://issues.apache.org/jira/browse/HIVE-3674
 Project: Hive
  Issue Type: Bug
  Components: Tests
Affects Versions: 0.9.0
Reporter: Sambavi Muthukrishnan
Assignee: Sambavi Muthukrishnan
 Fix For: 0.10.0

 Attachments: TestParseFix.1.patch


 The below test cases fail after running svn up on my clean checkout.
 org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby1
 org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby2
 org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby3
 org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby4
 org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby5
 org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby6
 The build on Nov 2 shows this issue as well.
 https://builds.apache.org/job/Hive-trunk-h0.21/1770/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3657) errors in testParse due to HIVE-3570

2012-11-06 Thread Carl Steinbach (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carl Steinbach updated HIVE-3657:
-

Resolution: Duplicate
Status: Resolved  (was: Patch Available)

 errors in testParse due to HIVE-3570
 

 Key: HIVE-3657
 URL: https://issues.apache.org/jira/browse/HIVE-3657
 Project: Hive
  Issue Type: Bug
  Components: Tests
Reporter: Namit Jain
Assignee: Namit Jain
 Attachments: hive.3657.1.patch


 For some reason, I missed the test failures before committing.
 My bad, updating the new test files.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-1977) DESCRIBE TABLE syntax doesn't support specifying a database qualified table name

2012-11-06 Thread Carl Steinbach (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-1977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carl Steinbach updated HIVE-1977:
-

Status: Patch Available  (was: Open)

 DESCRIBE TABLE syntax doesn't support specifying a database qualified table 
 name
 

 Key: HIVE-1977
 URL: https://issues.apache.org/jira/browse/HIVE-1977
 Project: Hive
  Issue Type: Bug
  Components: Database/Schema, Query Processor, SQL
Reporter: Carl Steinbach
Assignee: Zhenxiao Luo
 Attachments: HIVE-1977.1.patch.txt, HIVE-1977.2.patch.txt, 
 HIVE-1977.3.patch.txt, HIVE-1977.4.patch.txt, HIVE-1977.5.patch.txt, 
 HIVE-1977.6.patch.txt


 The syntax for DESCRIBE is broken. It should be:
 {code}
 DESCRIBE [EXTENDED] [database DOT]table [column]
 {code}
 but is actually
 {code}
 DESCRIBE [EXTENDED] table[DOT col_name]
 {code}
 Ref: http://dev.mysql.com/doc/refman/5.0/en/describe.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-1977) DESCRIBE TABLE syntax doesn't support specifying a database qualified table name

2012-11-06 Thread Carl Steinbach (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-1977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carl Steinbach updated HIVE-1977:
-

   Resolution: Fixed
Fix Version/s: 0.10.0
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks Zhenxiao!

 DESCRIBE TABLE syntax doesn't support specifying a database qualified table 
 name
 

 Key: HIVE-1977
 URL: https://issues.apache.org/jira/browse/HIVE-1977
 Project: Hive
  Issue Type: Bug
  Components: Database/Schema, Query Processor, SQL
Reporter: Carl Steinbach
Assignee: Zhenxiao Luo
 Fix For: 0.10.0

 Attachments: HIVE-1977.1.patch.txt, HIVE-1977.2.patch.txt, 
 HIVE-1977.3.patch.txt, HIVE-1977.4.patch.txt, HIVE-1977.5.patch.txt, 
 HIVE-1977.6.patch.txt


 The syntax for DESCRIBE is broken. It should be:
 {code}
 DESCRIBE [EXTENDED] [database DOT]table [column]
 {code}
 but is actually
 {code}
 DESCRIBE [EXTENDED] table[DOT col_name]
 {code}
 Ref: http://dev.mysql.com/doc/refman/5.0/en/describe.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-1362) Column level scalar valued statistics

2012-11-06 Thread Carl Steinbach (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carl Steinbach updated HIVE-1362:
-

Summary: Column level scalar valued statistics  (was: column level 
statistics)

 Column level scalar valued statistics
 -

 Key: HIVE-1362
 URL: https://issues.apache.org/jira/browse/HIVE-1362
 Project: Hive
  Issue Type: Sub-task
  Components: Statistics
Reporter: Ning Zhang
Assignee: Shreepadma Venugopalan
 Attachments: HIVE-1362.10.patch.txt, HIVE-1362.1.patch.txt, 
 HIVE-1362.2.patch.txt, HIVE-1362.3.patch.txt, HIVE-1362.4.patch.txt, 
 HIVE-1362.5.patch.txt, HIVE-1362.6.patch.txt, HIVE-1362.7.patch.txt, 
 HIVE-1362.8.patch.txt, HIVE-1362.9.patch.txt, HIVE-1362.D6339.1.patch, 
 HIVE-1362_gen-thrift.10.patch.txt, HIVE-1362-gen_thrift.1.patch.txt, 
 HIVE-1362-gen_thrift.2.patch.txt, HIVE-1362-gen_thrift.3.patch.txt, 
 HIVE-1362-gen_thrift.4.patch.txt, HIVE-1362-gen_thrift.5.patch.txt, 
 HIVE-1362-gen_thrift.6.patch.txt, HIVE-1362_gen-thrift.7.patch.txt, 
 HIVE-1362_gen-thrift.8.patch.txt, HIVE-1362_gen-thrift.9.patch.txt




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-1362) Column level scalar valued statistics on Tables and Partitions

2012-11-06 Thread Shreepadma Venugopalan (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shreepadma Venugopalan updated HIVE-1362:
-

Summary: Column level scalar valued statistics on Tables and Partitions  
(was: Column level scalar valued statistics)

 Column level scalar valued statistics on Tables and Partitions
 --

 Key: HIVE-1362
 URL: https://issues.apache.org/jira/browse/HIVE-1362
 Project: Hive
  Issue Type: Sub-task
  Components: Statistics
Reporter: Ning Zhang
Assignee: Shreepadma Venugopalan
 Attachments: HIVE-1362.10.patch.txt, HIVE-1362.1.patch.txt, 
 HIVE-1362.2.patch.txt, HIVE-1362.3.patch.txt, HIVE-1362.4.patch.txt, 
 HIVE-1362.5.patch.txt, HIVE-1362.6.patch.txt, HIVE-1362.7.patch.txt, 
 HIVE-1362.8.patch.txt, HIVE-1362.9.patch.txt, HIVE-1362.D6339.1.patch, 
 HIVE-1362_gen-thrift.10.patch.txt, HIVE-1362-gen_thrift.1.patch.txt, 
 HIVE-1362-gen_thrift.2.patch.txt, HIVE-1362-gen_thrift.3.patch.txt, 
 HIVE-1362-gen_thrift.4.patch.txt, HIVE-1362-gen_thrift.5.patch.txt, 
 HIVE-1362-gen_thrift.6.patch.txt, HIVE-1362_gen-thrift.7.patch.txt, 
 HIVE-1362_gen-thrift.8.patch.txt, HIVE-1362_gen-thrift.9.patch.txt




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3517) Provide README file for Oracle backed Metastore

2012-11-06 Thread Carl Steinbach (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carl Steinbach updated HIVE-3517:
-

Assignee: Shreepadma Venugopalan

 Provide README file for Oracle backed Metastore
 ---

 Key: HIVE-3517
 URL: https://issues.apache.org/jira/browse/HIVE-3517
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Reporter: Carl Steinbach
Assignee: Shreepadma Venugopalan

 We currently provide README files for Derby, MySQL, and Derby. We should also 
 provide a README file for Oracle.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-3672) Support altering partition column type in Hive

2012-11-06 Thread Jingwei Lu (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13491904#comment-13491904
 ] 

Jingwei Lu commented on HIVE-3672:
--

Review is at:
https://reviews.facebook.net/D6537

 Support altering partition column type in Hive
 --

 Key: HIVE-3672
 URL: https://issues.apache.org/jira/browse/HIVE-3672
 Project: Hive
  Issue Type: Improvement
  Components: CLI, SQL
Affects Versions: 0.10.0
Reporter: Jingwei Lu
Assignee: Jingwei Lu
 Fix For: 0.10.0

   Original Estimate: 72h
  Remaining Estimate: 72h

 Currently, Hive does not allow altering partition column types.  As we've 
 discouraged users from using non-string partition column types, this presents 
 a problem for users who want to change there partition columns to be strings, 
 they have to rename their table, create a new table, and copy all the data 
 over.
 To support this via the CLI, adding a command like ALTER TABLE table_name 
 PARTITION COLUMN (column_name new type);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Work started] (HIVE-3672) Support altering partition column type in Hive

2012-11-06 Thread Jingwei Lu (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on HIVE-3672 started by Jingwei Lu.

 Support altering partition column type in Hive
 --

 Key: HIVE-3672
 URL: https://issues.apache.org/jira/browse/HIVE-3672
 Project: Hive
  Issue Type: Improvement
  Components: CLI, SQL
Affects Versions: 0.10.0
Reporter: Jingwei Lu
Assignee: Jingwei Lu
 Fix For: 0.10.0

   Original Estimate: 72h
  Remaining Estimate: 72h

 Currently, Hive does not allow altering partition column types.  As we've 
 discouraged users from using non-string partition column types, this presents 
 a problem for users who want to change there partition columns to be strings, 
 they have to rename their table, create a new table, and copy all the data 
 over.
 To support this via the CLI, adding a command like ALTER TABLE table_name 
 PARTITION COLUMN (column_name new type);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Work stopped] (HIVE-3672) Support altering partition column type in Hive

2012-11-06 Thread Jingwei Lu (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on HIVE-3672 stopped by Jingwei Lu.

 Support altering partition column type in Hive
 --

 Key: HIVE-3672
 URL: https://issues.apache.org/jira/browse/HIVE-3672
 Project: Hive
  Issue Type: Improvement
  Components: CLI, SQL
Affects Versions: 0.10.0
Reporter: Jingwei Lu
Assignee: Jingwei Lu
 Fix For: 0.10.0

   Original Estimate: 72h
  Remaining Estimate: 72h

 Currently, Hive does not allow altering partition column types.  As we've 
 discouraged users from using non-string partition column types, this presents 
 a problem for users who want to change there partition columns to be strings, 
 they have to rename their table, create a new table, and copy all the data 
 over.
 To support this via the CLI, adding a command like ALTER TABLE table_name 
 PARTITION COLUMN (column_name new type);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3672) Support altering partition column type in Hive

2012-11-06 Thread Jingwei Lu (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jingwei Lu updated HIVE-3672:
-

Attachment: HIVE-3672.1.patch.txt

 Support altering partition column type in Hive
 --

 Key: HIVE-3672
 URL: https://issues.apache.org/jira/browse/HIVE-3672
 Project: Hive
  Issue Type: Improvement
  Components: CLI, SQL
Affects Versions: 0.10.0
Reporter: Jingwei Lu
Assignee: Jingwei Lu
 Fix For: 0.10.0

 Attachments: HIVE-3672.1.patch.txt

   Original Estimate: 72h
  Remaining Estimate: 72h

 Currently, Hive does not allow altering partition column types.  As we've 
 discouraged users from using non-string partition column types, this presents 
 a problem for users who want to change there partition columns to be strings, 
 they have to rename their table, create a new table, and copy all the data 
 over.
 To support this via the CLI, adding a command like ALTER TABLE table_name 
 PARTITION COLUMN (column_name new type);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3672) Support altering partition column type in Hive

2012-11-06 Thread Jingwei Lu (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jingwei Lu updated HIVE-3672:
-

Status: Patch Available  (was: Open)

 Support altering partition column type in Hive
 --

 Key: HIVE-3672
 URL: https://issues.apache.org/jira/browse/HIVE-3672
 Project: Hive
  Issue Type: Improvement
  Components: CLI, SQL
Affects Versions: 0.10.0
Reporter: Jingwei Lu
Assignee: Jingwei Lu
 Fix For: 0.10.0

 Attachments: HIVE-3672.1.patch.txt

   Original Estimate: 72h
  Remaining Estimate: 72h

 Currently, Hive does not allow altering partition column types.  As we've 
 discouraged users from using non-string partition column types, this presents 
 a problem for users who want to change there partition columns to be strings, 
 they have to rename their table, create a new table, and copy all the data 
 over.
 To support this via the CLI, adding a command like ALTER TABLE table_name 
 PARTITION COLUMN (column_name new type);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (HIVE-3678) Add upgrade script for column stats schema changes

2012-11-06 Thread Shreepadma Venugopalan (JIRA)
Shreepadma Venugopalan created HIVE-3678:


 Summary: Add upgrade script for column stats schema changes
 Key: HIVE-3678
 URL: https://issues.apache.org/jira/browse/HIVE-3678
 Project: Hive
  Issue Type: Bug
  Components: Database/Schema
Reporter: Shreepadma Venugopalan
Assignee: Shreepadma Venugopalan
 Fix For: 0.10.0




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3678) Add upgrade script for column stats schema changes

2012-11-06 Thread Shreepadma Venugopalan (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shreepadma Venugopalan updated HIVE-3678:
-

Description: Add upgrade script for column statistics schema changes for 
Postgres/MySQL/Oracle/Derby

 Add upgrade script for column stats schema changes
 --

 Key: HIVE-3678
 URL: https://issues.apache.org/jira/browse/HIVE-3678
 Project: Hive
  Issue Type: Bug
  Components: Database/Schema
Reporter: Shreepadma Venugopalan
Assignee: Shreepadma Venugopalan
 Fix For: 0.10.0


 Add upgrade script for column statistics schema changes for 
 Postgres/MySQL/Oracle/Derby

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (HIVE-3679) Unescape partition names returned by show partitions

2012-11-06 Thread Wonho Kim (JIRA)
Wonho Kim created HIVE-3679:
---

 Summary: Unescape partition names returned by show partitions
 Key: HIVE-3679
 URL: https://issues.apache.org/jira/browse/HIVE-3679
 Project: Hive
  Issue Type: Task
  Components: Configuration, Query Processor
Affects Versions: 0.10.0
Reporter: Wonho Kim
Priority: Minor
 Fix For: 0.10.0


The partition names returned by the SHOW PARTITIONS call in Hive contain escape 
sequences from the metastore.

ex) SHOW PARTITIONS XXX;
returns partition names like
...ts=2012-02-02+17%3A12%3A43...where %3A is ':'

Hive should unescape escape sequences like that before returning the partition 
names unless it is configured to return the URL encoded partition name.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: Hive JIRA

2012-11-06 Thread Carl Steinbach
Hi,

Please send me your JIRA userid and I will add you to the list of Hive
contributors.

Thanks.

Carl

On Tue, Nov 6, 2012 at 2:43 PM, kulkarni.swar...@gmail.com 
kulkarni.swar...@gmail.com wrote:

 Hello,

 Probably a stupid question but I wanted to assign a Hive JIRA to myself as
 I am working on it, but somehow I am not able to see an option to do it. Am
 I missing something?

 Thanks,

 --
 Swarnim



[jira] [Commented] (HIVE-3679) Unescape partition names returned by show partitions

2012-11-06 Thread Wonho Kim (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13491962#comment-13491962
 ] 

Wonho Kim commented on HIVE-3679:
-

I will assign this task to me after I am added as a contributor. Thanks!

 Unescape partition names returned by show partitions
 

 Key: HIVE-3679
 URL: https://issues.apache.org/jira/browse/HIVE-3679
 Project: Hive
  Issue Type: Task
  Components: Configuration, Query Processor
Affects Versions: 0.10.0
Reporter: Wonho Kim
Priority: Minor
  Labels: features
 Fix For: 0.10.0


 The partition names returned by the SHOW PARTITIONS call in Hive contain 
 escape sequences from the metastore.
 ex) SHOW PARTITIONS XXX;
 returns partition names like
 ...ts=2012-02-02+17%3A12%3A43...where %3A is ':'
 Hive should unescape escape sequences like that before returning the 
 partition names unless it is configured to return the URL encoded partition 
 name.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (HIVE-3680) Include Table information in Hive's AddPartitionEvent.

2012-11-06 Thread Mithun Radhakrishnan (JIRA)
Mithun Radhakrishnan created HIVE-3680:
--

 Summary: Include Table information in Hive's AddPartitionEvent.
 Key: HIVE-3680
 URL: https://issues.apache.org/jira/browse/HIVE-3680
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Affects Versions: 0.9.1
Reporter: Mithun Radhakrishnan
 Fix For: 0.9.1


This has to do with a minor overhaul of the HCatalog notifications that we're 
attempting in HCATALOG-546.

It is proposed that HCatalog's notifications (on Add/Drop of Partitions) 
provide details to identify the affected partitions. 

Using the Partition object in AddPartitionEvent, one is able to retrieve the 
values of the partition-keys and the name of the Table. However, the 
partition-keys themselves aren't available (since the Table instance isn't part 
of the AddPartitionEvent).

Adding the table-reference to the AddPartitionEvent and DropPartitionEvent 
classes will expose all the info we need. (The alternative is to query the 
metastore for the table's schema and use the partition-keys from there. :/)

I'll post a patch for this shortly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3680) Include Table information in Hive's AddPartitionEvent.

2012-11-06 Thread Mithun Radhakrishnan (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mithun Radhakrishnan updated HIVE-3680:
---

Attachment: HIVE-3680.patch

Proposed change.

 Include Table information in Hive's AddPartitionEvent.
 --

 Key: HIVE-3680
 URL: https://issues.apache.org/jira/browse/HIVE-3680
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Affects Versions: 0.9.1
Reporter: Mithun Radhakrishnan
 Fix For: 0.9.1

 Attachments: HIVE-3680.patch


 This has to do with a minor overhaul of the HCatalog notifications that we're 
 attempting in HCATALOG-546.
 It is proposed that HCatalog's notifications (on Add/Drop of Partitions) 
 provide details to identify the affected partitions. 
 Using the Partition object in AddPartitionEvent, one is able to retrieve the 
 values of the partition-keys and the name of the Table. However, the 
 partition-keys themselves aren't available (since the Table instance isn't 
 part of the AddPartitionEvent).
 Adding the table-reference to the AddPartitionEvent and DropPartitionEvent 
 classes will expose all the info we need. (The alternative is to query the 
 metastore for the table's schema and use the partition-keys from there. :/)
 I'll post a patch for this shortly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3680) Include Table information in Hive's AddPartitionEvent.

2012-11-06 Thread Mithun Radhakrishnan (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mithun Radhakrishnan updated HIVE-3680:
---

Status: Patch Available  (was: Open)

 Include Table information in Hive's AddPartitionEvent.
 --

 Key: HIVE-3680
 URL: https://issues.apache.org/jira/browse/HIVE-3680
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Affects Versions: 0.9.1
Reporter: Mithun Radhakrishnan
 Fix For: 0.9.1

 Attachments: HIVE-3680.patch


 This has to do with a minor overhaul of the HCatalog notifications that we're 
 attempting in HCATALOG-546.
 It is proposed that HCatalog's notifications (on Add/Drop of Partitions) 
 provide details to identify the affected partitions. 
 Using the Partition object in AddPartitionEvent, one is able to retrieve the 
 values of the partition-keys and the name of the Table. However, the 
 partition-keys themselves aren't available (since the Table instance isn't 
 part of the AddPartitionEvent).
 Adding the table-reference to the AddPartitionEvent and DropPartitionEvent 
 classes will expose all the info we need. (The alternative is to query the 
 metastore for the table's schema and use the partition-keys from there. :/)
 I'll post a patch for this shortly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Review Request: Include Table information in Hive's AddPartitionEvent

2012-11-06 Thread Mithun Radhakrishnan

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

Review request for hive, Ashutosh Chauhan and Francis Liu.


Description
---

This has to do with a minor overhaul of the HCatalog notifications that we're 
attempting in HCATALOG-546.
It is proposed that HCatalog's notifications (on Add/Drop of Partitions) 
provide details to identify the affected partitions.
Using the Partition object in AddPartitionEvent, one is able to retrieve the 
values of the partition-keys and the name of the Table. However, the 
partition-keys themselves aren't available (since the Table instance isn't part 
of the AddPartitionEvent).
Adding the table-reference to the AddPartitionEvent and DropPartitionEvent 
classes will expose all the info we need. (The alternative is to query the 
metastore for the table's schema and use the partition-keys from there. :/)


Diffs
-

  
http://svn.apache.org/repos/asf/hive/branches/branch-0.9/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
 1405924 
  
http://svn.apache.org/repos/asf/hive/branches/branch-0.9/metastore/src/java/org/apache/hadoop/hive/metastore/events/AddPartitionEvent.java
 1405924 
  
http://svn.apache.org/repos/asf/hive/branches/branch-0.9/metastore/src/java/org/apache/hadoop/hive/metastore/events/DropPartitionEvent.java
 1405924 

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


Testing
---


Thanks,

Mithun Radhakrishnan



Re: Review Request: Include Table information in Hive's AddPartitionEvent

2012-11-06 Thread Mithun Radhakrishnan

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

(Updated Nov. 7, 2012, 12:47 a.m.)


Review request for hive, Ashutosh Chauhan and Francis Liu.


Description
---

This has to do with a minor overhaul of the HCatalog notifications that we're 
attempting in HCATALOG-546.
It is proposed that HCatalog's notifications (on Add/Drop of Partitions) 
provide details to identify the affected partitions.
Using the Partition object in AddPartitionEvent, one is able to retrieve the 
values of the partition-keys and the name of the Table. However, the 
partition-keys themselves aren't available (since the Table instance isn't part 
of the AddPartitionEvent).
Adding the table-reference to the AddPartitionEvent and DropPartitionEvent 
classes will expose all the info we need. (The alternative is to query the 
metastore for the table's schema and use the partition-keys from there. :/)


Diffs
-

  
http://svn.apache.org/repos/asf/hive/branches/branch-0.9/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
 1405924 
  
http://svn.apache.org/repos/asf/hive/branches/branch-0.9/metastore/src/java/org/apache/hadoop/hive/metastore/events/AddPartitionEvent.java
 1405924 
  
http://svn.apache.org/repos/asf/hive/branches/branch-0.9/metastore/src/java/org/apache/hadoop/hive/metastore/events/DropPartitionEvent.java
 1405924 

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


Testing
---


Thanks,

Mithun Radhakrishnan



Re: Hive JIRA

2012-11-06 Thread kulkarni . swarnim
Its swarnim.

On Nov 6, 2012, at 5:51 PM, Carl Steinbach c...@cloudera.com wrote:

 Hi,
 
 Please send me your JIRA userid and I will add you to the list of Hive
 contributors.
 
 Thanks.
 
 Carl
 
 On Tue, Nov 6, 2012 at 2:43 PM, kulkarni.swar...@gmail.com 
 kulkarni.swar...@gmail.com wrote:
 
 Hello,
 
 Probably a stupid question but I wanted to assign a Hive JIRA to myself as
 I am working on it, but somehow I am not able to see an option to do it. Am
 I missing something?
 
 Thanks,
 
 --
 Swarnim
 


Re: Hive JIRA

2012-11-06 Thread Carl Steinbach
You have been added. Thanks.

On Tue, Nov 6, 2012 at 5:08 PM, kulkarni.swar...@gmail.com wrote:

 Its swarnim.

 On Nov 6, 2012, at 5:51 PM, Carl Steinbach c...@cloudera.com wrote:

  Hi,
 
  Please send me your JIRA userid and I will add you to the list of Hive
  contributors.
 
  Thanks.
 
  Carl
 
  On Tue, Nov 6, 2012 at 2:43 PM, kulkarni.swar...@gmail.com 
  kulkarni.swar...@gmail.com wrote:
 
  Hello,
 
  Probably a stupid question but I wanted to assign a Hive JIRA to myself
 as
  I am working on it, but somehow I am not able to see an option to do
 it. Am
  I missing something?
 
  Thanks,
 
  --
  Swarnim
 



[jira] [Updated] (HIVE-3524) Storing certain Exception objects thrown in HiveMetaStore.java in MetaStoreEndFunctionContext

2012-11-06 Thread Kevin Wilfong (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Wilfong updated HIVE-3524:


Resolution: Fixed
Status: Resolved  (was: Patch Available)

Committed, thanks Maheshwaran.

 Storing certain Exception objects thrown in HiveMetaStore.java in 
 MetaStoreEndFunctionContext
 -

 Key: HIVE-3524
 URL: https://issues.apache.org/jira/browse/HIVE-3524
 Project: Hive
  Issue Type: Improvement
  Components: Metastore
Affects Versions: 0.10.0
Reporter: Maheshwaran Srinivasan
Assignee: Maheshwaran Srinivasan
Priority: Minor
 Fix For: 0.10.0

 Attachments: HIVE-3524.1.patch.txt, HIVE-3524.2.patch.txt, 
 HIVE-3524.3.patch.txt

   Original Estimate: 168h
  Remaining Estimate: 168h

 Idea is to store exception objects thrown in the scope of the public 
 functions of HiveMetaStore.java. Exception objects will be stored in 
 MetaStoreEndFunctionContext. These could then be optionally processed to 
 gather interesting statistics.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-3627) eclipse misses library: javolution-@javolution-version@.jar

2012-11-06 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13492088#comment-13492088
 ] 

Hudson commented on HIVE-3627:
--

Integrated in Hive-trunk-h0.21 #1776 (See 
[https://builds.apache.org/job/Hive-trunk-h0.21/1776/])
HIVE-3627. eclipse misses library: javolution-@javolution-version@.jar. 
(Gang Tim Liu via kevinwilfong) (Revision 1406250)

 Result = FAILURE
kevinwilfong : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1406250
Files : 
* /hive/trunk/eclipse-templates/.classpath
* /hive/trunk/ivy/libraries.properties


 eclipse misses library:  javolution-@javolution-version@.jar
 

 Key: HIVE-3627
 URL: https://issues.apache.org/jira/browse/HIVE-3627
 Project: Hive
  Issue Type: Bug
  Components: Build Infrastructure
Affects Versions: 0.10.0
Reporter: Gang Tim Liu
Priority: Minor
 Fix For: 0.10.0

 Attachments: HIVE-3627.patch.1


 After checking out the latest trunk, build eclipse project:
 ant clean package eclipse-files
 Then, import project to eclipse, you will see the error:
 Description   ResourcePathLocationType
 Project 'hive-trunk-10-26' is missing required library: 
 'build/ivy/lib/default/javolution-@javolution-version@.jar'   
 hive-trunk-10-26Build path  Build Path Problem

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Hive-trunk-h0.21 - Build # 1776 - Still Failing

2012-11-06 Thread Apache Jenkins Server
Changes for Build #1764
[kevinwilfong] HIVE-3610. Add a command Explain dependency ... (Sambavi 
Muthukrishnan via kevinwilfong)


Changes for Build #1765

Changes for Build #1766
[hashutosh] HIVE-3441 : testcases escape1,escape2 fail on windows (Thejas Nair 
via Ashutosh Chauhan)

[kevinwilfong] HIVE-3499. add tests to use bucketing metadata for partitions. 
(njain via kevinwilfong)


Changes for Build #1767
[kevinwilfong] HIVE-3276. optimize union sub-queries. (njain via kevinwilfong)


Changes for Build #1768

Changes for Build #1769

Changes for Build #1770
[namit] HIVE-3570 Add/fix facility to collect operator specific statisticsin 
hive + add hash-in/hash-out
counter for GroupBy Optr (Satadru Pan via namit)

[namit] HIVE-3554 Hive List Bucketing - Query logic
(Gang Tim Liu via namit)

[cws] HIVE-3563. Drop database cascade fails when there are indexes on any 
tables (Prasad Mujumdar via cws)


Changes for Build #1771
[kevinwilfong] HIVE-3640. Reducer allocation is incorrect if enforce bucketing 
and mapred.reduce.tasks are both set. (Vighnesh Avadhani via kevinwilfong)


Changes for Build #1772

Changes for Build #1773

Changes for Build #1774

Changes for Build #1775
[namit] HIVE-3673 Sort merge join not used when join columns have different 
names
(Kevin Wilfong via namit)


Changes for Build #1776
[kevinwilfong] HIVE-3627. eclipse misses library: 
javolution-@javolution-version@.jar. (Gang Tim Liu via kevinwilfong)




8 tests failed.
REGRESSION:  
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_stats_aggregator_error_1

Error Message:
Forked Java VM exited abnormally. Please note the time in the report does not 
reflect the time until the VM exit.

Stack Trace:
junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please 
note the time in the report does not reflect the time until the VM exit.
at 
net.sf.antcontrib.logic.ForTask.doSequentialIteration(ForTask.java:259)
at net.sf.antcontrib.logic.ForTask.doToken(ForTask.java:268)
at net.sf.antcontrib.logic.ForTask.doTheTasks(ForTask.java:324)
at net.sf.antcontrib.logic.ForTask.execute(ForTask.java:244)


FAILED:  org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_smb_mapjoin_13

Error Message:
Unexpected exception See build/ql/tmp/hive.log, or try ant test ... 
-Dtest.silent=false to get more logs.

Stack Trace:
junit.framework.AssertionFailedError: Unexpected exception
See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false to get 
more logs.
at junit.framework.Assert.fail(Assert.java:47)
at 
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_smb_mapjoin_13(TestCliDriver.java:37905)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)


FAILED:  org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby1

Error Message:
Unexpected exception See build/ql/tmp/hive.log, or try ant test ... 
-Dtest.silent=false to get more logs.

Stack Trace:
junit.framework.AssertionFailedError: Unexpected exception
See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false to get 
more logs.
at junit.framework.Assert.fail(Assert.java:47)
at 
org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby1(TestParse.java:227)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)

[jira] [Commented] (HIVE-3680) Include Table information in Hive's AddPartitionEvent.

2012-11-06 Thread Mark Grover (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13492097#comment-13492097
 ] 

Mark Grover commented on HIVE-3680:
---

For completeness, the review is at
https://reviews.apache.org/r/7910/

 Include Table information in Hive's AddPartitionEvent.
 --

 Key: HIVE-3680
 URL: https://issues.apache.org/jira/browse/HIVE-3680
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Affects Versions: 0.9.1
Reporter: Mithun Radhakrishnan
 Fix For: 0.9.1

 Attachments: HIVE-3680.patch


 This has to do with a minor overhaul of the HCatalog notifications that we're 
 attempting in HCATALOG-546.
 It is proposed that HCatalog's notifications (on Add/Drop of Partitions) 
 provide details to identify the affected partitions. 
 Using the Partition object in AddPartitionEvent, one is able to retrieve the 
 values of the partition-keys and the name of the Table. However, the 
 partition-keys themselves aren't available (since the Table instance isn't 
 part of the AddPartitionEvent).
 Adding the table-reference to the AddPartitionEvent and DropPartitionEvent 
 classes will expose all the info we need. (The alternative is to query the 
 metastore for the table's schema and use the partition-keys from there. :/)
 I'll post a patch for this shortly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: [DISCUSS] HCatalog becoming a subproject of Hive

2012-11-06 Thread Namit Jain
Alan, that would not be a good idea. Metastore code is part of hive code,
and it
would be safer if only Hive committers had commit access to that.


On 11/6/12 11:25 PM, Alan Gates ga...@hortonworks.com wrote:


On Nov 4, 2012, at 8:35 PM, Namit Jain wrote:

 I like the idea of Hcatalog becoming a Hive sub-project. The
 enhancements/bugs in the serde/metastore areas can indirectly
 benefit the hive community, and it will be easier for the fix to be in
one
 place. Having said that, I don't see serde/metastore
 moving out of hive into a separate component. Things are tied too
closely
 together. I am assuming that no new committers would
 be automatically added to Hive as part of this, and both Hive and
HCatalog
 will continue to have its own committers.

One thing in this we'd like to discuss is the HCatalog committers having
commit access to the metastore sections of Hive code.  That doesn't mean
it has to move into HCatalog's code base.  But more and more the fixes
and changes we're doing in HCatalog are really in Hive's metastore.  So
we believe it would make sense to give HCat committers access to that
component as well as HCat.

Alan.

 
 Thanks,
 -namit
 
 
 On 11/3/12 2:22 AM, Alan Gates ga...@hortonworks.com wrote:
 
 Hello Hive community.  It is time for HCatalog to graduate from the
 Apache Incubator.  Given the heavy dependence of HCatalog on Hive the
 HCatalog community agreed it made sense to explore graduating from the
 Incubator to become a subproject of Hive (see
 
http://mail-archives.apache.org/mod_mbox/incubator-hcatalog-user/201209.
mb
 ox/%3C08C40723-8D4D-48EB-942B-8EE4327DD84A%40hortonworks.com%3E and
 
http://mail-archives.apache.org/mod_mbox/incubator-hcatalog-user/201210.
mb
 
ox/%3CCABN7xTCRM5wXGgJKEko0PmqDXhuAYpK%2BD-H57T29zcSGhkwGQw%40mail.gmail
.c
 om%3E ).  To help both communities understand what HCatalog is and
hopes
 to become we also developed a roadmap that summarizes HCatalog's
current
 features, planned features, and other possible features under
discussion:
 https://cwiki.apache.org/confluence/display/HCATALOG/HCatalog+Roadmap
 
 So we are now approaching you to see if there is agreement in the Hive
 community that HCatalog graduating into Hive would make sense.
 
 Alan.
 




[jira] [Commented] (HIVE-3403) user should not specify mapjoin to perform sort-merge bucketed join

2012-11-06 Thread Mark Grover (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13492110#comment-13492110
 ] 

Mark Grover commented on HIVE-3403:
---

Sorry for joining the party a little late.

Just a thought: we already have a property hive.optimize.bucketmapjoin that 
deals with the same question - whether or not to use BucketizedHiveInputFormat. 
Would it make sense to use the same property? I would go as far as saying, most 
people who would want to auto-convert their joins to bucketed joins would be 
interested in converting their joins to sort-merge bucketed joins (if data is 
sorted per join keys).

What do you think?

 user should not specify mapjoin to perform sort-merge bucketed join
 ---

 Key: HIVE-3403
 URL: https://issues.apache.org/jira/browse/HIVE-3403
 Project: Hive
  Issue Type: Bug
Reporter: Namit Jain
Assignee: Namit Jain
 Attachments: hive.3403.1.patch, hive.3403.2.patch, hive.3403.3.patch


 Currently, in order to perform a sort merge bucketed join, the user needs
 to set hive.optimize.bucketmapjoin.sortedmerge to true, and also specify the 
 mapjoin hint.
 The user should not specify any hints.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3679) Unescape partition names returned by show partitions

2012-11-06 Thread Wonho Kim (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wonho Kim updated HIVE-3679:


Assignee: Wonho Kim

 Unescape partition names returned by show partitions
 

 Key: HIVE-3679
 URL: https://issues.apache.org/jira/browse/HIVE-3679
 Project: Hive
  Issue Type: Task
  Components: Configuration, Query Processor
Affects Versions: 0.10.0
Reporter: Wonho Kim
Assignee: Wonho Kim
Priority: Minor
  Labels: features
 Fix For: 0.10.0


 The partition names returned by the SHOW PARTITIONS call in Hive contain 
 escape sequences from the metastore.
 ex) SHOW PARTITIONS XXX;
 returns partition names like
 ...ts=2012-02-02+17%3A12%3A43...where %3A is ':'
 Hive should unescape escape sequences like that before returning the 
 partition names unless it is configured to return the URL encoded partition 
 name.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-1362) Column level scalar valued statistics on Tables and Partitions

2012-11-06 Thread Carl Steinbach (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carl Steinbach updated HIVE-1362:
-

   Resolution: Fixed
Fix Version/s: 0.10.0
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks Shreepadma!

 Column level scalar valued statistics on Tables and Partitions
 --

 Key: HIVE-1362
 URL: https://issues.apache.org/jira/browse/HIVE-1362
 Project: Hive
  Issue Type: Sub-task
  Components: Statistics
Reporter: Ning Zhang
Assignee: Shreepadma Venugopalan
 Fix For: 0.10.0

 Attachments: HIVE-1362.10.patch.txt, HIVE-1362.1.patch.txt, 
 HIVE-1362.2.patch.txt, HIVE-1362.3.patch.txt, HIVE-1362.4.patch.txt, 
 HIVE-1362.5.patch.txt, HIVE-1362.6.patch.txt, HIVE-1362.7.patch.txt, 
 HIVE-1362.8.patch.txt, HIVE-1362.9.patch.txt, HIVE-1362.D6339.1.patch, 
 HIVE-1362_gen-thrift.10.patch.txt, HIVE-1362-gen_thrift.1.patch.txt, 
 HIVE-1362-gen_thrift.2.patch.txt, HIVE-1362-gen_thrift.3.patch.txt, 
 HIVE-1362-gen_thrift.4.patch.txt, HIVE-1362-gen_thrift.5.patch.txt, 
 HIVE-1362-gen_thrift.6.patch.txt, HIVE-1362_gen-thrift.7.patch.txt, 
 HIVE-1362_gen-thrift.8.patch.txt, HIVE-1362_gen-thrift.9.patch.txt




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3678) Add metastore upgrade scripts for column stats schema changes

2012-11-06 Thread Carl Steinbach (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carl Steinbach updated HIVE-3678:
-

Component/s: (was: Database/Schema)
 Metastore
Summary: Add metastore upgrade scripts for column stats schema changes  
(was: Add upgrade script for column stats schema changes)

 Add metastore upgrade scripts for column stats schema changes
 -

 Key: HIVE-3678
 URL: https://issues.apache.org/jira/browse/HIVE-3678
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Reporter: Shreepadma Venugopalan
Assignee: Shreepadma Venugopalan
 Fix For: 0.10.0


 Add upgrade script for column statistics schema changes for 
 Postgres/MySQL/Oracle/Derby

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3437) 0.23 compatibility: fix unit tests when building against 0.23

2012-11-06 Thread Chris Drome (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Drome updated HIVE-3437:
--

Attachment: HIVE-3437-trunk-5.patch
HIVE-3437-0.9-5.patch

Rebased patches.

 0.23 compatibility: fix unit tests when building against 0.23
 -

 Key: HIVE-3437
 URL: https://issues.apache.org/jira/browse/HIVE-3437
 Project: Hive
  Issue Type: Bug
  Components: Tests
Affects Versions: 0.9.0, 0.10.0
Reporter: Chris Drome
Assignee: Chris Drome
 Fix For: 0.9.0, 0.10.0

 Attachments: HIVE-3437-0.9-1.patch, HIVE-3437-0.9-2.patch, 
 HIVE-3437-0.9-3.patch, HIVE-3437-0.9-4.patch, HIVE-3437-0.9-5.patch, 
 HIVE-3437-0.9.patch, HIVE-3437-trunk-1.patch, HIVE-3437-trunk-2.patch, 
 HIVE-3437-trunk-3.patch, HIVE-3437-trunk-4.patch, HIVE-3437-trunk-5.patch, 
 HIVE-3437-trunk.patch


 Many unit tests fail as a result of building the code against hadoop 0.23. 
 Initial focus will be to fix 0.9.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3403) user should not specify mapjoin to perform sort-merge bucketed join

2012-11-06 Thread Namit Jain (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Namit Jain updated HIVE-3403:
-

Attachment: hive.3403.4.patch

 user should not specify mapjoin to perform sort-merge bucketed join
 ---

 Key: HIVE-3403
 URL: https://issues.apache.org/jira/browse/HIVE-3403
 Project: Hive
  Issue Type: Bug
Reporter: Namit Jain
Assignee: Namit Jain
 Attachments: hive.3403.1.patch, hive.3403.2.patch, hive.3403.3.patch, 
 hive.3403.4.patch


 Currently, in order to perform a sort merge bucketed join, the user needs
 to set hive.optimize.bucketmapjoin.sortedmerge to true, and also specify the 
 mapjoin hint.
 The user should not specify any hints.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-1362) Column level scalar valued statistics on Tables and Partitions

2012-11-06 Thread Namit Jain (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13492156#comment-13492156
 ] 

Namit Jain commented on HIVE-1362:
--

I am getting some compile errors. Can you take a look ?

 Column level scalar valued statistics on Tables and Partitions
 --

 Key: HIVE-1362
 URL: https://issues.apache.org/jira/browse/HIVE-1362
 Project: Hive
  Issue Type: Sub-task
  Components: Statistics
Reporter: Ning Zhang
Assignee: Shreepadma Venugopalan
 Fix For: 0.10.0

 Attachments: HIVE-1362.10.patch.txt, HIVE-1362.1.patch.txt, 
 HIVE-1362.2.patch.txt, HIVE-1362.3.patch.txt, HIVE-1362.4.patch.txt, 
 HIVE-1362.5.patch.txt, HIVE-1362.6.patch.txt, HIVE-1362.7.patch.txt, 
 HIVE-1362.8.patch.txt, HIVE-1362.9.patch.txt, HIVE-1362.D6339.1.patch, 
 HIVE-1362_gen-thrift.10.patch.txt, HIVE-1362-gen_thrift.1.patch.txt, 
 HIVE-1362-gen_thrift.2.patch.txt, HIVE-1362-gen_thrift.3.patch.txt, 
 HIVE-1362-gen_thrift.4.patch.txt, HIVE-1362-gen_thrift.5.patch.txt, 
 HIVE-1362-gen_thrift.6.patch.txt, HIVE-1362_gen-thrift.7.patch.txt, 
 HIVE-1362_gen-thrift.8.patch.txt, HIVE-1362_gen-thrift.9.patch.txt




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (HIVE-3681) Compile errors after HIVE-1362

2012-11-06 Thread Namit Jain (JIRA)
Namit Jain created HIVE-3681:


 Summary: Compile errors after HIVE-1362
 Key: HIVE-3681
 URL: https://issues.apache.org/jira/browse/HIVE-3681
 Project: Hive
  Issue Type: Bug
Reporter: Namit Jain


Compile errors after HIVE-1362

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3647) map-side groupby wrongly due to HIVE-3432

2012-11-06 Thread Kevin Wilfong (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Wilfong updated HIVE-3647:


Status: Open  (was: Patch Available)

 map-side groupby wrongly due to HIVE-3432
 -

 Key: HIVE-3647
 URL: https://issues.apache.org/jira/browse/HIVE-3647
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Reporter: Namit Jain
Assignee: Namit Jain
 Attachments: hive.3647.1.patch, hive.3647.2.patch, hive.3647.3.patch


 There seems to be a bug due to HIVE-3432.
 We are converting the group by to a map side group by after only looking at
 sorting columns. This can give wrong results if the data is sorted and
 bucketed by different columns.
 Add some tests for that scenario, verify and fix any issues.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-3647) map-side groupby wrongly due to HIVE-3432

2012-11-06 Thread Kevin Wilfong (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13492164#comment-13492164
 ] 

Kevin Wilfong commented on HIVE-3647:
-

Agreed with Mark, Namit, can you make that change as well?

 map-side groupby wrongly due to HIVE-3432
 -

 Key: HIVE-3647
 URL: https://issues.apache.org/jira/browse/HIVE-3647
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Reporter: Namit Jain
Assignee: Namit Jain
 Attachments: hive.3647.1.patch, hive.3647.2.patch, hive.3647.3.patch


 There seems to be a bug due to HIVE-3432.
 We are converting the group by to a map side group by after only looking at
 sorting columns. This can give wrong results if the data is sorted and
 bucketed by different columns.
 Add some tests for that scenario, verify and fix any issues.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-3654) block relative path access in hive

2012-11-06 Thread Kevin Wilfong (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13492165#comment-13492165
 ] 

Kevin Wilfong commented on HIVE-3654:
-

+1

 block relative path access in hive
 --

 Key: HIVE-3654
 URL: https://issues.apache.org/jira/browse/HIVE-3654
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Reporter: Namit Jain
Assignee: Namit Jain
 Attachments: hive.3654.1.patch


 metadata only optimizer uses relative paths

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3675) NaN does not work correctly for round(n)

2012-11-06 Thread Kevin Wilfong (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Wilfong updated HIVE-3675:


Status: Open  (was: Patch Available)

 NaN does not work correctly for round(n)
 

 Key: HIVE-3675
 URL: https://issues.apache.org/jira/browse/HIVE-3675
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Reporter: Namit Jain
Assignee: Namit Jain
 Fix For: 0.10.0

 Attachments: hive.3675.1.patch, hive.3675.2.patch


 It works correctly for round(n, d)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-3675) NaN does not work correctly for round(n)

2012-11-06 Thread Kevin Wilfong (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13492167#comment-13492167
 ] 

Kevin Wilfong commented on HIVE-3675:
-

comment on diff

 NaN does not work correctly for round(n)
 

 Key: HIVE-3675
 URL: https://issues.apache.org/jira/browse/HIVE-3675
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Reporter: Namit Jain
Assignee: Namit Jain
 Fix For: 0.10.0

 Attachments: hive.3675.1.patch, hive.3675.2.patch


 It works correctly for round(n, d)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3649) Hive List Bucketing - enhance DDL to specify list bucketing table

2012-11-06 Thread Gang Tim Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gang Tim Liu updated HIVE-3649:
---

Attachment: HIVE-3649.patch.4

 Hive List Bucketing - enhance DDL to specify list bucketing table
 -

 Key: HIVE-3649
 URL: https://issues.apache.org/jira/browse/HIVE-3649
 Project: Hive
  Issue Type: New Feature
Affects Versions: 0.10.0
Reporter: Gang Tim Liu
 Attachments: HIVE-3649.patch.4


 We need to differ normal skewed table from list bucketing table. we use an 
 optional parameter store as DIRECTORIES
 4 main cases:
 1. create table name skewed by .. on .. stored as directories;
 2. alter table name skewed by .. on .. stored as directories;
 3. alter table name not skewed;
 4. alter table name not stored as directories;
 details in https://cwiki.apache.org/confluence/display/Hive/ListBucketing

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3649) Hive List Bucketing - enhance DDL to specify list bucketing table

2012-11-06 Thread Gang Tim Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-3649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gang Tim Liu updated HIVE-3649:
---

Fix Version/s: 0.10.0
   Status: Patch Available  (was: Open)

patch is available.

https://reviews.facebook.net/D6543

 Hive List Bucketing - enhance DDL to specify list bucketing table
 -

 Key: HIVE-3649
 URL: https://issues.apache.org/jira/browse/HIVE-3649
 Project: Hive
  Issue Type: New Feature
Affects Versions: 0.10.0
Reporter: Gang Tim Liu
 Fix For: 0.10.0

 Attachments: HIVE-3649.patch.4


 We need to differ normal skewed table from list bucketing table. we use an 
 optional parameter store as DIRECTORIES
 4 main cases:
 1. create table name skewed by .. on .. stored as directories;
 2. alter table name skewed by .. on .. stored as directories;
 3. alter table name not skewed;
 4. alter table name not stored as directories;
 details in https://cwiki.apache.org/confluence/display/Hive/ListBucketing

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (HIVE-3682) when output hive table to file,users should could have a separator of their own choice

2012-11-06 Thread caofangkun (JIRA)
caofangkun created HIVE-3682:


 Summary: when output hive table to file,users should could have a 
separator of their own choice
 Key: HIVE-3682
 URL: https://issues.apache.org/jira/browse/HIVE-3682
 Project: Hive
  Issue Type: New Feature
  Components: CLI
Affects Versions: 0.8.1
 Environment: Linux 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:34:47 
UTC 2011 i686 i686 i386 GNU/Linux
java version 1.6.0_25
hadoop-0.20.2-cdh3u0
hive-0.8.1
Reporter: caofangkun
Priority: Minor


By default,when output hive table to file ,columns of the Hive table are 
separated by ^A character (that is \001).
But indeed users should have the right to set a seperator of their own choice.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira