[ES|QL] remove superfluous validation checks#230016
[ES|QL] remove superfluous validation checks#230016drewdaemon merged 43 commits intoelastic:mainfrom
Conversation
3127be0 to
a56c928
Compare
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Public APIs missing comments
Async chunks
Page load bundle
History
|
|
Pinging @elastic/kibana-esql (Team:ESQL) |
stratoula
left a comment
There was a problem hiding this comment.
LGTM! Code review only
## Summary Part of elastic#221230 **To remove** General - [x] Field shadowing (shadowFieldType) elastic@a56c928 - [x] Wild-card support in commands (wildcardNotSupportedForCommand) elastic@e82f11e Functions - [ ] Nested agg functions (will address these in elastic#180518) - [ ] Fields in constant-only positions (will address these in elastic#180518) - [x] Wild-card support (* — should mostly be covered by syntactical validation) elastic@e82f11e - [x] Specific functions (fnDefinition.validate) elastic@1c56b1b - [x] MATCH and QSTR after certain commands elastic@1c56b1b - [x] logOfNegativeValue warning for log functions elastic@1c56b1b - [x] divideByZero warning (4 / 0) elastic@1c56b1b - [x] moduleByZero warning (4 % 0) elastic@1c56b1b STATS - [x] No agg function elastic@ab71567 - [x] Combining agg and non-agg values elastic@ab71567 - [x] DISSECT append_separator unknownDissectKeyword elastic@ab71567 ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
## Summary Part of elastic#221230 **To remove** General - [x] Field shadowing (shadowFieldType) elastic@a56c928 - [x] Wild-card support in commands (wildcardNotSupportedForCommand) elastic@e82f11e Functions - [ ] Nested agg functions (will address these in elastic#180518) - [ ] Fields in constant-only positions (will address these in elastic#180518) - [x] Wild-card support (* — should mostly be covered by syntactical validation) elastic@e82f11e - [x] Specific functions (fnDefinition.validate) elastic@1c56b1b - [x] MATCH and QSTR after certain commands elastic@1c56b1b - [x] logOfNegativeValue warning for log functions elastic@1c56b1b - [x] divideByZero warning (4 / 0) elastic@1c56b1b - [x] moduleByZero warning (4 % 0) elastic@1c56b1b STATS - [x] No agg function elastic@ab71567 - [x] Combining agg and non-agg values elastic@ab71567 - [x] DISSECT append_separator unknownDissectKeyword elastic@ab71567 ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
## Summary Part of elastic#221230 **To remove** General - [x] Field shadowing (shadowFieldType) elastic@a56c928 - [x] Wild-card support in commands (wildcardNotSupportedForCommand) elastic@e82f11e Functions - [ ] Nested agg functions (will address these in elastic#180518) - [ ] Fields in constant-only positions (will address these in elastic#180518) - [x] Wild-card support (* — should mostly be covered by syntactical validation) elastic@e82f11e - [x] Specific functions (fnDefinition.validate) elastic@1c56b1b - [x] MATCH and QSTR after certain commands elastic@1c56b1b - [x] logOfNegativeValue warning for log functions elastic@1c56b1b - [x] divideByZero warning (4 / 0) elastic@1c56b1b - [x] moduleByZero warning (4 % 0) elastic@1c56b1b STATS - [x] No agg function elastic@ab71567 - [x] Combining agg and non-agg values elastic@ab71567 - [x] DISSECT append_separator unknownDissectKeyword elastic@ab71567 ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
|
Hello @drewdaemon ! |
|
Hi @rodrigomadalozzo ! We didn't really see this particular change as a bug fix, just a strategic simplification. If you're encountering incorrect validation errors on an older version, unfortunately there isn't much to do except ignore them and submit your query. We know the validation has had bugs... Feel free to reach out if you have more questions or a specific issue |
Summary
Part of #221230
To remove
General
Functions
STATS
Checklist