Re: non-string partition columns

2012-05-29 Thread Aniket Mokashi
We are using non-string partition columns in production as well. Thanks, Aniket On Sat, May 26, 2012 at 1:20 AM, Philip Tromans wrote: > We're using non-string partition columns in production. I think non string > partition columns are a good thing to have - it allows you to do all sorts > of da

[jira] [Created] (HIVE-3062) Insert into table overwrites existing table if table name contains uppercase character

2012-05-29 Thread Navis (JIRA)
Navis created HIVE-3062: --- Summary: Insert into table overwrites existing table if table name contains uppercase character Key: HIVE-3062 URL: https://issues.apache.org/jira/browse/HIVE-3062 Project: Hive

[jira] [Updated] (HIVE-3062) Insert into table overwrites existing table if table name contains uppercase character

2012-05-29 Thread Navis (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-3062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Navis updated HIVE-3062: Status: Patch Available (was: Open) https://reviews.facebook.net/D3423 > Insert into table overwri

[jira] [Commented] (HIVE-3054) Simple reconnection support for JDBC

2012-05-29 Thread Navis (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-3054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284820#comment-13284820 ] Navis commented on HIVE-3054: - It does not support session recovery yet (waiting on HIVE-2935)

[jira] [Resolved] (HIVE-2964) Provide object inspectors of all visible columns for TOK_FUNCTIONSTAR type UDAF

2012-05-29 Thread Navis (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Navis resolved HIVE-2964. - Resolution: Invalid Seemed useful but with map-side aggregation, it cannot have clear semantic. >

perl code generated from thrift

2012-05-29 Thread Stephen Sprague
Hi Good People, I am totally stumped on this one. Wondered if a "perl" bindings chap on this list might be able to help me. I generated the ThrftHive.pm class as follows (see below) from my download area. I've tested some basic examples of querying - and it works well. The one thing that i can't

Re: perl code generated from thrift

2012-05-29 Thread Edward Capriolo
Hive uses thrift in two places 1) HiveServer 2)Metastore . Search in the metastore directory for the thrift interface file and compile that. Then you should get a class generated for hive_metastore.Schema Edward On Tue, May 29, 2012 at 11:46 AM, Stephen Sprague wrote: > Hi Good People, > I am

Re: non-string partition columns

2012-05-29 Thread Edward Capriolo
We use them to we store our dates as integers like 20120130. This allows us to do partition pruning with ranges. On Tue, May 29, 2012 at 4:10 AM, Aniket Mokashi wrote: > We are using non-string partition columns in production as well. > > Thanks, > Aniket > > On Sat, May 26, 2012 at 1:20 AM, Phil

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

2012-05-29 Thread Apache Jenkins Server
See -- [...truncated 10108 lines...] [echo] Project: odbc [copy] Warning: /x1/jenkins/jenkins-slave/workspace/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/hive/odbc/src/co

Re: non-string partition columns

2012-05-29 Thread Namit Jain
OK, I will keep the support. Add special casing for string columns in DDLTask On 5/29/12 9:27 AM, "Edward Capriolo" wrote: >We use them to we store our dates as integers like 20120130. This >allows us to do partition pruning with ranges. > >On Tue, May 29, 2012 at 4:10 AM, Aniket Mokashi >wrote

Re: perl code generated from thrift

2012-05-29 Thread Stephen Sprague
thanks Ed. Something just isn't quite right. in .$HOME/downloads/hive-0.9.0/src/metastore/if/hive_metastore.thrift there is a 'struct Schema' entry but all attempts to generate the perl code for that seem to come up empty. looking at -gen py and the associated code i see this code frag in Thrif

[jira] [Updated] (HIVE-3001) Returning Meaningful Error Codes & Messages

2012-05-29 Thread Ashutosh Chauhan (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-3001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Chauhan updated HIVE-3001: --- Affects Version/s: 0.9.0 Fix Version/s: (was: 0.9.0) 0.10.0

Re: non-string partition columns

2012-05-29 Thread Ashutosh Chauhan
FWIW.. HCatalog only allows partition columns of type string precisely because in backend datastore type information is not recorded. In my opinion, partition type should be restricted to type string until we fix this problem, otherwise it gives unexpected behavior to endusers and/or bug-reps. One

Re: perl code generated from thrift

2012-05-29 Thread Edward Capriolo
I never tried to this exactly but are you sure your thrift version matches what hive is using? If not I would consider talking to the #thrift guys because thrift SHOULD_BE generating bindings for every language roughly the same. (How is that for passing the buck?) Edward On Tue, May 29, 2012 at 1

Re: perl code generated from thrift

2012-05-29 Thread Stephen Sprague
Thanks Ed. I'll be glad to bark up another tree - just want to make sure its the most relevant tree! :) In my case i'm not sure if its a hive or thrift domain issue i have. Ultimately though like you suggest if "thrift -gen perl" and "thrift -gen py" _given the same input_ don't quite generate

Hive-trunk-h0.21 - Build # 1456 - Failure

2012-05-29 Thread Apache Jenkins Server
Changes for Build #1456 1 tests failed. REGRESSION: org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_script_broken_pipe1 Error Message: Unexpected exception See build/ql/tmp/hive.log, or try "ant test ... -Dtest.silent=false" to get more logs. Stack Trace: junit.framew

Jenkins build is back to normal : Hive-0.9.1-SNAPSHOT-h0.21 #31

2012-05-29 Thread Apache Jenkins Server
See

[jira] [Assigned] (HIVE-3057) metastore.HiveMetaStore$HMSHandler should set the thread local raw store to null in shutdown()

2012-05-29 Thread Travis Crawford (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-3057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Travis Crawford reassigned HIVE-3057: - Assignee: Travis Crawford > metastore.HiveMetaStore$HMSHandler should set the thread l

[jira] [Created] (HIVE-3063) drop partition for non-string columns is failing

2012-05-29 Thread Namit Jain (JIRA)
Namit Jain created HIVE-3063: Summary: drop partition for non-string columns is failing Key: HIVE-3063 URL: https://issues.apache.org/jira/browse/HIVE-3063 Project: Hive Issue Type: Bug