WinkerDu commented on issue #2027:
URL: 
https://github.com/apache/arrow-datafusion/issues/2027#issuecomment-1073021010


   @yjshen  After trying the following 2 cases in Hive 2.3.7, I got the outputs 
below:
   ```
   hive> set hive.cli.print.header=true;
   hive> select 1,2;
   OK
   _c0  _c1
   1    2
   Time taken: 0.272 seconds, Fetched: 1 row(s)
   hive> SELECT coalesce(NULL, 1, NULL);
   OK
   _c0
   1
   Time taken: 0.228 seconds, Fetched: 1 row(s)
   ```
   In my opinion, Hive auto alias convention `_c0` seems more reasonable since 
that indicates column index.
   I prefer doing this in Datafusion. 
   What do you think? @xudong963 @yjshen 


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


Reply via email to