kasakrisz opened a new pull request #2899:
URL: https://github.com/apache/hive/pull/2899


   ### What changes were proposed in this pull request?
   Return the output row resolver of an udtf when generating the select clause 
of the Calcite plan instead of null.
   
   ### Why are the changes needed?
   The row Resolver is required several case. One of the is when checking 
whether the specified column index falls into the correct range when generating 
the order by operator of a values query.
   
   ### Does this PR introduce _any_ user-facing change?
   Values queries don't fail with exception but provides a result when order by 
is specified with column indexes.
   
   ### How was this patch tested?
   ```
   mvn test -Dtest.output.overwrite -DskipSparkTests 
-Dtest=TestMiniLlapLocalCliDriver -Dqfile=order_by_pos.q -pl itests/qtest 
-Pitests
   ```
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to