Re: "--" should not be an annotation use between single quotes in SQL

2018-10-11 Thread ShaoFeng Shi
I remember there was a change, which is to make "--" as the comment marker;
the words after "--" in a line will be skipped. Please report a JIRA.

Scott Fan  于2018年10月11日周四 下午2:54写道:

> Hi,
>
> When I exec a SQL below, KYLIN occur an error.
>
> SELECT * FROM TABLEA WHERE NAME='Jason--Arthur'
>
> Seems like KYLIN use '--' as an annotation.
>
> Thanks
>
>

-- 
Best regards,

Shaofeng Shi 史少锋


"--" should not be an annotation use between single quotes in SQL

2018-10-11 Thread Scott Fan
Hi,

When I exec a SQL below, KYLIN occur an error.

SELECT * FROM TABLEA WHERE NAME='Jason--Arthur'

Seems like KYLIN use '--' as an annotation.

Thanks