arina-ielchiieva commented on a change in pull request #1847: DRILL-7253: Read Hive struct w/o nulls URL: https://github.com/apache/drill/pull/1847#discussion_r317081991
########## File path: exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/DrillCalciteSqlOperatorWrapper.java ########## @@ -136,4 +138,14 @@ public void unparse( int rightPrec) { operator.unparse(writer, call, leftPrec, rightPrec); } + + @Override + public RelDataType inferReturnType(SqlOperatorBinding opBinding) { + if (operator instanceof SqlRowOperator) { + return operator.inferReturnType(opBinding); + } else { + return super.inferReturnType(opBinding); + } + } + Review comment: Nit: new line ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services