Skip to content

[WIP][CALCITE-6028] SqlToRelConverter#substituteSubQuery gives NullPointerException when convert expr JOIN ... ON ... AND ... IN ... and if size of IN exceeds IN_SUBQUERY_THRESHOLD#3526

Closed
taoran92 wants to merge 1 commit intoapache:mainfrom
taoran92:CALCITE-6028

Conversation

@taoran92
Copy link
Member

@taoran92 taoran92 commented Nov 15, 2023

https://issues.apache.org/jira/browse/CALCITE-6028

the PR only changed 2 lines, fix two exceptions.

1.the NPE is introduced by https://issues.apache.org/jira/browse/CALCITE-3292.
2.the assert in bb.register

…Exception when convert expr JOIN ... ON ... AND ... IN ... and if size of IN exceeds IN_SUBQUERY_THRESHOLD
@taoran92 taoran92 changed the title [CALCITE-6028] SqlToRelConverter#substituteSubQuery gives NullPointer… [CALCITE-6028] SqlToRelConverter#substituteSubQuery gives NullPointerException when convert expr JOIN ... ON ... AND ... IN ... and if size of IN exceeds IN_SUBQUERY_THRESHOLD Nov 15, 2023
@taoran92 taoran92 changed the title [CALCITE-6028] SqlToRelConverter#substituteSubQuery gives NullPointerException when convert expr JOIN ... ON ... AND ... IN ... and if size of IN exceeds IN_SUBQUERY_THRESHOLD [WIP][CALCITE-6028] SqlToRelConverter#substituteSubQuery gives NullPointerException when convert expr JOIN ... ON ... AND ... IN ... and if size of IN exceeds IN_SUBQUERY_THRESHOLD Nov 15, 2023
@taoran92 taoran92 closed this Nov 15, 2023
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 6 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant