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

ASF GitHub Bot commented on DRILL-3232:
---------------------------------------

Github user jacques-n commented on a diff in the pull request:

    https://github.com/apache/drill/pull/207#discussion_r43471089
  
    --- Diff: exec/java-exec/src/main/codegen/templates/NullReader.java ---
    @@ -56,11 +56,17 @@ public void copyAsValue(MapWriter writer) {}
     
       public void copyAsValue(ListWriter writer) {}
     
    -  <#list vv.types as type><#list type.minor as minor><#assign name = 
minor.class?cap_first /> 
    +  public void copyAsValue(UnionWriter writer) {}
    +
    +  <#list vv.types as type><#list type.minor as minor><#assign name = 
minor.class?cap_first />
    +  public void read(${name}Holder holder){
    +    throw new UnsupportedOperationException("NullReader cannot read into 
non-nullable holder");
    --- End diff --
    
    UserException? I'm not sure what this message even means or what would 
cause this. I'm thinking it is a dev only message and thus Unsupported would be 
fine but want to confirm.


> Modify existing vectors to allow type promotion
> -----------------------------------------------
>
>                 Key: DRILL-3232
>                 URL: https://issues.apache.org/jira/browse/DRILL-3232
>             Project: Apache Drill
>          Issue Type: Sub-task
>          Components: Execution - Codegen, Execution - Data Types, Execution - 
> Relational Operators, Functions - Drill
>            Reporter: Steven Phillips
>            Assignee: Hanifi Gunes
>             Fix For: 1.3.0
>
>
> Support the ability for existing vectors to be promoted similar to supported 
> implicit casting rules.
> For example:
> INT > DOUBLE > STRING > EMBEDDED



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to