[jira] [Updated] (HIVE-2714) Lots of special characters are not handled in LIKE
[ https://issues.apache.org/jira/browse/HIVE-2714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2714: - Attachment: HIVE-2714.D1239.1.patch > Lots of special characters are not handled in LIKE > -- > > Key: HIVE-2714 > URL: https://issues.apache.org/jira/browse/HIVE-2714 > Project: Hive > Issue Type: Bug >Reporter: Jonathan Chang >Assignee: Jonathan Chang > Attachments: HIVE-2714.D1239.1.patch, HIVE-2714.D1239.1.patch > > > Currently LIKE converts the string to a regular expression. It tries to > handle special characters but many are not correctly handled, e.g. +, ?, |, > etc. That code should just use Pattern.quote. -- 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] [Updated] (HIVE-2749) CONV returns incorrect results sometimes
[ https://issues.apache.org/jira/browse/HIVE-2749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2749: - Attachment: HIVE-2749.D1437.2.patch > CONV returns incorrect results sometimes > > > Key: HIVE-2749 > URL: https://issues.apache.org/jira/browse/HIVE-2749 > Project: Hive > Issue Type: Bug >Reporter: Jonathan Chang >Assignee: Jonathan Chang > Attachments: HIVE-2749.D1437.1.patch, HIVE-2749.D1437.2.patch, > HIVE-2749.D1437.2.patch > > > ...because it fails to reset state. -- 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] [Updated] (HIVE-2726) COALESCE(NULL, NULL) NPEs
[ https://issues.apache.org/jira/browse/HIVE-2726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2726: - Attachment: HIVE-2726.D1317.1.patch > COALESCE(NULL, NULL) NPEs > - > > Key: HIVE-2726 > URL: https://issues.apache.org/jira/browse/HIVE-2726 > Project: Hive > Issue Type: Bug >Reporter: Jonathan Chang >Assignee: Jonathan Chang >Priority: Minor > Attachments: HIVE-2726.D1317.1.patch, HIVE-2726.D1317.1.patch > > > ReturnOIResolver returns null when it gets no non-void arguments. This is > bad. -- 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] [Updated] (HIVE-2689) ObjectInspectorConverters cannot convert Void types to Array/Map/Struct types.
[ https://issues.apache.org/jira/browse/HIVE-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2689: - Status: Patch Available (was: Open) > ObjectInspectorConverters cannot convert Void types to Array/Map/Struct types. > -- > > Key: HIVE-2689 > URL: https://issues.apache.org/jira/browse/HIVE-2689 > Project: Hive > Issue Type: Bug >Reporter: Jonathan Chang >Assignee: Jonathan Chang >Priority: Minor > Attachments: HIVE-2689.D1083.1.patch > > > In a bunch of places we rely on ObjectInspectorConverters to implicitly > convert types. Unfortunately, an exception will needlessly be thrown if one > of the types is a complex type and the other is a void type. For example, > SELECT ARRAY(ARRAY(), NULL) ... -- 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] [Updated] (HIVE-2656) Add a command line flag to specify a jar whence to load UDFs
[ https://issues.apache.org/jira/browse/HIVE-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2656: - Status: Patch Available (was: Open) > Add a command line flag to specify a jar whence to load UDFs > > > Key: HIVE-2656 > URL: https://issues.apache.org/jira/browse/HIVE-2656 > Project: Hive > Issue Type: New Feature >Reporter: Jonathan Chang >Assignee: Jonathan Chang > Attachments: HIVE-2656.D1023.1.patch, HIVE-2656.D1023.2.patch > > > To extend the functionality of Hive, it is useful to be able to easily deploy > packages of UDFs and register the functions therein. Right now it is a bit > cumbersome to do ADD JAR and CREATE TEMPORARY FUNCTION. This can be greatly > simplified by adding a simple command line flag that will leverage the code > in HIVE-2523 to load all the functions. -- 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] [Updated] (HIVE-2655) Ability to define functions in HQL
[ https://issues.apache.org/jira/browse/HIVE-2655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2655: - Status: Patch Available (was: Open) > Ability to define functions in HQL > -- > > Key: HIVE-2655 > URL: https://issues.apache.org/jira/browse/HIVE-2655 > Project: Hive > Issue Type: New Feature > Components: SQL >Reporter: Jonathan Perlow >Assignee: Jonathan Chang > Attachments: HIVE-2655.D915.1.patch, HIVE-2655.D915.2.patch, > HIVE-2655.D915.3.patch, HIVE-2655.D915.4.patch > > > Ability to create functions in HQL as a substitute for creating them in Java. > Jonathan Chang requested I create this issue. -- 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] [Updated] (HIVE-2714) Lots of special characters are not handled in LIKE
[ https://issues.apache.org/jira/browse/HIVE-2714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2714: - Status: Patch Available (was: Open) > Lots of special characters are not handled in LIKE > -- > > Key: HIVE-2714 > URL: https://issues.apache.org/jira/browse/HIVE-2714 > Project: Hive > Issue Type: Bug >Reporter: Jonathan Chang >Assignee: Jonathan Chang > Attachments: HIVE-2714.D1239.1.patch > > > Currently LIKE converts the string to a regular expression. It tries to > handle special characters but many are not correctly handled, e.g. +, ?, |, > etc. That code should just use Pattern.quote. -- 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] [Updated] (HIVE-2726) COALESCE(NULL, NULL) NPEs
[ https://issues.apache.org/jira/browse/HIVE-2726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2726: - Assignee: Jonathan Chang Status: Patch Available (was: Open) > COALESCE(NULL, NULL) NPEs > - > > Key: HIVE-2726 > URL: https://issues.apache.org/jira/browse/HIVE-2726 > Project: Hive > Issue Type: Bug >Reporter: Jonathan Chang >Assignee: Jonathan Chang >Priority: Minor > Attachments: HIVE-2726.D1317.1.patch > > > ReturnOIResolver returns null when it gets no non-void arguments. This is > bad. -- 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] [Updated] (HIVE-2749) CONV returns incorrect results sometimes
[ https://issues.apache.org/jira/browse/HIVE-2749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2749: - Assignee: Jonathan Chang Status: Patch Available (was: Open) > CONV returns incorrect results sometimes > > > Key: HIVE-2749 > URL: https://issues.apache.org/jira/browse/HIVE-2749 > Project: Hive > Issue Type: Bug >Reporter: Jonathan Chang >Assignee: Jonathan Chang > Attachments: HIVE-2749.D1437.1.patch, HIVE-2749.D1437.2.patch > > > ...because it fails to reset state. -- 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] [Updated] (HIVE-2681) SUCESS is misspelled
[ https://issues.apache.org/jira/browse/HIVE-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2681: - Attachment: HIVE-2681.D1029.1.patch > SUCESS is misspelled > > > Key: HIVE-2681 > URL: https://issues.apache.org/jira/browse/HIVE-2681 > Project: Hive > Issue Type: Bug >Reporter: Jonathan Chang >Assignee: Jonathan Chang > Attachments: HIVE-2681.D1029.1.patch, HIVE-2681.D1029.1.patch > > > C'mon! -- 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] [Updated] (HIVE-2561) Allow UDFs to specify additional FILE/JAR resources necessary for execution
[ https://issues.apache.org/jira/browse/HIVE-2561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2561: - Attachment: HIVE-2561.D507.2.patch > Allow UDFs to specify additional FILE/JAR resources necessary for execution > --- > > Key: HIVE-2561 > URL: https://issues.apache.org/jira/browse/HIVE-2561 > Project: Hive > Issue Type: New Feature >Reporter: Jonathan Chang >Assignee: Jonathan Chang > Attachments: HIVE-2561.D507.1.patch, HIVE-2561.D507.2.patch, > HIVE-2561.D507.2.patch > > > Often times UDFs will have dependencies to external JARs/FILEs. It makes > sense for these to be encoded by the UDF (rather than having the caller > remember the set of files that need to be ADDed). Let's add an annotation to > UDFs which will cause these resources to be auto-added. -- 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] [Updated] (HIVE-2561) Allow UDFs to specify additional FILE/JAR resources necessary for execution
[ https://issues.apache.org/jira/browse/HIVE-2561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2561: - Summary: Allow UDFs to specify additional FILE/JAR resources necessary for execution (was: Add an annotation to UDFs to allow them to specify additional FILE/JAR resources necessary for execution) > Allow UDFs to specify additional FILE/JAR resources necessary for execution > --- > > Key: HIVE-2561 > URL: https://issues.apache.org/jira/browse/HIVE-2561 > Project: Hive > Issue Type: New Feature >Reporter: Jonathan Chang >Assignee: Jonathan Chang > Attachments: HIVE-2561.D507.1.patch > > > Often times UDFs will have dependencies to external JARs/FILEs. It makes > sense for these to be encoded by the UDF (rather than having the caller > remember the set of files that need to be ADDed). Let's add an annotation to > UDFs which will cause these resources to be auto-added. -- 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] [Updated] (HIVE-2532) Evaluation of non-deterministic/stateful UDFs should not be skipped even if constant oi is returned.
[ https://issues.apache.org/jira/browse/HIVE-2532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2532: - Attachment: D273.4.patch > Evaluation of non-deterministic/stateful UDFs should not be skipped even if > constant oi is returned. > > > Key: HIVE-2532 > URL: https://issues.apache.org/jira/browse/HIVE-2532 > Project: Hive > Issue Type: Bug >Reporter: Jonathan Chang >Assignee: Jonathan Chang > Attachments: D273.1.patch, D273.2.patch, D273.3.patch, D273.4.patch, > D273.4.patch, D273.4.patch > > > Even if constant oi is returned, these may have stateful/side-effect behavior > and hence need to be called each cycle. -- 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] [Updated] (HIVE-2532) Evaluation of non-deterministic/stateful UDFs should not be skipped even if constant oi is returned.
[ https://issues.apache.org/jira/browse/HIVE-2532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2532: - Attachment: D273.4.patch > Evaluation of non-deterministic/stateful UDFs should not be skipped even if > constant oi is returned. > > > Key: HIVE-2532 > URL: https://issues.apache.org/jira/browse/HIVE-2532 > Project: Hive > Issue Type: Bug >Reporter: Jonathan Chang >Assignee: Jonathan Chang > Attachments: D273.1.patch, D273.2.patch, D273.3.patch, D273.4.patch, > D273.4.patch > > > Even if constant oi is returned, these may have stateful/side-effect behavior > and hence need to be called each cycle. -- 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] [Updated] (HIVE-2527) Consecutive string literals should be combined into a single string literal.
[ https://issues.apache.org/jira/browse/HIVE-2527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2527: - Attachment: D147.4.patch > Consecutive string literals should be combined into a single string literal. > > > Key: HIVE-2527 > URL: https://issues.apache.org/jira/browse/HIVE-2527 > Project: Hive > Issue Type: Improvement >Reporter: Jonathan Chang >Assignee: Jonathan Chang >Priority: Minor > Fix For: 0.9.0 > > Attachments: D147.1.patch, D147.2.patch, D147.3.patch, D147.3.patch, > D147.4.patch, D147.4.patch > > > C, Python, etc. all support this magical feature. -- 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] [Updated] (HIVE-2527) Consecutive string literals should be combined into a single string literal.
[ https://issues.apache.org/jira/browse/HIVE-2527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2527: - Attachment: D147.3.patch > Consecutive string literals should be combined into a single string literal. > > > Key: HIVE-2527 > URL: https://issues.apache.org/jira/browse/HIVE-2527 > Project: Hive > Issue Type: Improvement >Reporter: Jonathan Chang >Assignee: Jonathan Chang >Priority: Minor > Attachments: D147.1.patch, D147.2.patch, D147.3.patch, D147.3.patch > > > C, Python, etc. all support this magical feature. -- 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] [Updated] (HIVE-2536) Support scientific notation for Double literals
[ https://issues.apache.org/jira/browse/HIVE-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2536: - Attachment: D129.1.patch > Support scientific notation for Double literals > --- > > Key: HIVE-2536 > URL: https://issues.apache.org/jira/browse/HIVE-2536 > Project: Hive > Issue Type: Bug >Reporter: Jonathan Chang >Assignee: Jonathan Chang > Attachments: D129.1.patch, D129.1.patch, D129.1.patch > > > Of the form 1.0e10. -- 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] [Updated] (HIVE-2527) Consecutive string literals should be combined into a single string literal.
[ https://issues.apache.org/jira/browse/HIVE-2527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2527: - Description: C, Python, etc. all support this magical feature. > Consecutive string literals should be combined into a single string literal. > > > Key: HIVE-2527 > URL: https://issues.apache.org/jira/browse/HIVE-2527 > Project: Hive > Issue Type: Improvement >Reporter: Jonathan Chang >Assignee: Jonathan Chang >Priority: Minor > > C, Python, etc. all support this magical feature. -- 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] [Updated] (HIVE-2509) Literal bigint
[ https://issues.apache.org/jira/browse/HIVE-2509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2509: - Attachment: D15.4.patch > Literal bigint > -- > > Key: HIVE-2509 > URL: https://issues.apache.org/jira/browse/HIVE-2509 > Project: Hive > Issue Type: New Feature >Reporter: Jonathan Chang >Assignee: Jonathan Chang > Attachments: D15.1.patch, D15.1.patch, D15.2.patch, D15.2.patch, > D15.3.patch, D15.3.patch, D15.4.patch, D15.4.patch, D15.4.patch > > > Typing bigints is a pain because you have to write CAST(0 AS BIGINT). We > should let people type 0L instead. -- 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] [Updated] (HIVE-2515) Make Constant OIs work with UDTFs.
[ https://issues.apache.org/jira/browse/HIVE-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2515: - Attachment: D33.3.patch > Make Constant OIs work with UDTFs. > -- > > Key: HIVE-2515 > URL: https://issues.apache.org/jira/browse/HIVE-2515 > Project: Hive > Issue Type: Improvement >Reporter: Jonathan Chang >Assignee: Jonathan Chang >Priority: Minor > Fix For: 0.9.0 > > Attachments: D33.1.patch, D33.1.patch, D33.2.patch, D33.2.patch, > D33.2.patch, D33.3.patch, D33.3.patch, D33.3.patch, junit-noframes.html > > > UDTFs are the last shoe to drop for constant OIs. -- 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] [Updated] (HIVE-2515) Make Constant OIs work with UDTFs.
[ https://issues.apache.org/jira/browse/HIVE-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2515: - Attachment: D33.2.patch > Make Constant OIs work with UDTFs. > -- > > Key: HIVE-2515 > URL: https://issues.apache.org/jira/browse/HIVE-2515 > Project: Hive > Issue Type: Improvement >Reporter: Jonathan Chang >Assignee: Jonathan Chang >Priority: Minor > Attachments: D33.1.patch, D33.1.patch, D33.2.patch, D33.2.patch, > D33.2.patch > > > UDTFs are the last shoe to drop for constant OIs. -- 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] [Updated] (HIVE-2506) Get ConstantObjectInspectors working in UDAFs
[ https://issues.apache.org/jira/browse/HIVE-2506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2506: - Attachment: HIVE-2506.patch.3 Rebase trunk. > Get ConstantObjectInspectors working in UDAFs > - > > Key: HIVE-2506 > URL: https://issues.apache.org/jira/browse/HIVE-2506 > Project: Hive > Issue Type: Improvement >Reporter: Jonathan Chang >Assignee: Jonathan Chang > Attachments: HIVE-2506.patch, HIVE-2506.patch.2, HIVE-2506.patch.3 > > > ConstantObjectInspectors seem to do the right thing for UDFs, but don't work > yet for UDAFs, in part of the complex getEvaluator path which converts back > and forth between TypeInfo and ObjectInspectors. We should add an interface > so that UDAFs can operate entirely on ObjectInspectors and expose > constantness to these UDAFs. -- 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] [Updated] (HIVE-2506) Get ConstantObjectInspectors working in UDAFs
[ https://issues.apache.org/jira/browse/HIVE-2506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2506: - Attachment: HIVE-2506.patch.2 > Get ConstantObjectInspectors working in UDAFs > - > > Key: HIVE-2506 > URL: https://issues.apache.org/jira/browse/HIVE-2506 > Project: Hive > Issue Type: Improvement >Reporter: Jonathan Chang >Assignee: Jonathan Chang > Attachments: HIVE-2506.patch, HIVE-2506.patch.2 > > > ConstantObjectInspectors seem to do the right thing for UDFs, but don't work > yet for UDAFs, in part of the complex getEvaluator path which converts back > and forth between TypeInfo and ObjectInspectors. We should add an interface > so that UDAFs can operate entirely on ObjectInspectors and expose > constantness to these UDAFs. -- 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] [Updated] (HIVE-2506) Get ConstantObjectInspectors working in UDAFs
[ https://issues.apache.org/jira/browse/HIVE-2506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2506: - Attachment: HIVE-2506.patch > Get ConstantObjectInspectors working in UDAFs > - > > Key: HIVE-2506 > URL: https://issues.apache.org/jira/browse/HIVE-2506 > Project: Hive > Issue Type: Improvement >Reporter: Jonathan Chang >Assignee: Jonathan Chang > Attachments: HIVE-2506.patch > > > ConstantObjectInspectors seem to do the right thing for UDFs, but don't work > yet for UDAFs, in part of the complex getEvaluator path which converts back > and forth between TypeInfo and ObjectInspectors. We should add an interface > so that UDAFs can operate entirely on ObjectInspectors and expose > constantness to these UDAFs. -- 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] [Updated] (HIVE-2223) support grouping on complex types in Hive
[ https://issues.apache.org/jira/browse/HIVE-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2223: - Attachment: HIVE-2223.patch.3 Fix unittest > support grouping on complex types in Hive > - > > Key: HIVE-2223 > URL: https://issues.apache.org/jira/browse/HIVE-2223 > Project: Hive > Issue Type: New Feature >Reporter: Kate Ting >Assignee: Jonathan Chang >Priority: Minor > Attachments: HIVE-2223.patch, HIVE-2223.patch.2, HIVE-2223.patch.3 > > > Creating a query with a GROUP BY statement when an array type column is part > of the column list is not yet supported: > CREATE TABLE test_group_by ( key INT, group INT, terms ARRAY); > SELECT key, terms, count(group) FROM test_group_by GROUP BY key, terms; > ... > "Hash code on complex types not supported yet." > java.lang.RuntimeException: Error while closing operators > at org.apache.hadoop.hive.ql.exec.ExecMapper.close(ExecMapper.java:232) > at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:57) > at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:356) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305) > at org.apache.hadoop.mapred.Child.main(Child.java:170) > Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: > java.lang.RuntimeException: Hash code on complex types not supported yet. > at > org.apache.hadoop.hive.ql.exec.GroupByOperator.closeOp(GroupByOperator.java:799) > at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:462) > at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:470) > at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:470) > at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:470) > at org.apache.hadoop.hive.ql.exec.ExecMapper.close(ExecMapper.java:211) > ... 4 more > Caused by: java.lang.RuntimeException: Hash code on complex types not > supported yet. > at > org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorUtils.hashCode(ObjectInspectorUtils.java:348) > at > org.apache.hadoop.hive.ql.exec.ReduceSinkOperator.processOp(ReduceSinkOperator.java:187) > at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:386) > at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:598) > at > org.apache.hadoop.hive.ql.exec.GroupByOperator.forward(GroupByOperator.java:746) > at > org.apache.hadoop.hive.ql.exec.GroupByOperator.closeOp(GroupByOperator.java:780) > ... 9 more -- 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] [Updated] (HIVE-2223) support grouping on complex types in Hive
[ https://issues.apache.org/jira/browse/HIVE-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2223: - Attachment: HIVE-2223.patch.2 > support grouping on complex types in Hive > - > > Key: HIVE-2223 > URL: https://issues.apache.org/jira/browse/HIVE-2223 > Project: Hive > Issue Type: New Feature >Reporter: Kate Ting >Assignee: Jonathan Chang >Priority: Minor > Attachments: HIVE-2223.patch, HIVE-2223.patch.2 > > > Creating a query with a GROUP BY statement when an array type column is part > of the column list is not yet supported: > CREATE TABLE test_group_by ( key INT, group INT, terms ARRAY); > SELECT key, terms, count(group) FROM test_group_by GROUP BY key, terms; > ... > "Hash code on complex types not supported yet." > java.lang.RuntimeException: Error while closing operators > at org.apache.hadoop.hive.ql.exec.ExecMapper.close(ExecMapper.java:232) > at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:57) > at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:356) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305) > at org.apache.hadoop.mapred.Child.main(Child.java:170) > Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: > java.lang.RuntimeException: Hash code on complex types not supported yet. > at > org.apache.hadoop.hive.ql.exec.GroupByOperator.closeOp(GroupByOperator.java:799) > at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:462) > at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:470) > at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:470) > at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:470) > at org.apache.hadoop.hive.ql.exec.ExecMapper.close(ExecMapper.java:211) > ... 4 more > Caused by: java.lang.RuntimeException: Hash code on complex types not > supported yet. > at > org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorUtils.hashCode(ObjectInspectorUtils.java:348) > at > org.apache.hadoop.hive.ql.exec.ReduceSinkOperator.processOp(ReduceSinkOperator.java:187) > at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:386) > at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:598) > at > org.apache.hadoop.hive.ql.exec.GroupByOperator.forward(GroupByOperator.java:746) > at > org.apache.hadoop.hive.ql.exec.GroupByOperator.closeOp(GroupByOperator.java:780) > ... 9 more -- 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] [Updated] (HIVE-2470) Improve support for Constant Object Inspectors
[ https://issues.apache.org/jira/browse/HIVE-2470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2470: - Attachment: HIVE-2470.patch.8 Cleanly applies to trunk now. > Improve support for Constant Object Inspectors > -- > > Key: HIVE-2470 > URL: https://issues.apache.org/jira/browse/HIVE-2470 > Project: Hive > Issue Type: Improvement >Reporter: Jonathan Chang >Assignee: Jonathan Chang > Attachments: HIVE-1360.part2.patch, HIVE-2470.patch, > HIVE-2470.patch.3, HIVE-2470.patch.4, HIVE-2470.patch.5, HIVE-2470.patch.6, > HIVE-2470.patch.8 > > > ConstantObjectInspectors are nice but they need to be more widely supported > and used. In particular, > * More functions need to be using them. > * There need to be facilities for propagating constness. > * Support for complex types must be added. -- 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] [Updated] (HIVE-2470) Improve support for Constant Object Inspectors
[ https://issues.apache.org/jira/browse/HIVE-2470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2470: - Attachment: HIVE-2470.patch.6 Fixes unittests. > Improve support for Constant Object Inspectors > -- > > Key: HIVE-2470 > URL: https://issues.apache.org/jira/browse/HIVE-2470 > Project: Hive > Issue Type: Improvement >Reporter: Jonathan Chang >Assignee: Jonathan Chang > Attachments: HIVE-1360.part2.patch, HIVE-2470.patch, > HIVE-2470.patch.3, HIVE-2470.patch.4, HIVE-2470.patch.5, HIVE-2470.patch.6 > > > ConstantObjectInspectors are nice but they need to be more widely supported > and used. In particular, > * More functions need to be using them. > * There need to be facilities for propagating constness. > * Support for complex types must be added. -- 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] [Updated] (HIVE-2470) Improve support for Constant Object Inspectors
[ https://issues.apache.org/jira/browse/HIVE-2470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2470: - Attachment: HIVE-2470.patch.5 Fix some typos in comments. > Improve support for Constant Object Inspectors > -- > > Key: HIVE-2470 > URL: https://issues.apache.org/jira/browse/HIVE-2470 > Project: Hive > Issue Type: Improvement >Reporter: Jonathan Chang >Assignee: Jonathan Chang > Attachments: HIVE-1360.part2.patch, HIVE-2470.patch, > HIVE-2470.patch.3, HIVE-2470.patch.4, HIVE-2470.patch.5 > > > ConstantObjectInspectors are nice but they need to be more widely supported > and used. In particular, > * More functions need to be using them. > * There need to be facilities for propagating constness. > * Support for complex types must be added. -- 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] [Updated] (HIVE-2470) Improve support for Constant Object Inspectors
[ https://issues.apache.org/jira/browse/HIVE-2470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2470: - Attachment: HIVE-2470.patch.4 > Improve support for Constant Object Inspectors > -- > > Key: HIVE-2470 > URL: https://issues.apache.org/jira/browse/HIVE-2470 > Project: Hive > Issue Type: Improvement >Reporter: Jonathan Chang >Assignee: Jonathan Chang > Attachments: HIVE-1360.part2.patch, HIVE-2470.patch, > HIVE-2470.patch.3, HIVE-2470.patch.4 > > > ConstantObjectInspectors are nice but they need to be more widely supported > and used. In particular, > * More functions need to be using them. > * There need to be facilities for propagating constness. > * Support for complex types must be added. -- 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] [Updated] (HIVE-2470) Improve support for Constant Object Inspectors
[ https://issues.apache.org/jira/browse/HIVE-2470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2470: - Attachment: HIVE-2470.patch.3 > Improve support for Constant Object Inspectors > -- > > Key: HIVE-2470 > URL: https://issues.apache.org/jira/browse/HIVE-2470 > Project: Hive > Issue Type: Improvement >Reporter: Jonathan Chang >Assignee: Jonathan Chang > Attachments: HIVE-1360.part2.patch, HIVE-2470.patch, HIVE-2470.patch.3 > > > ConstantObjectInspectors are nice but they need to be more widely supported > and used. In particular, > * More functions need to be using them. > * There need to be facilities for propagating constness. > * Support for complex types must be added. -- 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] [Updated] (HIVE-2470) Improve support for Constant Object Inspectors
[ https://issues.apache.org/jira/browse/HIVE-2470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2470: - Attachment: HIVE-2470.patch Rename. > Improve support for Constant Object Inspectors > -- > > Key: HIVE-2470 > URL: https://issues.apache.org/jira/browse/HIVE-2470 > Project: Hive > Issue Type: Improvement >Reporter: Jonathan Chang >Assignee: Jonathan Chang > Attachments: HIVE-1360.part2.patch, HIVE-2470.patch > > > ConstantObjectInspectors are nice but they need to be more widely supported > and used. In particular, > * More functions need to be using them. > * There need to be facilities for propagating constness. > * Support for complex types must be added. -- 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] [Updated] (HIVE-2470) Improve support for Constant Object Inspectors
[ https://issues.apache.org/jira/browse/HIVE-2470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2470: - Attachment: HIVE-1360.part2.patch > Improve support for Constant Object Inspectors > -- > > Key: HIVE-2470 > URL: https://issues.apache.org/jira/browse/HIVE-2470 > Project: Hive > Issue Type: Improvement >Reporter: Jonathan Chang >Assignee: Jonathan Chang > Attachments: HIVE-1360.part2.patch > > > ConstantObjectInspectors are nice but they need to be more widely supported > and used. In particular, > * More functions need to be using them. > * There need to be facilities for propagating constness. > * Support for complex types must be added. -- 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] [Updated] (HIVE-2470) Improve support for Constant Object Inspectors
[ https://issues.apache.org/jira/browse/HIVE-2470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-2470: - Status: Patch Available (was: Open) > Improve support for Constant Object Inspectors > -- > > Key: HIVE-2470 > URL: https://issues.apache.org/jira/browse/HIVE-2470 > Project: Hive > Issue Type: Improvement >Reporter: Jonathan Chang >Assignee: Jonathan Chang > Attachments: HIVE-1360.part2.patch > > > ConstantObjectInspectors are nice but they need to be more widely supported > and used. In particular, > * More functions need to be using them. > * There need to be facilities for propagating constness. > * Support for complex types must be added. -- 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] [Updated] (HIVE-1360) Allow UDFs to access constant parameter values at compile time
[ https://issues.apache.org/jira/browse/HIVE-1360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Chang updated HIVE-1360: - Attachment: HIVE-1360.part2.patch Additional patch for more functionality. > Allow UDFs to access constant parameter values at compile time > -- > > Key: HIVE-1360 > URL: https://issues.apache.org/jira/browse/HIVE-1360 > Project: Hive > Issue Type: Improvement > Components: Query Processor, UDF >Affects Versions: 0.5.0 >Reporter: Carl Steinbach >Assignee: Jonathan Chang > Fix For: 0.8.0 > > Attachments: HIVE-1360.2.patch.txt, HIVE-1360.2.test-failures.txt, > HIVE-1360.3.patch, HIVE-1360.part2.patch, HIVE-1360.patch, HIVE-1360.patch > > > UDFs should be able to access constant parameter values at compile time. -- 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