morningman opened a new pull request, #27581:
URL: https://github.com/apache/doris/pull/27581

   ## Proposed changes
   
   Add a new FE Config `sql_convertor_service`.
   If this config is set, and the session variable `sql_dialect` is set,
   Doris will try to use a standalone sql converter service to convert user 
input sql to
   specified sql dialect. eg:
   
   ```
   mysql> set sql_dialect="presto";
   Query OK, 0 rows affected (0.02 sec)
   
   Database changed
   mysql> select * from db1.tbl1 where "k1" = 1; 
   +------+------+
   | k1   | k2   |
   +------+------+
   |    1 |    2 |
   +------+------+
   1 row in set (0.08 sec)
   ```
   
   The sql converter service should be a http service.
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


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