[ 
https://issues.apache.org/jira/browse/HIVE-4306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13625433#comment-13625433
 ] 

Harish Butani commented on HIVE-4306:
-------------------------------------

No the OIs are reconstructed for Windowing and PTFs. For Windowing this is in 
initializeWindowing function of the Deserializer; for all other PTFs this is 
the initializeOutputOI callback method on the TableFunction Evaluator. 
There are 2 runtime OIs: the OI for the object coming out of the Functions, and 
the OI used in the PTFPartition object. The OI for the object coming out of the 
Function were always being recomputed at runtime; so constructing the 
PTFPartition OIs from these was a simple fix( we used to do this before, in the 
refactoring it got changed to constructing from serde props)
                
> PTFDeserializer should reconstruct OIs based on InputOI passed to PTFOperator
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-4306
>                 URL: https://issues.apache.org/jira/browse/HIVE-4306
>             Project: Hive
>          Issue Type: Improvement
>          Components: PTF-Windowing
>            Reporter: Harish Butani
>            Assignee: Prajakta Kalmegh
>         Attachments: HIVE-4306.D10017.1.patch
>
>
> Currently PTFDesc holds onto shape information that is used by the 
> PTFDeserializer to reconstruct OIs during runtime. This could interfere with 
> changes made to OIs during Optimization. 

--
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: http://www.atlassian.com/software/jira

Reply via email to