You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Matt McCline (JIRA)" <ji...@apache.org> on 2017/06/09 00:50:19 UTC

[jira] [Created] (HIVE-16863) Vectorization: See if instanceof checks added to VectorAssignRow in HIVE-16589 can be removed...

Matt McCline created HIVE-16863:
-----------------------------------

             Summary: Vectorization: See if instanceof checks added to VectorAssignRow in HIVE-16589 can be removed...
                 Key: HIVE-16863
                 URL: https://issues.apache.org/jira/browse/HIVE-16863
             Project: Hive
          Issue Type: Bug
          Components: Hive
            Reporter: Matt McCline
            Assignee: Teddy Choi
            Priority: Critical


(Wait for HIVE-16589 commit).

During HIVE-16589 when VectorUDFAdaptor was converted to use VectorAssignRow instead of adding Complex Type variants to setOutputCol we added instanceof checks since data from VectorUDFAdaptor is sometimes a Byte object instead of a ByteWritable, etc.

In code review, Jason suggested we might be able to make use of the output object inspectors.  Is there a way to add (perhaps) a 2nd method(s) that can take advantage of its object inspectors and not do instanceof stuff?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)