satyakommula96 opened a new pull request, #124:
URL: https://github.com/apache/phoenix-queryserver/pull/124

    * Bump avatica version to 1.23.0 and generated new protobuf code
    * Added support  for getting the columnLabel (the “as name”) rather than 
the columnName with a cursor.
   
   Below is the example
   
   ```
   calcite 💎:sql> select c1 as hello, c2 as world from int_tbl;
   +-------------+-------------+
   | c1          | c2          |
   |-------------+-------------|
   | 5           | 0           |
   | -123        | 123         |
   | 1           | 123456      |
   | -123456     | -123456     |
   | 10          | 50          |
   | -2147483648 | 1           |
   | 2147483647  | -2147483648 |
   | <null>      | 10          |
   | <null>      | <null>      |
   | 1           | 1           |
   +-------------+-------------+
   
   ```
   with this patch im able to get column_name as column label
   
   ```
   calcite 💎:sql> select c1 as hello, c2 as world from int_tbl;
   
   +-------------+-------------+
   |       HELLO |       WORLD |
   |-------------+-------------|
   |           5 |           0 |
   |        -123 |         123 |
   |           1 |      123456 |
   |     -123456 |     -123456 |
   |          10 |          50 |
   | -2147483648 |           1 |
   |  2147483647 | -2147483648 |
   |             |          10 |
   |             |             |
   |           1 |           1 |
   +-------------+-------------+
   ```


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