-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RD 10961 + RD 10948 fixes #434
Conversation
alexzerntev
commented
May 29, 2024
- Added support for multiline strings and quoted identifiers
- Fixed the position out of grid crash
sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
Show resolved
Hide resolved
sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
Show resolved
Hide resolved
val ValidateResponse(errors) = compilerService.validate(q, asJson()) | ||
assert(errors.nonEmpty) | ||
} | ||
|
||
test("""RD-10948"""){_ => | ||
test("""RD-10948""") { _ => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not forget to remove that test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I alternated it as we discussed
| (2, 'Jane', 'Doe', DATE '2024-01-01') | ||
|) as i(id, first_name, last_name, birthday) | ||
|WHERE id = :id && id = : | ||
|""".stripMargin | ||
val ValidateResponse(errors) = compilerService.validate(q, asJson()) | ||
assert(errors.nonEmpty) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test would crash during the line before. What error does one get now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
syntax error at or near "="
Is this error expected?
This test: test("Test multiple param occurrences") fails. This is new. I see the test code contains an extra |
- Added support for multiline strings and quoted identifiers - Fixed the position out of grid crash