Skip to content

[Bug]: the location of a sql-check's violation is not correct  #1758

@yhilmare

Description

@yhilmare

ODC version

4.2.4

OB version

not related

What happened?

I input a statement and add some break lines before it
截屏2024-03-05 21 09 01

I click sql-check button, the location of these violations is not correct:
截屏2024-03-05 21 09 43

as you can see, the offset is zero:

截屏2024-03-05 21 10 15

What did you expect to happen?

location should be right

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

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status

Closed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions