Commit 068cb8b
committed
Improved patterns command with new algorithm (#3263)
* Improved patterns command with new algorithm
Signed-off-by: Songkan Tang <songkant@amazon.com>
* Minor change log parser default configurations
Signed-off-by: Songkan Tang <songkant@amazon.com>
* Refactor a bit and add partial unit tests
Signed-off-by: Songkan Tang <songkant@amazon.com>
* Add more unit tests
Signed-off-by: Songkan Tang <songkant@amazon.com>
* Amend patterns user facing doc
Signed-off-by: Songkan Tang <songkant@amazon.com>
* Add average time benchmark for patterns window functions
Signed-off-by: Songkan Tang <songkant@amazon.com>
* Add new default pattern method setting to allow change
Signed-off-by: Songkan Tang <songkant@amazon.com>
* Update unit tests per injected setting
Signed-off-by: Songkan Tang <songkant@amazon.com>
* Update patterns command user facing doc after introducing setting
Signed-off-by: Songkan Tang <songkant@amazon.com>
* Complement more unit test cases
Signed-off-by: Songkan Tang <songkant@amazon.com>
* Adjust patterns.rst file format
Signed-off-by: Songkan Tang <songkant@amazon.com>
* Handle null like ExprValue cases and fix additional doctest
Signed-off-by: Songkan Tang <songkant@amazon.com>
* Fix spotless style check
Signed-off-by: Songkan Tang <songkant@amazon.com>
* Minor doctest fix style
Signed-off-by: Songkan Tang <songkant@amazon.com>
---------
Signed-off-by: Songkan Tang <songkant@amazon.com>1 parent 03083d7 commit 068cb8b
File tree
41 files changed
+2227
-129
lines changed- benchmarks/src/jmh/java/org/opensearch/sql/expression/operator/predicate
- common/src
- main/java/org/opensearch/sql/common
- patterns
- setting
- test/java/org/opensearch/sql/common/patterns
- core/src
- main/java/org/opensearch/sql
- analysis
- ast
- dsl
- expression
- tree
- expression
- function
- parse
- window
- frame
- patterns
- utils
- test/java/org/opensearch/sql
- analysis
- expression
- parse
- window
- frame
- patterns
- utils
- docs/user/ppl/cmd
- integ-test/src/test/java/org/opensearch/sql
- ppl
- util
- opensearch/src/main/java/org/opensearch/sql/opensearch/setting
- plugin/src/main/java/org/opensearch/sql/plugin/config
- ppl/src
- main
- antlr
- java/org/opensearch/sql/ppl
- parser
- test/java/org/opensearch/sql/ppl
- parser
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
41 files changed
+2227
-129
lines changedLines changed: 98 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
0 commit comments