Fix bad parameter count in code generator#7014
Merged
dain merged 1 commit intotrinodb:masterfrom Feb 27, 2021
Merged
Conversation
findepi
reviewed
Feb 24, 2021
Member
findepi
left a comment
There was a problem hiding this comment.
Please add a unit test.
Also, please add an integration test ensuring there isn't a similar limitation elsewhere.
Contributor
|
One of the tests is failing right now: |
a922e09 to
a95787f
Compare
Member
Author
findepi
approved these changes
Feb 25, 2021
testing/trino-tests/src/test/java/io/trino/tests/TestServer.java
Outdated
Show resolved
Hide resolved
Member
There was a problem hiding this comment.
Seems redundant, this is what test method name is saying
Member
Author
There was a problem hiding this comment.
I like comments like this as it helps me when updating to know if the exact query shape was important.
testing/trino-tests/src/test/java/io/trino/tests/TestServer.java
Outdated
Show resolved
Hide resolved
Member
There was a problem hiding this comment.
I guess the query can select from VALUES and thus you don't need to DROP and CREATE here
Member
Author
There was a problem hiding this comment.
Using values is dangerous as it can be optimized away. I'm just going to leave the query as is.
Avoid BLOCK_POSITION when there a lot of function arguments
a95787f to
c4ac0dc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Avoid BLOCK_POSITION when there a lot of function arguments