-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[CALCITE-5976] Function ARRAY_PREPEND/ARRAY_APPEND/ARRAY_INSERT gives exception when inserted element type not equals array component type #3705
Conversation
The code is very ugly, please do not review it, I will refactor it later. |
22c1499
to
79b8967
Compare
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorUtil.java
Outdated
Show resolved
Hide resolved
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorUtil.java
Outdated
Show resolved
Hide resolved
you can create a DRAFT PR when PR is not ready. |
testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java
Outdated
Show resolved
Hide resolved
@caicancai A suggestion, don’t directly @/pin committers to review for you. This will affect other committers or contributors’ participation in your reviews. |
Thanks for your reminder |
core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java
Outdated
Show resolved
Hide resolved
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorUtil.java
Outdated
Show resolved
Hide resolved
18527f8
to
eb966ee
Compare
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorUtil.java
Outdated
Show resolved
Hide resolved
testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java
Outdated
Show resolved
Hide resolved
testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java
Outdated
Show resolved
Hide resolved
testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java
Outdated
Show resolved
Hide resolved
core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java
Outdated
Show resolved
Hide resolved
451e2fb
to
cf664f8
Compare
@caicancai please use correct/proper commit name when you fix code-reivews to add a new commit. |
@caicancai I have created a commit based on your PR. you can pick and take a look. |
Thank you, very much appreciated |
d0cbd5d
to
754787c
Compare
no comment. squashing |
@caicancai please change your commit/pr name. |
Thank you |
@chucheng92 I've added you as Co-authored, thank you very much |
@caicancai looks good to me now. could you change commit name by using 'ARRAY_PREPEND/ARRAY_APPEND/ARRAY_INSERT'. These function names are usually capitalized in commit. |
@chucheng92 I fixed a similar problem. If you have time, can you help me take a look at this PR? Thank you. |
looks good to me now, good job. @caicancai |
… exception when inserted element type not equals array component type Co-authored-by: Ran Tao <chucheng.tr@gmail.com>
Quality Gate passedIssues Measures |
merging ... |
https://issues.apache.org/jira/browse/CALCITE-5976