### _Why are the changes needed?_ Close https://github.com/apache/incubator-kyuubi/issues/3926, we intend to introduce the parser module based on antlr4 in the Apache kyuubi server. Through this module, we can achieve: 1. Expand kyuubi capabilities, for example, implement `SHOW KYUUBI_SESSIONS` through SQL. 2. Sql translation for mysql front-end protocol. 3. Sql translation for trino front-end protocol. This issue is the first step of the parser module, which introduces the parser module and implements `SHOW KYUUBI_SESSION`, and then improves the Apache kyuubi parser module based on this initial pr. ### _How was this patch tested?_ - [x] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #3944 from Yikf/parser-init. Closes #3926 4463b298 [Yikf] [KYUUBI #3926] Introduce antlr4 to parse query statement Authored-by: Yikf <yikaifei1@gmail.com> Signed-off-by: Cheng Pan <chengpan@apache.org> |
||
|---|---|---|
| .. | ||
| kyuubi-codecov | ||
| kyuubi-tpcds | ||
| checkout_pr.sh | ||
| dependencyList | ||
| merge_kyuubi_pr.py | ||
| reformat | ||