Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
RD 10961 + RD 10948 fixes #434
Changes from 4 commits
ce45018
a12e709
ba84e65
a70ab7f
5016590
e21e4c6
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT COUNT(*) FROM example.airports WHERE :city::json IS NULL OR :city::integer != 3 OR :city::xml IS NULL
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.-- @type v double precisionw SELECT :v FROM example.airports where city = :city
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.select * from exam
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.select * from "example"."airp
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT * FROM example.airports WHERE airports.c
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT * FROM example.airports WHERE airports."c
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT * FROM example.airports WHERE ai. AND airports.
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT * FROM example.airports WHERE ai.
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT * FROM example.airports WHERE airports.
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT * FROM example.airports WHERE example.airports.
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT * FROM "example"."airports" WHERE "ai
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT * FROM "example"."airports" WHERE "airports".
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT * FROM EXAMPLE.AIRPORTS WHERE AIRPORTS.
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT * FROM EXAMPLE.AIRPORTS WHERE AI.
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT * FROM "EXAMPLE"."AIRPORTS" WHERE "AIRPORTS".
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT * FROM example. WHERE airports.city = 'Porto' AND airports.country = 'Portugal'
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT * FROM example.airports WHERE city = 'Braganca'
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT * FROM example.airports WHERE city = :city
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.-- a query with no default, called without the parameter SELECT * FROM example.airports WHERE city = :city
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.-- a query with a default, called without the parameter -- @default city 'Athens' SELECT COUNT(*) AS n FROM example.airports WHERE city = :city
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.-- @type age intger -- @default age 'tralala -- @param whatever an unknown parameter SELECT COUNT(*) FROM example.airports WHERE :city = city
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.-- @type age integer -- @default age 'tralala' -- @param whatever an unknown parameter SELECT COUNT(*) FROM example.airports WHERE :age = city
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT * FROM example.airports WHERE city = :param and airport_id = :param
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT * FROM
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT * FROM inexistent-table
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT * FROM inexistent_table
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.-- @default a 1234 -- @type a date SELECT LENGTH(:a)
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports./* @default a 1 + 1 */ SELECT :a + :a AS v
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT * FROM wrong.relation
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT COUNT(*) FROM example.airports WHERE city = :name OR country = :name
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT COUNT(*) FROM example.airports WHERE city = COALESCE(:name, 'Lyon')
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.-- @param s just an int SELECT DATE '2002-01-01' - :s::int AS x -- RD-10538
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.-- @default s CAST(null AS INTEGER) SELECT DATE '2002-01-01' - :s AS x -- RD-10538
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT COUNT(*) FROM example.airports;
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT COUNT(*) FROM example.airports; -- nothing here
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT COUNT(*) FROM example.airports; -- @param name Name of the client.
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT :v > 12 AS column
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.SELECT :city > 12, city FROM example.airports WHERE airport_id = :city LIMIT 2
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.RD-10948+10961
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.RD-10948
Raw output
Check failure on line 31 in sql-client/src/test/scala/raw/client/sql/TestSqlCompilerServiceAirports.scala
TestSqlCompilerServiceAirports.RD-10961
Raw output
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
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?
Check failure on line 248 in sql-client/src/test/scala/raw/client/sql/TestSqlParser.scala
TestSqlParser.Test multiple param occurrences
Raw output