hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brock Noland (JIRA)" <>
Subject [jira] [Updated] (HIVE-4019) Ability to create and drop temporary partition function
Date Tue, 16 Apr 2013 20:59:16 GMT


Brock Noland updated HIVE-4019:

    Attachment: HIVE-4019-1.patch

Hi guys,

I've rebased the original patch, attached. However, I am seeing a problem during compilation
output column names is null on TableFunctionResolver. It seems this on purpose 
(See WIndowTableFunction) but I don't see any location to obtain the column names. 
RawInputColumnNames is also null. Any hints?

I have time to work on this tomorrow, but I don't want to hold up anything that is important
release so if this is holding anything up, please feel free to take it up.

2013-04-16 13:52:58,383 ERROR ql.Driver ( - FAILED: NullPointerException
        at org.apache.hadoop.hive.ql.parse.PTFTranslator.buildRowResolverForPTF(
        at org.apache.hadoop.hive.ql.parse.PTFTranslator.translate(
        at org.apache.hadoop.hive.ql.parse.PTFTranslator.translatePTFChain(
        at org.apache.hadoop.hive.ql.parse.PTFTranslator.translate(
        at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.translatePTFInvocationSpec(
        at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genPTFPlanForComponentQuery(
        at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genPTFPlan(
        at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genPlan(
        at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeInternal(
        at org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(
        at org.apache.hadoop.hive.ql.Driver.compile(
        at org.apache.hadoop.hive.ql.Driver.compile(
        at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(
        at org.apache.hadoop.hive.cli.CliDriver.processCmd(
        at org.apache.hadoop.hive.cli.CliDriver.processLine(
        at org.apache.hadoop.hive.cli.CliDriver.processLine(
        at org.apache.hadoop.hive.ql.QTestUtil.executeClient(
        at org.apache.hadoop.hive.cli.TestCliDriver.runTest(
        at org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_ptf_register_tblfn(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at junit.framework.TestCase.runTest(
        at junit.framework.TestCase.runBare(
        at junit.framework.TestResult$1.protect(
        at junit.framework.TestResult.runProtected(
        at junit.framework.TestSuite.runTest(

> Ability to create and drop temporary partition function
> -------------------------------------------------------
>                 Key: HIVE-4019
>                 URL:
>             Project: Hive
>          Issue Type: New Feature
>          Components: PTF-Windowing
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>         Attachments: HIVE-4019-1.patch, hive-4019.q
> Just like udf/udaf/udtf functions, user should be able to add and drop custom partitioning

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:

View raw message