[jira] [Commented] (HIVE-2702) listPartitionsByFilter only supports non-string partitions

2012-03-18 Thread Aniket Mokashi (Commented) (JIRA)

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

Aniket Mokashi commented on HIVE-2702:
--

I agree on your comment, I didn't catch it earlier. I wonder if there is an 
elegant workaround for this. 

 listPartitionsByFilter only supports non-string partitions
 --

 Key: HIVE-2702
 URL: https://issues.apache.org/jira/browse/HIVE-2702
 Project: Hive
  Issue Type: Bug
Affects Versions: 0.8.1
Reporter: Aniket Mokashi
Assignee: Aniket Mokashi
 Attachments: HIVE-2702.1.patch, HIVE-2702.D2043.1.patch


 listPartitionsByFilter supports only non-string partitions. This is because 
 its explicitly specified in generateJDOFilterOverPartitions in 
 ExpressionTree.java. 
 //Can only support partitions whose types are string
   if( ! table.getPartitionKeys().get(partitionColumnIndex).
   
 getType().equals(org.apache.hadoop.hive.serde.Constants.STRING_TYPE_NAME) ) {
 throw new MetaException
 (Filtering is supported only on partition keys of type string);
   }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Hive-trunk-h0.21 - Build # 1319 - Fixed

2012-03-18 Thread Apache Jenkins Server
Changes for Build #1318

Changes for Build #1319



All tests passed

The Apache Jenkins build system has built Hive-trunk-h0.21 (build #1319)

Status: Fixed

Check console output at https://builds.apache.org/job/Hive-trunk-h0.21/1319/ to 
view the results.

[jira] [Resolved] (HIVE-2686) Test ppr_pushdown.q is failing on trunk

2012-03-18 Thread Navis (Resolved) (JIRA)

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

Navis resolved HIVE-2686.
-

Resolution: Duplicate

Fixed by HIVE-2249 and HIVE-2755

 Test ppr_pushdown.q is failing on trunk
 ---

 Key: HIVE-2686
 URL: https://issues.apache.org/jira/browse/HIVE-2686
 Project: Hive
  Issue Type: Test
  Components: Testing Infrastructure
Affects Versions: 0.9.0
Reporter: Ashutosh Chauhan
Assignee: Navis
Priority: Minor
 Fix For: 0.9.0

 Attachments: HIVE-2686.D1215.1.patch, HIVE-2686.D1215.2.patch, 
 HIVE-2686.D1215.3.patch


 {noformat}
 $  ant test -Dtestcase=TestCliDriver -Dqfile=ppr_pushdown.q
 [junit] See build/ql/tmp/hive.log, or try ant test ... 
 -Dtest.silent=false to get more logs.
 [junit]   at junit.framework.Assert.fail(Assert.java:50)
 [junit]   at 
 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_ppr_pushdown(TestCliDriver.java:129)
 [junit]   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [junit]   at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 [junit]   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [junit]   at java.lang.reflect.Method.invoke(Method.java:597)
 [junit]   at junit.framework.TestCase.runTest(TestCase.java:168)
 [junit]   at junit.framework.TestCase.runBare(TestCase.java:134)
 [junit]   at junit.framework.TestResult$1.protect(TestResult.java:110)
 [junit]   at junit.framework.TestResult.runProtected(TestResult.java:128)
 [junit]   at junit.framework.TestResult.run(TestResult.java:113)
 [junit]   at junit.framework.TestCase.run(TestCase.java:124)
 [junit]   at junit.framework.TestSuite.runTest(TestSuite.java:243)
 [junit]   at junit.framework.TestSuite.run(TestSuite.java:238)
 [junit]   at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
 [junit]   at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
 [junit]   at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
 [junit] 178d177
 [junit]  12341234
 [junit] 179a179
 [junit]  12341234
 [junit] 196d195
 [junit]  12241224
 [junit] 197a197
 [junit]  12241224
 [junit] 214d213
 [junit] Exception: Client execution results failed with error code = 1
 [junit] See build/ql/tmp/hive.log, or try ant test ... 
 -Dtest.silent=false to get more logs.
 [junit]  12141214
 [junit] 215a215
 [junit]  12141214
 [junit] 232d231
 [junit]  12.412.4
 [junit] 233a233
 [junit]  12.412.4
 [junit] 250d249
 [junit]  12+412+4
 [junit] 251a251
 [junit]  12+412+4
 [junit] 268d267
 [junit]  12:412:4
 [junit] 269a269
 [junit]  12:412:4
 [junit] 286d285
 [junit]  12%412%4
 [junit] 287a287
 [junit]  12%412%4
 [junit] 304d303
 [junit]  12*412*4
 [junit] 305a305
 [junit]  12*412*4
 [junit] Cleaning up TestCliDriver
 [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 137.556 sec
 [junit] Test org.apache.hadoop.hive.cli.TestCliDriver FAILED
 {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HIVE-2686) Test ppr_pushdown.q is failing on trunk

2012-03-18 Thread Phabricator (Commented) (JIRA)

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

Phabricator commented on HIVE-2686:
---

navis has abandoned the revision HIVE-2686 [jira] Test ppr_pushdown.q is 
failing on trunk.

  Issue was fixed by HIVE-2249 and HIVE-2755.

REVISION DETAIL
  https://reviews.facebook.net/D1215


 Test ppr_pushdown.q is failing on trunk
 ---

 Key: HIVE-2686
 URL: https://issues.apache.org/jira/browse/HIVE-2686
 Project: Hive
  Issue Type: Test
  Components: Testing Infrastructure
Affects Versions: 0.9.0
Reporter: Ashutosh Chauhan
Assignee: Navis
Priority: Minor
 Fix For: 0.9.0

 Attachments: HIVE-2686.D1215.1.patch, HIVE-2686.D1215.2.patch, 
 HIVE-2686.D1215.3.patch


 {noformat}
 $  ant test -Dtestcase=TestCliDriver -Dqfile=ppr_pushdown.q
 [junit] See build/ql/tmp/hive.log, or try ant test ... 
 -Dtest.silent=false to get more logs.
 [junit]   at junit.framework.Assert.fail(Assert.java:50)
 [junit]   at 
 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_ppr_pushdown(TestCliDriver.java:129)
 [junit]   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [junit]   at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 [junit]   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [junit]   at java.lang.reflect.Method.invoke(Method.java:597)
 [junit]   at junit.framework.TestCase.runTest(TestCase.java:168)
 [junit]   at junit.framework.TestCase.runBare(TestCase.java:134)
 [junit]   at junit.framework.TestResult$1.protect(TestResult.java:110)
 [junit]   at junit.framework.TestResult.runProtected(TestResult.java:128)
 [junit]   at junit.framework.TestResult.run(TestResult.java:113)
 [junit]   at junit.framework.TestCase.run(TestCase.java:124)
 [junit]   at junit.framework.TestSuite.runTest(TestSuite.java:243)
 [junit]   at junit.framework.TestSuite.run(TestSuite.java:238)
 [junit]   at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
 [junit]   at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
 [junit]   at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
 [junit] 178d177
 [junit]  12341234
 [junit] 179a179
 [junit]  12341234
 [junit] 196d195
 [junit]  12241224
 [junit] 197a197
 [junit]  12241224
 [junit] 214d213
 [junit] Exception: Client execution results failed with error code = 1
 [junit] See build/ql/tmp/hive.log, or try ant test ... 
 -Dtest.silent=false to get more logs.
 [junit]  12141214
 [junit] 215a215
 [junit]  12141214
 [junit] 232d231
 [junit]  12.412.4
 [junit] 233a233
 [junit]  12.412.4
 [junit] 250d249
 [junit]  12+412+4
 [junit] 251a251
 [junit]  12+412+4
 [junit] 268d267
 [junit]  12:412:4
 [junit] 269a269
 [junit]  12:412:4
 [junit] 286d285
 [junit]  12%412%4
 [junit] 287a287
 [junit]  12%412%4
 [junit] 304d303
 [junit]  12*412*4
 [junit] 305a305
 [junit]  12*412*4
 [junit] Cleaning up TestCliDriver
 [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 137.556 sec
 [junit] Test org.apache.hadoop.hive.cli.TestCliDriver FAILED
 {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira