geoffreytran opened a new issue, #25445:
URL: https://github.com/apache/doris/issues/25445

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   2.0.2
   
   ### What's Wrong?
   
   When selecting SELECT @@variables, query does not return column names in 
2.0.2 compared to previous versions. This causes Mysql clients that check 
connection information to fail on connect.
   
   
   
   ### What You Expected?
   
   ```sql
   SELECT @@max_allowed_packet, @@character_set_client, 
@@character_set_connection, @@license, @@sql_mode, @@lower_case_table_names;
   ```
   
   Query Results for Doris <2.0.1.1
   ```
   @@max_allowed_packet | @@character_set_client | @@character_set_connection | 
@@license | @@sql_mode | @@lower_case_table_names
   1048576 | utf8 | utf8 | Apache License, Version 2.0 |   | 0
   ```
   <img width="2232" alt="Screenshot 2023-10-14 at 6 03 11 PM" 
src="https://github.com/apache/doris/assets/544500/8f5bc7cf-c8a1-48e4-96f0-2d4194ce6162";>
   
   We expect to see "@@max_allowed_packet | @@character_set_client | 
@@character_set_connection | @@license | @@sql_mode | @@lower_case_table_names" 
returned.
   
   
   Query Results for Doris 2.0.2 BUG
   ```
   1048576 | 'utf8' | 'utf8' | 'Apache License, Version 2.0' | '' | 0
   1048576 | utf8 | utf8 | Apache License, Version 2.0 |   | 0
   ```
   <img width="2236" alt="Screenshot 2023-10-14 at 6 04 09 PM" 
src="https://github.com/apache/doris/assets/544500/049182ea-32ac-4303-9325-0ada055c1a2a";>
   
   
   
   ### How to Reproduce?
   
   Run the following query on Doris 2.0.2:
   
   ```sql
   SELECT @@max_allowed_packet, @@character_set_client, 
@@character_set_connection, @@license, @@sql_mode, @@lower_case_table_names;
   ```
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to