You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shardingsphere.apache.org by duhongjun <co...@163.com> on 2018/12/18 08:58:17 UTC

Use antlr parse MySQL DML

Hi,
   MySQL DQL uses antlr to parse SQL in 3.1. The next development plan is to use antlr to parse MySQL DML statements, use MySQL's DML grammar files to generate parser code, and integrate it into shardingsphere.











--------------------------------
HongJun Du
Apache ShardingSphere

Re: Re: Use antlr parse MySQL DML

Posted by juan pan <pa...@apache.org>.
By using Antlr, ShardingSphere can support all of basic SQL parsing, hope
this work goes well.
---------------------------------
Juan Pan (Trista)
Apache ShardingSphere


duhongjun <co...@163.com> 于2018年12月19日周三 上午11:13写道:

> Parsing DCL and TCL using anltr  have been completed,  switch it in 3.1,
> after completiing DML and DQL , start Parsing DAL work
>
> --
>
> ---------------------------------
>
> HongJun Du
> Apache ShardingSphere
>
>
>
> 在 2018-12-19 08:33:21,"Zhang Yonglun" <zh...@apache.org> 写道:
> >MySQL DQL parsing by Antler has been proved success. I except this nice
> >feature.
> >
> >duhongjun <co...@163.com> 于2018年12月18日周二 下午4:58写道:
> >
> >> Hi,
> >>    MySQL DQL uses antlr to parse SQL in 3.1. The next development plan
> is
> >> to use antlr to parse MySQL DML statements, use MySQL's DML grammar
> files
> >> to generate parser code, and integrate it into shardingsphere.
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> --------------------------------
> >> HongJun Du
> >> Apache ShardingSphere
> >
> >
> >
> >--
> >Zhang Yonglun
> >Apache ShardingSphere
>

Re:Re: Use antlr parse MySQL DML

Posted by duhongjun <co...@163.com>.
Parsing DCL and TCL using anltr  have been completed,  switch it in 3.1, after completiing DML and DQL , start Parsing DAL work  

--

---------------------------------

HongJun Du
Apache ShardingSphere



在 2018-12-19 08:33:21,"Zhang Yonglun" <zh...@apache.org> 写道:
>MySQL DQL parsing by Antler has been proved success. I except this nice
>feature.
>
>duhongjun <co...@163.com> 于2018年12月18日周二 下午4:58写道:
>
>> Hi,
>>    MySQL DQL uses antlr to parse SQL in 3.1. The next development plan is
>> to use antlr to parse MySQL DML statements, use MySQL's DML grammar files
>> to generate parser code, and integrate it into shardingsphere.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --------------------------------
>> HongJun Du
>> Apache ShardingSphere
>
>
>
>-- 
>Zhang Yonglun
>Apache ShardingSphere

Re: Use antlr parse MySQL DML

Posted by Zhang Yonglun <zh...@apache.org>.
MySQL DQL parsing by Antler has been proved success. I except this nice
feature.

duhongjun <co...@163.com> 于2018年12月18日周二 下午4:58写道:

> Hi,
>    MySQL DQL uses antlr to parse SQL in 3.1. The next development plan is
> to use antlr to parse MySQL DML statements, use MySQL's DML grammar files
> to generate parser code, and integrate it into shardingsphere.
>
>
>
>
>
>
>
>
>
>
>
> --------------------------------
> HongJun Du
> Apache ShardingSphere



-- 
Zhang Yonglun
Apache ShardingSphere