arthur-zhang commented on pull request #6150:
URL: https://github.com/apache/incubator-doris/pull/6150#issuecomment-884051066


   when this pr is working, constant exprs will be handled in fe when no be is 
available. eg
   
   ```
   select version()
   select now()
   SELECT  @@session.auto_increment_increment AS auto_increment_increment, 
@@character_set_client AS character_set_client, @@character_set_connection AS 
character_set_connection, @@character_set_results AS character_set_results, 
@@character_set_server AS character_set_server, @@collation_server AS 
collation_server, @@collation_connection AS collation_connection, 
@@init_connect AS init_connect, @@interactive_timeout AS interactive_timeout, 
@@license AS license, @@lower_case_table_names AS lower_case_table_names, 
@@max_allowed_packet AS max_allowed_packet, @@net_buffer_length AS 
net_buffer_length, @@net_write_timeout AS net_write_timeout, @@query_cache_size 
AS query_cache_size, @@query_cache_type AS query_cache_type, @@sql_mode AS 
sql_mode, @@system_time_zone AS system_time_zone, @@time_zone AS time_zone, 
@@tx_isolation AS transaction_isolation, @@wait_timeout AS wait_timeout
   ```
   
   the following GUI sql tools will work without be.
   
   - DataGrip
   - SQLPro
   - Navicat for MySQL
   - Querious
   
   and can handle those query that is constant at 
   
   some initial sql to use 
   datagrip :
   ```
   SELECT  @@session.auto_increment_increment AS auto_increment_increment, 
@@character_set_client AS character_set_client, @@character_set_connection AS 
character_set_connection, @@character_set_results AS character_set_results, 
@@character_set_server AS character_set_server, @@collation_server AS 
collation_server, @@collation_connection AS collation_connection, 
@@init_connect AS init_connect, @@interactive_timeout AS interactive_timeout, 
@@license AS license, @@lower_case_table_names AS lower_case_table_names, 
@@max_allowed_packet AS max_allowed_packet, @@net_buffer_length AS 
net_buffer_length, @@net_write_timeout AS net_write_timeout, @@query_cache_size 
AS query_cache_size, @@query_cache_type AS query_cache_type, @@sql_mode AS 
sql_mode, @@system_time_zone AS system_time_zone, @@time_zone AS time_zone, 
@@tx_isolation AS transaction_isolation, @@wait_timeout AS wait_timeout
   ```
   
   querious:
   ```
   select @@version_comment limit 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]



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

Reply via email to