[jira] [Updated] (DRILL-7041) CompileException happens if a nested coalesce function returns null
[ https://issues.apache.org/jira/browse/DRILL-7041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hanumath Rao Maduri updated DRILL-7041: --- Labels: (was: ready-to-commit) > CompileException happens if a nested coalesce function returns null > --- > > Key: DRILL-7041 > URL: https://issues.apache.org/jira/browse/DRILL-7041 > Project: Apache Drill > Issue Type: Bug >Affects Versions: 1.16.0 >Reporter: Anton Gozhiy >Assignee: Bohdan Kazydub >Priority: Major > Fix For: 1.16.0 > > > *Query:* > {code:sql} > select coalesce(coalesce(n_name1, n_name2), n_name) from > cp.`tpch/nation.parquet` > {code} > *Expected result:* > Values from "n_name" column should be returned > *Actual result:* > An exception happens: > {code} > org.apache.drill.common.exceptions.UserRemoteException: SYSTEM ERROR: > CompileException: Line 57, Column 27: Assignment conversion not possible from > type "org.apache.drill.exec.expr.holders.NullableVarCharHolder" to type > "org.apache.drill.exec.vector.UntypedNullHolder" Fragment 0:0 Please, refer > to logs for more information. [Error Id: e54d5bfd-604d-4a39-b62f-33bb964e5286 > on userf87d-pc:31010] (org.apache.drill.exec.exception.SchemaChangeException) > Failure while attempting to load generated class > org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.setupNewSchemaFromInput():573 > > org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.setupNewSchema():583 > org.apache.drill.exec.record.AbstractUnaryRecordBatch.innerNext():101 > org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.innerNext():143 > org.apache.drill.exec.record.AbstractRecordBatch.next():186 > org.apache.drill.exec.physical.impl.BaseRootExec.next():104 > org.apache.drill.exec.physical.impl.ScreenCreator$ScreenRoot.innerNext():83 > org.apache.drill.exec.physical.impl.BaseRootExec.next():94 > org.apache.drill.exec.work.fragment.FragmentExecutor$1.run():297 > org.apache.drill.exec.work.fragment.FragmentExecutor$1.run():284 > java.security.AccessController.doPrivileged():-2 > javax.security.auth.Subject.doAs():422 > org.apache.hadoop.security.UserGroupInformation.doAs():1746 > org.apache.drill.exec.work.fragment.FragmentExecutor.run():284 > org.apache.drill.common.SelfCleaningRunnable.run():38 > java.util.concurrent.ThreadPoolExecutor.runWorker():1149 > java.util.concurrent.ThreadPoolExecutor$Worker.run():624 > java.lang.Thread.run():748 Caused By > (org.apache.drill.exec.exception.ClassTransformationException) > java.util.concurrent.ExecutionException: > org.apache.drill.exec.exception.ClassTransformationException: Failure > generating transformation classes for value: package > org.apache.drill.exec.test.generated; import > org.apache.drill.exec.exception.SchemaChangeException; import > org.apache.drill.exec.expr.holders.BigIntHolder; import > org.apache.drill.exec.expr.holders.BitHolder; import > org.apache.drill.exec.expr.holders.NullableVarBinaryHolder; import > org.apache.drill.exec.expr.holders.NullableVarCharHolder; import > org.apache.drill.exec.expr.holders.VarCharHolder; import > org.apache.drill.exec.ops.FragmentContext; import > org.apache.drill.exec.record.RecordBatch; import > org.apache.drill.exec.vector.UntypedNullHolder; import > org.apache.drill.exec.vector.UntypedNullVector; import > org.apache.drill.exec.vector.VarCharVector; public class ProjectorGen35 { > BigIntHolder const6; BitHolder constant9; UntypedNullHolder constant13; > VarCharVector vv14; UntypedNullVector vv19; public void doEval(int inIndex, > int outIndex) throws SchemaChangeException { { UntypedNullHolder out0 = new > UntypedNullHolder(); if (constant9 .value == 1) { if (constant13 .isSet!= 0) > { out0 = constant13; } } else { VarCharHolder out17 = new VarCharHolder(); { > out17 .buffer = vv14 .getBuffer(); long startEnd = vv14 > .getAccessor().getStartEnd((inIndex)); out17 .start = ((int) startEnd); out17 > .end = ((int)(startEnd >> 32)); } // start of eval portion of > convertToNullableVARCHAR function. // NullableVarCharHolder out18 = new > NullableVarCharHolder(); { final NullableVarCharHolder output = new > NullableVarCharHolder(); VarCharHolder input = out17; > GConvertToNullableVarCharHolder_eval: { output.isSet = 1; output.start = > input.start; output.end = input.end; output.buffer = input.buffer; } out18 = > output; } // end of eval portion of convertToNullableVARCHAR function. > // if (out18 .isSet!= 0) { out0 = out18; } } if (!(out0 .isSet == 0)) { > vv19 .getMutator().set((outIndex), out0 .isSet, out0); } } } public void > doSetup(FragmentContext context, RecordBatch incoming, RecordBatch outgoing) > throws SchemaChangeException { { UntypedNullHolder out1 = new > UntypedNullHolder(
[jira] [Updated] (DRILL-7041) CompileException happens if a nested coalesce function returns null
[ https://issues.apache.org/jira/browse/DRILL-7041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Volodymyr Vysotskyi updated DRILL-7041: --- Fix Version/s: 1.16.0 > CompileException happens if a nested coalesce function returns null > --- > > Key: DRILL-7041 > URL: https://issues.apache.org/jira/browse/DRILL-7041 > Project: Apache Drill > Issue Type: Bug >Affects Versions: 1.16.0 >Reporter: Anton Gozhiy >Assignee: Bohdan Kazydub >Priority: Major > Labels: ready-to-commit > Fix For: 1.16.0 > > > *Query:* > {code:sql} > select coalesce(coalesce(n_name1, n_name2), n_name) from > cp.`tpch/nation.parquet` > {code} > *Expected result:* > Values from "n_name" column should be returned > *Actual result:* > An exception happens: > {code} > org.apache.drill.common.exceptions.UserRemoteException: SYSTEM ERROR: > CompileException: Line 57, Column 27: Assignment conversion not possible from > type "org.apache.drill.exec.expr.holders.NullableVarCharHolder" to type > "org.apache.drill.exec.vector.UntypedNullHolder" Fragment 0:0 Please, refer > to logs for more information. [Error Id: e54d5bfd-604d-4a39-b62f-33bb964e5286 > on userf87d-pc:31010] (org.apache.drill.exec.exception.SchemaChangeException) > Failure while attempting to load generated class > org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.setupNewSchemaFromInput():573 > > org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.setupNewSchema():583 > org.apache.drill.exec.record.AbstractUnaryRecordBatch.innerNext():101 > org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.innerNext():143 > org.apache.drill.exec.record.AbstractRecordBatch.next():186 > org.apache.drill.exec.physical.impl.BaseRootExec.next():104 > org.apache.drill.exec.physical.impl.ScreenCreator$ScreenRoot.innerNext():83 > org.apache.drill.exec.physical.impl.BaseRootExec.next():94 > org.apache.drill.exec.work.fragment.FragmentExecutor$1.run():297 > org.apache.drill.exec.work.fragment.FragmentExecutor$1.run():284 > java.security.AccessController.doPrivileged():-2 > javax.security.auth.Subject.doAs():422 > org.apache.hadoop.security.UserGroupInformation.doAs():1746 > org.apache.drill.exec.work.fragment.FragmentExecutor.run():284 > org.apache.drill.common.SelfCleaningRunnable.run():38 > java.util.concurrent.ThreadPoolExecutor.runWorker():1149 > java.util.concurrent.ThreadPoolExecutor$Worker.run():624 > java.lang.Thread.run():748 Caused By > (org.apache.drill.exec.exception.ClassTransformationException) > java.util.concurrent.ExecutionException: > org.apache.drill.exec.exception.ClassTransformationException: Failure > generating transformation classes for value: package > org.apache.drill.exec.test.generated; import > org.apache.drill.exec.exception.SchemaChangeException; import > org.apache.drill.exec.expr.holders.BigIntHolder; import > org.apache.drill.exec.expr.holders.BitHolder; import > org.apache.drill.exec.expr.holders.NullableVarBinaryHolder; import > org.apache.drill.exec.expr.holders.NullableVarCharHolder; import > org.apache.drill.exec.expr.holders.VarCharHolder; import > org.apache.drill.exec.ops.FragmentContext; import > org.apache.drill.exec.record.RecordBatch; import > org.apache.drill.exec.vector.UntypedNullHolder; import > org.apache.drill.exec.vector.UntypedNullVector; import > org.apache.drill.exec.vector.VarCharVector; public class ProjectorGen35 { > BigIntHolder const6; BitHolder constant9; UntypedNullHolder constant13; > VarCharVector vv14; UntypedNullVector vv19; public void doEval(int inIndex, > int outIndex) throws SchemaChangeException { { UntypedNullHolder out0 = new > UntypedNullHolder(); if (constant9 .value == 1) { if (constant13 .isSet!= 0) > { out0 = constant13; } } else { VarCharHolder out17 = new VarCharHolder(); { > out17 .buffer = vv14 .getBuffer(); long startEnd = vv14 > .getAccessor().getStartEnd((inIndex)); out17 .start = ((int) startEnd); out17 > .end = ((int)(startEnd >> 32)); } // start of eval portion of > convertToNullableVARCHAR function. // NullableVarCharHolder out18 = new > NullableVarCharHolder(); { final NullableVarCharHolder output = new > NullableVarCharHolder(); VarCharHolder input = out17; > GConvertToNullableVarCharHolder_eval: { output.isSet = 1; output.start = > input.start; output.end = input.end; output.buffer = input.buffer; } out18 = > output; } // end of eval portion of convertToNullableVARCHAR function. > // if (out18 .isSet!= 0) { out0 = out18; } } if (!(out0 .isSet == 0)) { > vv19 .getMutator().set((outIndex), out0 .isSet, out0); } } } public void > doSetup(FragmentContext context, RecordBatch incoming, RecordBatch outgoing) > throws SchemaChangeException { { UntypedNullHolder out1
[jira] [Updated] (DRILL-7041) CompileException happens if a nested coalesce function returns null
[ https://issues.apache.org/jira/browse/DRILL-7041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Volodymyr Vysotskyi updated DRILL-7041: --- Labels: ready-to-commit (was: ) > CompileException happens if a nested coalesce function returns null > --- > > Key: DRILL-7041 > URL: https://issues.apache.org/jira/browse/DRILL-7041 > Project: Apache Drill > Issue Type: Bug >Affects Versions: 1.16.0 >Reporter: Anton Gozhiy >Assignee: Bohdan Kazydub >Priority: Major > Labels: ready-to-commit > > *Query:* > {code:sql} > select coalesce(coalesce(n_name1, n_name2), n_name) from > cp.`tpch/nation.parquet` > {code} > *Expected result:* > Values from "n_name" column should be returned > *Actual result:* > An exception happens: > {code} > org.apache.drill.common.exceptions.UserRemoteException: SYSTEM ERROR: > CompileException: Line 57, Column 27: Assignment conversion not possible from > type "org.apache.drill.exec.expr.holders.NullableVarCharHolder" to type > "org.apache.drill.exec.vector.UntypedNullHolder" Fragment 0:0 Please, refer > to logs for more information. [Error Id: e54d5bfd-604d-4a39-b62f-33bb964e5286 > on userf87d-pc:31010] (org.apache.drill.exec.exception.SchemaChangeException) > Failure while attempting to load generated class > org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.setupNewSchemaFromInput():573 > > org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.setupNewSchema():583 > org.apache.drill.exec.record.AbstractUnaryRecordBatch.innerNext():101 > org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.innerNext():143 > org.apache.drill.exec.record.AbstractRecordBatch.next():186 > org.apache.drill.exec.physical.impl.BaseRootExec.next():104 > org.apache.drill.exec.physical.impl.ScreenCreator$ScreenRoot.innerNext():83 > org.apache.drill.exec.physical.impl.BaseRootExec.next():94 > org.apache.drill.exec.work.fragment.FragmentExecutor$1.run():297 > org.apache.drill.exec.work.fragment.FragmentExecutor$1.run():284 > java.security.AccessController.doPrivileged():-2 > javax.security.auth.Subject.doAs():422 > org.apache.hadoop.security.UserGroupInformation.doAs():1746 > org.apache.drill.exec.work.fragment.FragmentExecutor.run():284 > org.apache.drill.common.SelfCleaningRunnable.run():38 > java.util.concurrent.ThreadPoolExecutor.runWorker():1149 > java.util.concurrent.ThreadPoolExecutor$Worker.run():624 > java.lang.Thread.run():748 Caused By > (org.apache.drill.exec.exception.ClassTransformationException) > java.util.concurrent.ExecutionException: > org.apache.drill.exec.exception.ClassTransformationException: Failure > generating transformation classes for value: package > org.apache.drill.exec.test.generated; import > org.apache.drill.exec.exception.SchemaChangeException; import > org.apache.drill.exec.expr.holders.BigIntHolder; import > org.apache.drill.exec.expr.holders.BitHolder; import > org.apache.drill.exec.expr.holders.NullableVarBinaryHolder; import > org.apache.drill.exec.expr.holders.NullableVarCharHolder; import > org.apache.drill.exec.expr.holders.VarCharHolder; import > org.apache.drill.exec.ops.FragmentContext; import > org.apache.drill.exec.record.RecordBatch; import > org.apache.drill.exec.vector.UntypedNullHolder; import > org.apache.drill.exec.vector.UntypedNullVector; import > org.apache.drill.exec.vector.VarCharVector; public class ProjectorGen35 { > BigIntHolder const6; BitHolder constant9; UntypedNullHolder constant13; > VarCharVector vv14; UntypedNullVector vv19; public void doEval(int inIndex, > int outIndex) throws SchemaChangeException { { UntypedNullHolder out0 = new > UntypedNullHolder(); if (constant9 .value == 1) { if (constant13 .isSet!= 0) > { out0 = constant13; } } else { VarCharHolder out17 = new VarCharHolder(); { > out17 .buffer = vv14 .getBuffer(); long startEnd = vv14 > .getAccessor().getStartEnd((inIndex)); out17 .start = ((int) startEnd); out17 > .end = ((int)(startEnd >> 32)); } // start of eval portion of > convertToNullableVARCHAR function. // NullableVarCharHolder out18 = new > NullableVarCharHolder(); { final NullableVarCharHolder output = new > NullableVarCharHolder(); VarCharHolder input = out17; > GConvertToNullableVarCharHolder_eval: { output.isSet = 1; output.start = > input.start; output.end = input.end; output.buffer = input.buffer; } out18 = > output; } // end of eval portion of convertToNullableVARCHAR function. > // if (out18 .isSet!= 0) { out0 = out18; } } if (!(out0 .isSet == 0)) { > vv19 .getMutator().set((outIndex), out0 .isSet, out0); } } } public void > doSetup(FragmentContext context, RecordBatch incoming, RecordBatch outgoing) > throws SchemaChangeException { { UntypedNullHolder out1 = new > UntypedNull
[jira] [Updated] (DRILL-7041) CompileException happens if a nested coalesce function returns null
[ https://issues.apache.org/jira/browse/DRILL-7041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Volodymyr Vysotskyi updated DRILL-7041: --- Reviewer: Volodymyr Vysotskyi > CompileException happens if a nested coalesce function returns null > --- > > Key: DRILL-7041 > URL: https://issues.apache.org/jira/browse/DRILL-7041 > Project: Apache Drill > Issue Type: Bug >Affects Versions: 1.16.0 >Reporter: Anton Gozhiy >Assignee: Bohdan Kazydub >Priority: Major > Labels: ready-to-commit > Fix For: 1.16.0 > > > *Query:* > {code:sql} > select coalesce(coalesce(n_name1, n_name2), n_name) from > cp.`tpch/nation.parquet` > {code} > *Expected result:* > Values from "n_name" column should be returned > *Actual result:* > An exception happens: > {code} > org.apache.drill.common.exceptions.UserRemoteException: SYSTEM ERROR: > CompileException: Line 57, Column 27: Assignment conversion not possible from > type "org.apache.drill.exec.expr.holders.NullableVarCharHolder" to type > "org.apache.drill.exec.vector.UntypedNullHolder" Fragment 0:0 Please, refer > to logs for more information. [Error Id: e54d5bfd-604d-4a39-b62f-33bb964e5286 > on userf87d-pc:31010] (org.apache.drill.exec.exception.SchemaChangeException) > Failure while attempting to load generated class > org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.setupNewSchemaFromInput():573 > > org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.setupNewSchema():583 > org.apache.drill.exec.record.AbstractUnaryRecordBatch.innerNext():101 > org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.innerNext():143 > org.apache.drill.exec.record.AbstractRecordBatch.next():186 > org.apache.drill.exec.physical.impl.BaseRootExec.next():104 > org.apache.drill.exec.physical.impl.ScreenCreator$ScreenRoot.innerNext():83 > org.apache.drill.exec.physical.impl.BaseRootExec.next():94 > org.apache.drill.exec.work.fragment.FragmentExecutor$1.run():297 > org.apache.drill.exec.work.fragment.FragmentExecutor$1.run():284 > java.security.AccessController.doPrivileged():-2 > javax.security.auth.Subject.doAs():422 > org.apache.hadoop.security.UserGroupInformation.doAs():1746 > org.apache.drill.exec.work.fragment.FragmentExecutor.run():284 > org.apache.drill.common.SelfCleaningRunnable.run():38 > java.util.concurrent.ThreadPoolExecutor.runWorker():1149 > java.util.concurrent.ThreadPoolExecutor$Worker.run():624 > java.lang.Thread.run():748 Caused By > (org.apache.drill.exec.exception.ClassTransformationException) > java.util.concurrent.ExecutionException: > org.apache.drill.exec.exception.ClassTransformationException: Failure > generating transformation classes for value: package > org.apache.drill.exec.test.generated; import > org.apache.drill.exec.exception.SchemaChangeException; import > org.apache.drill.exec.expr.holders.BigIntHolder; import > org.apache.drill.exec.expr.holders.BitHolder; import > org.apache.drill.exec.expr.holders.NullableVarBinaryHolder; import > org.apache.drill.exec.expr.holders.NullableVarCharHolder; import > org.apache.drill.exec.expr.holders.VarCharHolder; import > org.apache.drill.exec.ops.FragmentContext; import > org.apache.drill.exec.record.RecordBatch; import > org.apache.drill.exec.vector.UntypedNullHolder; import > org.apache.drill.exec.vector.UntypedNullVector; import > org.apache.drill.exec.vector.VarCharVector; public class ProjectorGen35 { > BigIntHolder const6; BitHolder constant9; UntypedNullHolder constant13; > VarCharVector vv14; UntypedNullVector vv19; public void doEval(int inIndex, > int outIndex) throws SchemaChangeException { { UntypedNullHolder out0 = new > UntypedNullHolder(); if (constant9 .value == 1) { if (constant13 .isSet!= 0) > { out0 = constant13; } } else { VarCharHolder out17 = new VarCharHolder(); { > out17 .buffer = vv14 .getBuffer(); long startEnd = vv14 > .getAccessor().getStartEnd((inIndex)); out17 .start = ((int) startEnd); out17 > .end = ((int)(startEnd >> 32)); } // start of eval portion of > convertToNullableVARCHAR function. // NullableVarCharHolder out18 = new > NullableVarCharHolder(); { final NullableVarCharHolder output = new > NullableVarCharHolder(); VarCharHolder input = out17; > GConvertToNullableVarCharHolder_eval: { output.isSet = 1; output.start = > input.start; output.end = input.end; output.buffer = input.buffer; } out18 = > output; } // end of eval portion of convertToNullableVARCHAR function. > // if (out18 .isSet!= 0) { out0 = out18; } } if (!(out0 .isSet == 0)) { > vv19 .getMutator().set((outIndex), out0 .isSet, out0); } } } public void > doSetup(FragmentContext context, RecordBatch incoming, RecordBatch outgoing) > throws SchemaChangeException { { UntypedNullHol
[jira] [Updated] (DRILL-7041) CompileException happens if a nested coalesce function returns null
[ https://issues.apache.org/jira/browse/DRILL-7041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Gozhiy updated DRILL-7041: Description: *Query:* {code:sql} select coalesce(coalesce(n_name1, n_name2), n_name) from cp.`tpch/nation.parquet` {code} *Expected result:* Values from "n_name" column should be returned *Actual result:* An exception happens: {code} org.apache.drill.common.exceptions.UserRemoteException: SYSTEM ERROR: CompileException: Line 57, Column 27: Assignment conversion not possible from type "org.apache.drill.exec.expr.holders.NullableVarCharHolder" to type "org.apache.drill.exec.vector.UntypedNullHolder" Fragment 0:0 Please, refer to logs for more information. [Error Id: e54d5bfd-604d-4a39-b62f-33bb964e5286 on userf87d-pc:31010] (org.apache.drill.exec.exception.SchemaChangeException) Failure while attempting to load generated class org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.setupNewSchemaFromInput():573 org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.setupNewSchema():583 org.apache.drill.exec.record.AbstractUnaryRecordBatch.innerNext():101 org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.innerNext():143 org.apache.drill.exec.record.AbstractRecordBatch.next():186 org.apache.drill.exec.physical.impl.BaseRootExec.next():104 org.apache.drill.exec.physical.impl.ScreenCreator$ScreenRoot.innerNext():83 org.apache.drill.exec.physical.impl.BaseRootExec.next():94 org.apache.drill.exec.work.fragment.FragmentExecutor$1.run():297 org.apache.drill.exec.work.fragment.FragmentExecutor$1.run():284 java.security.AccessController.doPrivileged():-2 javax.security.auth.Subject.doAs():422 org.apache.hadoop.security.UserGroupInformation.doAs():1746 org.apache.drill.exec.work.fragment.FragmentExecutor.run():284 org.apache.drill.common.SelfCleaningRunnable.run():38 java.util.concurrent.ThreadPoolExecutor.runWorker():1149 java.util.concurrent.ThreadPoolExecutor$Worker.run():624 java.lang.Thread.run():748 Caused By (org.apache.drill.exec.exception.ClassTransformationException) java.util.concurrent.ExecutionException: org.apache.drill.exec.exception.ClassTransformationException: Failure generating transformation classes for value: package org.apache.drill.exec.test.generated; import org.apache.drill.exec.exception.SchemaChangeException; import org.apache.drill.exec.expr.holders.BigIntHolder; import org.apache.drill.exec.expr.holders.BitHolder; import org.apache.drill.exec.expr.holders.NullableVarBinaryHolder; import org.apache.drill.exec.expr.holders.NullableVarCharHolder; import org.apache.drill.exec.expr.holders.VarCharHolder; import org.apache.drill.exec.ops.FragmentContext; import org.apache.drill.exec.record.RecordBatch; import org.apache.drill.exec.vector.UntypedNullHolder; import org.apache.drill.exec.vector.UntypedNullVector; import org.apache.drill.exec.vector.VarCharVector; public class ProjectorGen35 { BigIntHolder const6; BitHolder constant9; UntypedNullHolder constant13; VarCharVector vv14; UntypedNullVector vv19; public void doEval(int inIndex, int outIndex) throws SchemaChangeException { { UntypedNullHolder out0 = new UntypedNullHolder(); if (constant9 .value == 1) { if (constant13 .isSet!= 0) { out0 = constant13; } } else { VarCharHolder out17 = new VarCharHolder(); { out17 .buffer = vv14 .getBuffer(); long startEnd = vv14 .getAccessor().getStartEnd((inIndex)); out17 .start = ((int) startEnd); out17 .end = ((int)(startEnd >> 32)); } // start of eval portion of convertToNullableVARCHAR function. // NullableVarCharHolder out18 = new NullableVarCharHolder(); { final NullableVarCharHolder output = new NullableVarCharHolder(); VarCharHolder input = out17; GConvertToNullableVarCharHolder_eval: { output.isSet = 1; output.start = input.start; output.end = input.end; output.buffer = input.buffer; } out18 = output; } // end of eval portion of convertToNullableVARCHAR function. // if (out18 .isSet!= 0) { out0 = out18; } } if (!(out0 .isSet == 0)) { vv19 .getMutator().set((outIndex), out0 .isSet, out0); } } } public void doSetup(FragmentContext context, RecordBatch incoming, RecordBatch outgoing) throws SchemaChangeException { { UntypedNullHolder out1 = new UntypedNullHolder(); NullableVarBinaryHolder out2 = new NullableVarBinaryHolder(); /** start SETUP for function isnotnull **/ { NullableVarBinaryHolder input = out2; GNullOpNullableVarBinaryHolder$IsNotNull_setup: {} } /** end SETUP for function isnotnull **/ // start of eval portion of isnotnull function. // BitHolder out3 = new BitHolder(); { final BitHolder out = new BitHolder(); NullableVarBinaryHolder input = out2; GNullOpNullableVarBinaryHolder$IsNotNull_eval: { out.value = (input.isSet == 0 ? 0 : 1); } out3 = out; } // end of eval portion of isnotnull function. // if (out3 .value == 1) { UntypedNullHolder out4 = new UntypedNullHo