Closed discord9 closed 4 months ago
Looks like this regression was introduced in https://github.com/CeresDB/sqlness/pull/63 cc @jiacai2050
We need to make a new release after this is fixed. Maybe 0.6.1
? If we don't class #67 as a breaking change.
Why you use ;
in time string, shouldn't it be :
?
Why you use
;
in time string, shouldn't it be:
?
It's a test for parsing incorrect timestamp, so many corner cases for handling timestamp are covered
Got it.
I already submit a PR fix this, will make a release today.
Thank you @jiacai2050 👍
Describe this problem
Current version of sqlness parse sql wrongly and will split this sql into three separate ones:
This is due to this place simply split sql by
;
instead of checking it semantic meaning: https://github.com/CeresDB/sqlness/blob/5469532cdaf87791b3af5d7e2918e92725f8dfc5/sqlness/src/case.rs#L157Steps to reproduce
will make sqlness think the last sql is three sql:
Expected behavior
not splitting sql
Additional Information
No response