-
Notifications
You must be signed in to change notification settings - Fork 25.6k
ESQL: Fix functions emitting warnings with no source #122821
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
Merged
ivancea
merged 28 commits into
elastic:main
from
ivancea:esql-source-functions-warnings-fix
Feb 24, 2025
Merged
Changes from 20 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
d8cdf36
Use ser/deserialized functions in function tests, only Match failing
ivancea d277fd1
Fixed Match
ivancea 1afc3ea
[CI] Auto commit changes from spotless
1b26239
Use the real Source, and implement for DateDiff
ivancea b8f315b
Updated tests to use the non-empty source, fixing the warnings and di…
ivancea 5350252
[CI] Auto commit changes from spotless
0419e9d
Merge branch 'main' into esql-source-functions-warnings
ivancea 2f48a59
Fixed RepeatStaticTests
ivancea a8f1698
Restore replaceChildren(), fix condition on serialization, and improv…
ivancea a65009f
Merge branch 'main' into esql-source-functions-warnings
ivancea 2643e57
Add check on test supplier types
ivancea b99e5a2
Add TransportVersion and fix functions with warnings and no source se…
ivancea 95b7937
Transport the source on missing functions, to avoid creating new TPs …
ivancea a7ee11b
Updated MvSlice with extra tests, and fixed source
ivancea 5a30e5d
Merge branch 'main' into esql-source-functions-warnings
ivancea c5b83ff
Merge branch 'esql-source-functions-warnings' into esql-source-functi…
ivancea d347c14
Fixed CaseTests
ivancea 92d49bc
Merge branch 'main' into esql-source-functions-warnings-fix
ivancea 075d99e
Update docs/changelog/122821.yaml
ivancea e30e72f
Merge branch 'main' into esql-source-functions-warnings-fix
ivancea 65bb97b
Update serialization tests
ivancea 048693e
Fix InTests
ivancea 79b1c4a
Lowercase test name
ivancea 59a2218
Merge branch 'main' into esql-source-functions-warnings-fix
ivancea e85bbc1
Improve InTests helper methods
ivancea caca630
Added CSV tests for warnings
ivancea ce980d1
Fixed tests
ivancea ca37e8a
Merge branch 'main' into esql-source-functions-warnings-fix
ivancea File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| pr: 122821 | ||
| summary: Fix functions emitting warnings with no source | ||
| area: ES|QL | ||
| type: bug | ||
| issues: | ||
| - 122588 |
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
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
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
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
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
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
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
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
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
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
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
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
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was one of the affected functions by the "warnings but no source" problem, but it had no tests for them. So here I added them based on the function errors |
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
forbelow wasn't checking the case where the TestCase data had more types than the supplier. This required fixing some cases in Top and Case