Commit 81c9285
authored
Decouple function repository and DSL from IoC container for use anywhere (#1085)
* Make function repository singleton
Signed-off-by: Chen Dai <daichen@amazon.com>
* Make all DSL function static
Signed-off-by: Chen Dai <daichen@amazon.com>
* Clean up unused imports
Signed-off-by: Chen Dai <daichen@amazon.com>
* Update javadoc with more context
Signed-off-by: Chen Dai <daichen@amazon.com>
* Remove expression config
Signed-off-by: Chen Dai <daichen@amazon.com>
* Add TODO comment
Signed-off-by: Chen Dai <daichen@amazon.com>
* Fixed build failure
Signed-off-by: Chen Dai <daichen@amazon.com>
* Address PR comments
Signed-off-by: Chen Dai <daichen@amazon.com>
Signed-off-by: Chen Dai <daichen@amazon.com>1 parent cdb30ee commit 81c9285
84 files changed
Lines changed: 2207 additions & 2391 deletions
File tree
- core/src
- main/java/org/opensearch/sql
- analysis
- expression
- config
- function
- planner/optimizer
- rule
- test/java/org/opensearch/sql
- analysis
- executor
- expression
- aggregation
- conditional
- datetime
- function
- operator
- arthmetic
- convert
- predicate
- system
- text
- window
- aggregation
- ranking
- planner
- logical
- optimizer
- physical
- integ-test/src/test/java/org/opensearch/sql/ppl
- opensearch/src/test/java/org/opensearch/sql/opensearch
- data/type
- planner/logical
- storage
- script
- aggregation
- dsl
- filter
- lucene
- relevance
- sort
- serialization
- plugin/src/main/java/org/opensearch/sql/plugin
- catalog
- config
- prometheus/src/test/java/org/opensearch/sql/prometheus
- planner/logical
- storage
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 7 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
74 | 73 | | |
75 | 74 | | |
76 | 75 | | |
77 | | - | |
78 | 76 | | |
79 | 77 | | |
80 | 78 | | |
| |||
86 | 84 | | |
87 | 85 | | |
88 | 86 | | |
89 | | - | |
90 | 87 | | |
91 | 88 | | |
92 | 89 | | |
| |||
103 | 100 | | |
104 | 101 | | |
105 | 102 | | |
106 | | - | |
| 103 | + | |
107 | 104 | | |
108 | 105 | | |
109 | 106 | | |
| |||
116 | 113 | | |
117 | 114 | | |
118 | 115 | | |
119 | | - | |
| 116 | + | |
120 | 117 | | |
121 | 118 | | |
122 | 119 | | |
123 | 120 | | |
124 | 121 | | |
125 | 122 | | |
126 | 123 | | |
127 | | - | |
| 124 | + | |
128 | 125 | | |
129 | 126 | | |
130 | 127 | | |
131 | 128 | | |
132 | 129 | | |
133 | 130 | | |
134 | 131 | | |
135 | | - | |
| 132 | + | |
136 | 133 | | |
137 | 134 | | |
138 | 135 | | |
139 | 136 | | |
140 | 137 | | |
141 | 138 | | |
142 | 139 | | |
143 | | - | |
| 140 | + | |
144 | 141 | | |
145 | 142 | | |
146 | 143 | | |
147 | 144 | | |
148 | | - | |
| 145 | + | |
149 | 146 | | |
150 | 147 | | |
151 | 148 | | |
| |||
226 | 223 | | |
227 | 224 | | |
228 | 225 | | |
229 | | - | |
| 226 | + | |
230 | 227 | | |
231 | 228 | | |
232 | 229 | | |
| |||
0 commit comments