Re: GenericUDFXPath.getDisplayString

2015-02-06 Thread Jason Dere
Looks like it was copied directly from GenericUDFArray, though I can't account for the single quotes which look inconsistent with other UDFs On Feb 5, 2015, at 11:06 PM, Alexander Pivovarov apivova...@gmail.com wrote: Is GenericUDFXPath.getDisplayString() implementation correct? 1. it says

[jira] [Commented] (HIVE-9592) fix ArrayIndexOutOfBoundsException in date_add and date_sub initialize

2015-02-06 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14309609#comment-14309609 ] Jason Dere commented on HIVE-9592: -- Failures not related to this patch - looks like all 35

[jira] [Commented] (HIVE-9594) Add qtests for LAST_DAY udf

2015-02-06 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14309633#comment-14309633 ] Jason Dere commented on HIVE-9594: -- +1 if tests pass Add qtests for LAST_DAY udf

[jira] [Commented] (HIVE-9590) add qtests for ADD_MONTHS UDF

2015-02-05 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14307973#comment-14307973 ] Jason Dere commented on HIVE-9590: -- +1 add qtests for ADD_MONTHS UDF

[jira] [Commented] (HIVE-9592) fix ArrayIndexOutOfBoundsException in date_add and date_sub initialize

2015-02-05 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14307961#comment-14307961 ] Jason Dere commented on HIVE-9592: -- +1 fix ArrayIndexOutOfBoundsException in date_add

[jira] [Commented] (HIVE-9587) UDF decode should accept STRING_GROUP types for the second parameter

2015-02-05 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14307792#comment-14307792 ] Jason Dere commented on HIVE-9587: -- Thanks for taking care of this. +1 if tests look good

[jira] [Updated] (HIVE-9564) Extend HIVE-9298 for JsonSerDe

2015-02-05 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9564: - Resolution: Fixed Fix Version/s: 1.2.0 Status: Resolved (was: Patch Available

[jira] [Updated] (HIVE-9143) select user(), current_user()

2015-02-05 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9143: - Resolution: Fixed Fix Version/s: 1.2.0 Status: Resolved (was: Patch Available

[jira] [Updated] (HIVE-9143) select user(), current_user()

2015-02-05 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9143: - Labels: TODOC1.2 (was: ) select user(), current_user

[jira] [Updated] (HIVE-9567) JSON SerDe not escaping special chars when writing char/varchar data

2015-02-05 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9567: - Resolution: Fixed Fix Version/s: 1.2.0 Status: Resolved (was: Patch Available) I've

[jira] [Commented] (HIVE-9520) Create NEXT_DAY UDF

2015-02-04 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14305804#comment-14305804 ] Jason Dere commented on HIVE-9520: -- +1 Create NEXT_DAY UDF

[jira] [Updated] (HIVE-9567) JSON SerDe not escaping special chars when writing char/varchar data

2015-02-04 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9567: - Attachment: HIVE-9567.2.patch Added 2 unnecessary test methods to TestJsonSerDe, removing them in patch v2

[jira] [Commented] (HIVE-9564) Extend HIVE-9298 for JsonSerDe

2015-02-04 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14305719#comment-14305719 ] Jason Dere commented on HIVE-9564: -- Test failure does not appear to be related

[jira] [Commented] (HIVE-9567) JSON SerDe not escaping special chars when writing char/varchar data

2015-02-04 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14305728#comment-14305728 ] Jason Dere commented on HIVE-9567: -- test failures do not look related to this patch JSON

[jira] [Commented] (HIVE-9350) Add ability for HiveAuthorizer implementations to filter out results of 'show tables', 'show databases'

2015-02-04 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14306042#comment-14306042 ] Jason Dere commented on HIVE-9350: -- +1 Add ability for HiveAuthorizer implementations

[jira] [Commented] (HIVE-9518) Implement MONTHS_BETWEEN aligned with Oracle one

2015-02-04 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14306103#comment-14306103 ] Jason Dere commented on HIVE-9518: -- Are you able to update the RB? Implement

Re: Review Request 30437: Implement MONTHS_BETWEEN aligned with Oracle one

2015-02-04 Thread Jason Dere
On Feb. 4, 2015, 11:13 p.m., Alexander Pivovarov wrote: ql/src/test/queries/clientnegative/udf_months_between_error1.q, line 1 https://reviews.apache.org/r/30437/diff/2/?file=848940#file848940line1 valid query. result should be null but not error Using the NULL constant is a bit of

[jira] [Updated] (HIVE-9518) Implement MONTHS_BETWEEN aligned with Oracle one

2015-02-04 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9518: - Status: Patch Available (was: Open) Next time please set this to patch available state so the precommit

[jira] [Updated] (HIVE-9564) Extend HIVE-9298 for JsonSerDe

2015-02-03 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9564: - Status: Patch Available (was: Open) Extend HIVE-9298 for JsonSerDe

[jira] [Updated] (HIVE-9564) Extend HIVE-9298 for JsonSerDe

2015-02-03 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9564: - Attachment: HIVE-9564.1.patch Attaching initial patch Extend HIVE-9298 for JsonSerDe

[jira] [Updated] (HIVE-9298) Support reading alternate timestamp formats

2015-02-03 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9298: - Issue Type: Improvement (was: Bug) Support reading alternate timestamp formats

[jira] [Created] (HIVE-9564) Extend HIVE-9298 for JsonSerDe

2015-02-03 Thread Jason Dere (JIRA)
Jason Dere created HIVE-9564: Summary: Extend HIVE-9298 for JsonSerDe Key: HIVE-9564 URL: https://issues.apache.org/jira/browse/HIVE-9564 Project: Hive Issue Type: Improvement

[jira] [Commented] (HIVE-9143) select user(), current_user()

2015-02-03 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14303883#comment-14303883 ] Jason Dere commented on HIVE-9143: -- +1 select user(), current_user

Re: Review Request 30487: HIVE-9143 impl current_user() udf

2015-02-03 Thread Jason Dere
/GenericUDFCurrentUser.java https://reviews.apache.org/r/30487/#comment116107 Thejas would probably know the answer to this - does getUserFromAuthenticator() still return a value even if SQL Std auth is not enabled? - Jason Dere On Feb. 2, 2015, 10:42 p.m., Alexander Pivovarov wrote

Re: Review Request 30575: HIVE-9350 : Add ability for HiveAuthorizer implementations to filter out results of 'show tables', 'show databases'

2015-02-03 Thread Jason Dere
https://reviews.apache.org/r/30575/#comment116321 Perhaps mention in a comment that this should only be called for V2 authorization, or maybe add a check at the top of the method to return if !isAuthorizationModeV2() - Jason Dere On Feb. 3, 2015, 7:27 p.m., Thejas Nair wrote

[jira] [Commented] (HIVE-5472) support a simple scalar which returns the current timestamp

2015-02-03 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-5472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14303018#comment-14303018 ] Jason Dere commented on HIVE-5472: -- Don't think the test properties need additional doc

[jira] [Created] (HIVE-9567) JSON SerDe not escaping special chars when writing char/varchar data

2015-02-03 Thread Jason Dere (JIRA)
Jason Dere created HIVE-9567: Summary: JSON SerDe not escaping special chars when writing char/varchar data Key: HIVE-9567 URL: https://issues.apache.org/jira/browse/HIVE-9567 Project: Hive

[jira] [Updated] (HIVE-9567) JSON SerDe not escaping special chars when writing char/varchar data

2015-02-03 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9567: - Attachment: HIVE-9567.1.patch JSON SerDe not escaping special chars when writing char/varchar data

Re: HIVE-9520 NEXT_DAY UDF review

2015-02-03 Thread Jason Dere
I'll try to give it a look later today. Jason On Feb 3, 2015, at 12:46 PM, Alexander Pivovarov apivova...@gmail.com wrote: Hi Everyone Can anyone review HIVE-9520 NEXT_DAY UDF ? https://issues.apache.org/jira/browse/HIVE-9520 https://reviews.apache.org/r/30472/ patch #1 uploaded 3

[jira] [Updated] (HIVE-9567) JSON SerDe not escaping special chars when writing char/varchar data

2015-02-03 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9567: - Status: Patch Available (was: Open) JSON SerDe not escaping special chars when writing char/varchar data

Re: Review Request 30472: HIVE-9520 NEXT_DAY udf

2015-02-03 Thread Jason Dere
, not a necessary fix, this does get the job done. ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFNextDay.java https://reviews.apache.org/r/30472/#comment116347 same here regarding returning null vs throwing exception - Jason Dere On Feb. 2, 2015, 11:33 p.m., Alexander Pivovarov wrote

[jira] [Commented] (HIVE-9520) Create NEXT_DAY UDF

2015-02-02 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14301932#comment-14301932 ] Jason Dere commented on HIVE-9520: -- Looks like I need to RTM before I make assumptions

[jira] [Commented] (HIVE-9520) Create NEXT_DAY UDF

2015-02-02 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14301721#comment-14301721 ] Jason Dere commented on HIVE-9520: -- Hive already has date_add(), this udf is equivalent

[jira] [Updated] (HIVE-5472) support a simple scalar which returns the current timestamp

2015-02-02 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-5472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-5472: - Resolution: Fixed Fix Version/s: 1.2.0 Status: Resolved (was: Patch Available) I've

Re: Review Request 30437: Implement MONTHS_BETWEEN aligned with Oracle one

2015-01-30 Thread Jason Dere
-02-02') - Jason Dere On Jan. 30, 2015, 1:43 a.m., XIAOBING ZHOU wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30437

[jira] [Commented] (HIVE-9518) Implement MONTHS_BETWEEN aligned with Oracle one

2015-01-30 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14299258#comment-14299258 ] Jason Dere commented on HIVE-9518: -- Left some comments on RB. Also, can you add a q-file

Re: Review Request 29898: HIVE-9298: Support reading alternate timestamp formats

2015-01-30 Thread Jason Dere
/diff/ Testing --- Added CliDriver/HBaseCliDriver qfile tests Thanks, Jason Dere

[jira] [Updated] (HIVE-9298) Support reading alternate timestamp formats

2015-01-30 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9298: - Status: Patch Available (was: Open) Support reading alternate timestamp formats

[jira] [Updated] (HIVE-9298) Support reading alternate timestamp formats

2015-01-30 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9298: - Attachment: HIVE-9298.3.patch patch v3, changes per RB feedback: - Add Joda to shade goal - Use

Re: Review Request 29898: HIVE-9298: Support reading alternate timestamp formats

2015-01-30 Thread Jason Dere
let you do such parsing. Will be good to reuse that, if available. Jason Dere wrote: Not sure if the commons/guava libs have something to escape commas (please correct me if I am wrong). I see that Hive uses opencsv which handles CSV-style escaping, I will use this to parse the list

[jira] [Commented] (HIVE-5472) support a simple scalar which returns the current timestamp

2015-01-29 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-5472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14297406#comment-14297406 ] Jason Dere commented on HIVE-5472: -- Looks like these test failures have been failing

Re: Review Request 29898: HIVE-9298: Support reading alternate timestamp formats

2015-01-28 Thread Jason Dere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29898/#review69930 --- On Jan. 20, 2015, 12:34 a.m., Jason Dere wrote

Re: Review Request 29900: HIVE-5472 support a simple scalar which returns the current timestamp

2015-01-28 Thread Jason Dere
--- qfile test added Thanks, Jason Dere

[jira] [Updated] (HIVE-5472) support a simple scalar which returns the current timestamp

2015-01-28 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-5472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-5472: - Attachment: HIVE-5472.3.patch Patch v3, incorporating review feedback. support a simple scalar which

Re: Review Request 29900: HIVE-5472 support a simple scalar which returns the current timestamp

2015-01-28 Thread Jason Dere
. To reply, visit: https://reviews.apache.org/r/29900/#review70083 --- On Jan. 19, 2015, 10:01 p.m., Jason Dere wrote: --- This is an automatically generated e-mail. To reply, visit: https

Re: Review Request 29900: HIVE-5472 support a simple scalar which returns the current timestamp

2015-01-28 Thread Jason Dere
--- On Jan. 19, 2015, 10:01 p.m., Jason Dere wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29900

[jira] [Updated] (HIVE-5472) support a simple scalar which returns the current timestamp

2015-01-28 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-5472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-5472: - Attachment: HIVE-5472.4.patch patch v4 - removing unnecessary null initialization per [~apivovarov

[jira] [Commented] (HIVE-9473) sql std auth should disallow built-in udfs that allow any java methods to be called

2015-01-28 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14295685#comment-14295685 ] Jason Dere commented on HIVE-9473: -- I think this looks fine. +1 if precommit run looks

[jira] [Resolved] (HIVE-9459) Concat plus date functions appear to be broken in 0.14

2015-01-27 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere resolved HIVE-9459. -- Resolution: Duplicate Concat plus date functions appear to be broken in 0.14

[jira] [Commented] (HIVE-9459) Concat plus date functions appear to be broken in 0.14

2015-01-27 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14294577#comment-14294577 ] Jason Dere commented on HIVE-9459: -- I suspect this is due to HIVE-9278. [~navis], can you

[jira] [Updated] (HIVE-9369) fix arguments length checking in Upper and Lower UDF

2015-01-27 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9369: - Fix Version/s: 0.15.0 fix arguments length checking in Upper and Lower UDF

[jira] [Updated] (HIVE-9366) wrong date in description annotation in date_add() and date_sub() udf

2015-01-27 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9366: - Fix Version/s: 0.15.0 wrong date in description annotation in date_add() and date_sub() udf

[jira] [Updated] (HIVE-9396) date_add()/date_sub() should allow tinyint/smallint/bigint arguments in addition to int

2015-01-26 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9396: - Resolution: Fixed Status: Resolved (was: Patch Available) I've committed this to trunk, thanks

[jira] [Commented] (HIVE-7270) SerDe Properties are not considered by show create table Command

2015-01-23 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14290138#comment-14290138 ] Jason Dere commented on HIVE-7270: -- Would like to add this to 0.14.1/1.0 branch SerDe

[jira] [Commented] (HIVE-9446) JDBC DatabaseMetadata.getColumns() does not work for temporary tables

2015-01-23 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14290030#comment-14290030 ] Jason Dere commented on HIVE-9446: -- Failures do not look related to the patch

Re: Tests errors in precommit build

2015-01-23 Thread Jason Dere
Looks like this was an issue with 1.0.0-incubating-SNAPSHOT. On my local build I removed the existing org/apache/calcite/ from my local Maven repository and looks like things are working again. On Jan 23, 2015, at 4:01 AM, Jesus Camacho Rodriguez jcamachorodrig...@hortonworks.com wrote: Hi,

[jira] [Assigned] (HIVE-5021) Add Interval data type

2015-01-23 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-5021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere reassigned HIVE-5021: Assignee: Jason Dere Add Interval data type -- Key: HIVE

[jira] [Updated] (HIVE-9402) Create GREATEST and LEAST udf

2015-01-23 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9402: - Labels: TODOC15 (was: ) Create GREATEST and LEAST udf

[jira] [Updated] (HIVE-9446) JDBC DatabaseMetadata.getColumns() does not work for temporary tables

2015-01-23 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9446: - Resolution: Fixed Fix Version/s: 0.15.0 Status: Resolved (was: Patch Available

[jira] [Updated] (HIVE-7270) SerDe Properties are not considered by show create table Command

2015-01-23 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-7270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-7270: - Fix Version/s: 0.14.1 Committed to 0.14/1.0 branches SerDe Properties are not considered by show create

[jira] [Updated] (HIVE-9402) Create GREATEST and LEAST udf

2015-01-23 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9402: - Resolution: Fixed Fix Version/s: 0.15.0 Status: Resolved (was: Patch Available) I've

[jira] [Commented] (HIVE-9361) Intermittent NPE in SessionHiveMetaStoreClient.alterTempTable

2015-01-23 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14290338#comment-14290338 ] Jason Dere commented on HIVE-9361: -- +1 Intermittent NPE

[jira] [Created] (HIVE-9446) JDBC DatabaseMetadata.getColumns() does not work for temporary tables

2015-01-22 Thread Jason Dere (JIRA)
Jason Dere created HIVE-9446: Summary: JDBC DatabaseMetadata.getColumns() does not work for temporary tables Key: HIVE-9446 URL: https://issues.apache.org/jira/browse/HIVE-9446 Project: Hive

[jira] [Updated] (HIVE-9446) JDBC DatabaseMetadata.getColumns() does not work for temporary tables

2015-01-22 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9446: - Status: Patch Available (was: Open) JDBC DatabaseMetadata.getColumns() does not work for temporary

[jira] [Updated] (HIVE-9446) JDBC DatabaseMetadata.getColumns() does not work for temporary tables

2015-01-22 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9446: - Attachment: HIVE-9446.1.patch Hive temp tables use SessionHiveMetaStoreClient to override certain methods

[jira] [Commented] (HIVE-9402) Create GREATEST and LEAST udf

2015-01-22 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14288060#comment-14288060 ] Jason Dere commented on HIVE-9402: -- +1 Create GREATEST and LEAST udf

[jira] [Updated] (HIVE-9402) Create GREATEST and LEAST udf

2015-01-21 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9402: - Status: Patch Available (was: Open) Create GREATEST and LEAST udf

[jira] [Updated] (HIVE-9402) Create GREATEST and LEAST udf

2015-01-21 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9402: - Status: Open (was: Patch Available) Create GREATEST and LEAST udf

[jira] [Updated] (HIVE-9402) Create GREATEST and LEAST udf

2015-01-21 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9402: - Attachment: HIVE-9402.7.patch uploading patch (same as v6) to trigger precommit tests. Create GREATEST

[jira] [Commented] (HIVE-9396) date_add()/date_sub() should allow tinyint/smallint/bigint arguments in addition to int

2015-01-20 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14284601#comment-14284601 ] Jason Dere commented on HIVE-9396: -- Test failures are not related. +1 date_add

[jira] [Commented] (HIVE-9298) Support reading alternate timestamp formats

2015-01-20 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14284585#comment-14284585 ] Jason Dere commented on HIVE-9298: -- I don't think these failures are related to the patch

[jira] [Updated] (HIVE-9396) date_add()/date_sub() should allow tinyint/smallint/bigint arguments in addition to int

2015-01-19 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9396: - Status: Patch Available (was: Open) date_add()/date_sub() should allow tinyint/smallint/bigint arguments

Re: Review Request 29898: HIVE-9298: Support reading alternate timestamp formats

2015-01-19 Thread Jason Dere
/LazyTimestampObjectInspector.java 0d15054 Diff: https://reviews.apache.org/r/29898/diff/ Testing --- Added CliDriver/HBaseCliDriver qfile tests Thanks, Jason Dere

[jira] [Updated] (HIVE-9298) Support reading alternate timestamp formats

2015-01-19 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9298: - Attachment: HIVE-9298.2.patch Failures in unit test were because lazy map object inspector cache

[jira] [Updated] (HIVE-9396) date_add()/date_sub() should allow tinyint/smallint/bigint arguments in addition to int

2015-01-19 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9396: - Status: Open (was: Patch Available) date_add()/date_sub() should allow tinyint/smallint/bigint arguments

[jira] [Commented] (HIVE-5472) support a simple scalar which returns the current timestamp

2015-01-19 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-5472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14283065#comment-14283065 ] Jason Dere commented on HIVE-5472: -- test failures do not appear to be related support

Re: Review Request 29900: HIVE-5472 support a simple scalar which returns the current timestamp

2015-01-19 Thread Jason Dere
/results/clientpositive/show_functions.q.out 9ecb0a0 Diff: https://reviews.apache.org/r/29900/diff/ Testing --- qfile test added Thanks, Jason Dere

[jira] [Updated] (HIVE-5472) support a simple scalar which returns the current timestamp

2015-01-19 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-5472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-5472: - Attachment: HIVE-5472.2.patch Patch v2: - currentDate/currentTimestamp need to implement copyToNewInstance

[jira] [Updated] (HIVE-9357) Create ADD_MONTHS UDF

2015-01-19 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9357: - Resolution: Fixed Fix Version/s: 0.15.0 Status: Resolved (was: Patch Available

[jira] [Updated] (HIVE-9358) Create LAST_DAY UDF

2015-01-19 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9358: - Resolution: Fixed Fix Version/s: 0.15.0 Status: Resolved (was: Patch Available

[jira] [Updated] (HIVE-9366) wrong date in description annotation in date_add() and date_sub() udf

2015-01-19 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9366: - Resolution: Fixed Status: Resolved (was: Patch Available) I've committed this, but accidentally

[jira] [Updated] (HIVE-9369) fix arguments length checking in Upper and Lower UDF

2015-01-19 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9369: - Resolution: Fixed Status: Resolved (was: Patch Available) Committed to trunk. fix arguments

[jira] [Commented] (HIVE-9357) Create ADD_MONTHS UDF

2015-01-16 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14280007#comment-14280007 ] Jason Dere commented on HIVE-9357: -- Before I check this in, can you add the Apache header

[jira] [Commented] (HIVE-9358) Create LAST_DAY UDF

2015-01-16 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14280012#comment-14280012 ] Jason Dere commented on HIVE-9358: -- +1 Create LAST_DAY UDF

[jira] [Created] (HIVE-9396) date_add()/date_sub() should allow tinyint/smallint/bigint arguments in addition to int

2015-01-16 Thread Jason Dere (JIRA)
Jason Dere created HIVE-9396: Summary: date_add()/date_sub() should allow tinyint/smallint/bigint arguments in addition to int Key: HIVE-9396 URL: https://issues.apache.org/jira/browse/HIVE-9396 Project

[jira] [Commented] (HIVE-9396) date_add()/date_sub() should allow tinyint/smallint/bigint arguments in addition to int

2015-01-16 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14280577#comment-14280577 ] Jason Dere commented on HIVE-9396: -- Hi [~spena], I am not working on it, you are free

[jira] [Commented] (HIVE-9396) date_add()/date_sub() should allow tinyint/smallint/bigint arguments in addition to int

2015-01-16 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14280953#comment-14280953 ] Jason Dere commented on HIVE-9396: -- Oh, hadn't thought about the bigint case .. I would

[jira] [Commented] (HIVE-9357) Create ADD_MONTHS UDF

2015-01-15 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14279163#comment-14279163 ] Jason Dere commented on HIVE-9357: -- Agreed

[jira] [Commented] (HIVE-9357) Create ADD_MONTHS UDF

2015-01-14 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14277509#comment-14277509 ] Jason Dere commented on HIVE-9357: -- Interesting - and the behavior for Oracle add_months

Review Request 29898: HIVE-9298: Support reading alternate timestamp formats

2015-01-14 Thread Jason Dere
Diff: https://reviews.apache.org/r/29898/diff/ Testing --- Added CliDriver/HBaseCliDriver qfile tests Thanks, Jason Dere

[jira] [Updated] (HIVE-5472) support a simple scalar which returns the current timestamp

2015-01-14 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-5472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-5472: - Assignee: Jason Dere Status: Patch Available (was: Open) support a simple scalar which returns

[jira] [Updated] (HIVE-5472) support a simple scalar which returns the current timestamp

2015-01-14 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-5472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-5472: - Attachment: HIVE-5472.1.patch Initial patch, contains current_timestamp and current_date UDFs support

[jira] [Updated] (HIVE-9298) Support reading alternate timestamp formats

2015-01-14 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9298: - Status: Patch Available (was: Open) Support reading alternate timestamp formats

Review Request 29900: HIVE-5472 support a simple scalar which returns the current timestamp

2015-01-14 Thread Jason Dere
/results/clientpositive/current_date_timestamp.q.out PRE-CREATION Diff: https://reviews.apache.org/r/29900/diff/ Testing --- qfile test added Thanks, Jason Dere

[jira] [Updated] (HIVE-9298) Support reading alternate timestamp formats

2015-01-14 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-9298: - Attachment: HIVE-9298.1.patch Initial patch. This adds a new serde property timestamp.formats to pass

Re: mistake in udf_date_add.q.out

2015-01-13 Thread Jason Dere
Yeah I think you're right, can you file a Jira? Looks like the @Description annotation needs to be fixed for both date_add() and date_sub() On Jan 13, 2015, at 10:42 AM, Alexander Pivovarov apivova...@gmail.com wrote: files: ql/src/test/results/clientpositive/udf_date_add.q.out

[jira] [Commented] (HIVE-9366) wrong date in description annotation in date_add() and date_sub() udf

2015-01-13 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14276362#comment-14276362 ] Jason Dere commented on HIVE-9366: -- +1 if tests pass wrong date in description

[jira] [Commented] (HIVE-9357) Create ADD_MONTHS UDF

2015-01-13 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14276404#comment-14276404 ] Jason Dere commented on HIVE-9357: -- Not sure I agree with these last day of month

[jira] [Commented] (HIVE-9369) fix arguments length checking in Upper and Lower UDF

2015-01-13 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-9369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14276343#comment-14276343 ] Jason Dere commented on HIVE-9369: -- +1 if tests pass fix arguments length checking

[jira] [Updated] (HIVE-3405) UDF initcap to obtain a string with the first letter of each word in uppercase other letters in lowercase

2015-01-12 Thread Jason Dere (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-3405: - Resolution: Fixed Fix Version/s: 0.15.0 Status: Resolved (was: Patch Available

<    1   2   3   4   5   6   7   8   9   10   >