FORK: Allow all processing commands#129465
Merged
ioanatia merged 11 commits intoelastic:mainfrom Jun 17, 2025
Merged
Conversation
ivancea
reviewed
Jun 16, 2025
x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/StatementParserTests.java
Show resolved
Hide resolved
Collaborator
|
Pinging @elastic/es-analytical-engine (Team:Analytics) |
Collaborator
|
Pinging @elastic/kibana-esql (ES|QL-ui) |
3 tasks
ChrisHegarty
approved these changes
Jun 17, 2025
| | changePointCommand | ||
| | completionCommand | ||
| | grokCommand | ||
| : processingCommand |
Contributor
There was a problem hiding this comment.
When we added fork initially, it was a goal to get to this point - well done!
x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/StatementParserTests.java
Show resolved
Hide resolved
idegtiarenko
approved these changes
Jun 17, 2025
ivancea
approved these changes
Jun 17, 2025
alex-spies
approved these changes
Jun 17, 2025
Contributor
alex-spies
left a comment
There was a problem hiding this comment.
Looks good! Only minor comments from me.
| assertThat(dissect.parser().pattern(), equalTo("%{d} %{e} %{f}")); | ||
| } | ||
|
|
||
| public void testForkAllCommands() { |
Contributor
There was a problem hiding this comment.
Nice test! I think it'll get stale over time - but that's not a problem as long as fork is plugged into the generative testing with other commands.
x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/StatementParserTests.java
Show resolved
Hide resolved
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.
related: #126553
Allows all commands to be used in FORK branches.
We needed to make some adjustments to how we handle
)because otherwise using commands such asDROPin FORK branches caused errors such as:@idegtiarenko provided this example to visualize the problem.
we need to make sure we pop the
)while we are still inPROJECT_MODE:we needed to make these changes for all commands that can be part of FORK branches that don't use
EXPRESSION_MODE(which was handled here).