feat: Support referencing individual tables from SQRL scripts in IMPORT and EXPORT#2218
Merged
Merged
Conversation
ferenc-csaky
force-pushed
the
feat/individual-table-import+export
branch
2 times, most recently
from
July 17, 2026 15:15
fa99107 to
d165b66
Compare
ferenc-csaky
marked this pull request as ready for review
July 17, 2026 15:15
…ORT` and `EXPORT`
ferenc-csaky
force-pushed
the
feat/individual-table-import+export
branch
from
July 17, 2026 15:20
d165b66 to
d24aac3
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #2218 +/- ##
============================================
- Coverage 16.47% 16.44% -0.03%
Complexity 1034 1034
============================================
Files 622 623 +1
Lines 17951 17983 +32
Branches 2193 2197 +4
============================================
+ Hits 2957 2958 +1
- Misses 14689 14720 +31
Partials 305 305 ☔ View full report in Codecov by Harness. |
mateczagany
reviewed
Jul 22, 2026
…inkCalciteParser.java Co-authored-by: Mate Czagany <4469996+mateczagany@users.noreply.github.com> Signed-off-by: Ferenc Csaky <ferenc.csaky@pm.me>
mateczagany
approved these changes
Jul 22, 2026
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.
Key Changes
parseScriptwith filterable output, so we can easily collectCREATE TABLEstatements from scriptsScriptSqrlModule, load the tables in a lazy manner (once), and return it if it's defined in the scriptFlinkCalciteParserand moved the Flink calcite parser init there, cause now we need that in two placesIMPORTandEXPORTusageTODO
IMPORT