odc icon indicating copy to clipboard operation
odc copied to clipboard

[Bug]: sql window format error

Open tonghan-gsh opened this issue 2 years ago • 2 comments

ODC version

ODC 4.2.3

OB version

What happened?

select * from test where a like '%%' escape '\' and ( b = '1' or c in ('100003','100012') ) order by a image Formatting the above sentence, there are two more spaces

What did you expect to happen?

Formatted correctly

How can we reproduce it (as minimally and precisely as possible)?

Follow what happened

Anything else we need to know?

No response

Cloud

No response

tonghan-gsh avatar Dec 19 '23 15:12 tonghan-gsh

This problem is caused by syntax errors in SQL

HSunboy avatar Jan 30 '24 01:01 HSunboy

Image

HSunboy avatar Jan 30 '24 01:01 HSunboy