You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "geoffreytran (via GitHub)" <gi...@apache.org> on 2023/10/14 23:04:44 UTC

[I] [Bug] SELECT @@variables does not return column names due to regression introduced in 2.0.2 [doris]

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-unsubscribe@doris.apache.org.apache.org

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


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


Re: [I] [Bug] SELECT @@variables does not return column names due to regression introduced in 2.0.2 when enable_nereids_planner = true [doris]

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman closed issue #25445: [Bug] SELECT @@variables does not return column names due to regression introduced in 2.0.2 when enable_nereids_planner = true
URL: https://github.com/apache/doris/issues/25445


-- 
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-unsubscribe@doris.apache.org

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


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


Re: [I] [Bug] SELECT @@variables does not return column names due to regression introduced in 2.0.2 when enable_nereids_planner = true [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #25445:
URL: https://github.com/apache/doris/issues/25445#issuecomment-3287232625

   We're closing this issue because it hasn't been updated in a while.
   If you'd like to revive this issue, please reopen it and feel free a maintainer to remove the Stale tag!


-- 
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-unsubscribe@doris.apache.org

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


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