This repository was archived by the owner on Aug 2, 2022. It is now read-only.
Commit f33c0e6
DATE_FORMAT function (#764)
* Bug fix, support long type for aggregation (#522)
* Bug fix, support long type for aggregation
* change to datetime to JDBC format
* Opendistro Release 1.9.0 (#532)
* prepare odfe 1.9
* Fix all ES 7.8 compile and build errors
* Revert changes as Lombok is working now
* Update CustomExternalTestCluster.java
* Fix license headers check
* Use splitFieldsByMetadata to separate fields when calling SearchHit constructor
* More fixes for ODFE 1.9
* Remove todo statement
* Add ODFE 1.9.0 release notes
* Rename release notes to use 4 digit versions (#547)
* Revert changes ahead of develop branch in master (#551)
* Revert "Rename release notes to use 4 digit versions (#547)"
This reverts commit 33c6d3e.
* Revert "Opendistro Release 1.9.0 (#532)"
This reverts commit 254f2e0.
* Revert "Bug fix, support long type for aggregation (#522)"
This reverts commit fb2ed91.
* Merge all SQL repos and adjust workflows (#549) (#554)
* merge all sql repos
* fix test and build workflows
* fix workbench and odbc path
* fix workbench and odbc path
* restructure workbench dir and fix workflows
* fix workbench workflow
* fix workbench workflow
* fix workbench workflow
* fix workbench workflow
* fix workbench workflow
* revert workbench directory structure
* fix workbench workflow
* fix workbench workflow
* fix workbench workflow
* fix workbench workflow
* update workbench workflow for release
* Delete .github/ in sql-workbench directory
* Add cypress to sql-workbench
* Sync latest ODBC commits
* Sync latest workbench commits (will add cypress in separate PR)
* Add ignored ODBC libs
* add date and time support (#560)
* add date and time support
* update doc
* update doc
* Revert "add date and time support (#560)" (#567)
This reverts commit 4b33a2f.
* add error details for all server communication errors (#645)
- add null check to avoid crashing if details not initialized
* Revert "add error details for all server communication errors (#645)" (#653)
This reverts commit c11125d.
* Fix download link in package description (#729)
* add functions day, month, quarter, year
* fix build error
* fix doctest error
* fix doctest build error
* fix doctest
* add dayofmonth()
* add dayofyear()
* add dayofweek()
* fix dayofweek logic & add unit test
* fix doctest for dayofweek()
* add dayname
* add monthname
* fix checkstyle build error
* fix build error
* fix doctest for monthname
* add hour()
* add minute()
* add second
* add microsecond
* fix datetime & timestamp issue for microsecond
* add time_to_sec
* add subdate & date_sub
* fix doctest error
* fix build error
* add KeywordsCanBeId for dayofweek
* add to_days
* add from_days()
* arrange by alphabetical order
* add manual IT
* add string input for date functions
* fix microsecond
* update doc
* add date_add
* add week
* address PR comments
* update tests & doc
* fix doc format
* update tests for adddate
* move string conversion to ExprStringValue
* add string type in doc
* edge case
* fix case 5 & 7
* add IT
* update doc
* fix table
* rename
* add string type
* nit: add newline
* fix type in comment
* nit
* add test cases for datetime function in ExpeStringValue
* removing implicit def for keyword in parser
* add dayofweek
* [1] Merged rupals week branch in
* add unit tests for null, missing values
* nit
* [1] Added integration tests.
* [1] Working on ppl integration tests.
* [1] Updated for integration tests
* [1] Fixed schema verification
* [1] Adding documentation.
* [1] Fixing documentation
* [1] Simplified a bunch of logic
* [1] Reducing changes that are from spacing
* [1] Removed extra merge line
* address PR comment
* [1] Updates
* [1] Removed some unwanted changes.
* [1] Minor whitespace adjustements
* [1] Updating based on code review
Co-authored-by: Peng Huo <penghuo@gmail.com>
Co-authored-by: Joshua <joshuali925@gmail.com>
Co-authored-by: Joshua Li <lijshu@amazon.com>
Co-authored-by: Jordan Wilson <37088125+jordanw-bq@users.noreply.github.com>
Co-authored-by: Chloe <chloezh1102@gmail.com>
Co-authored-by: chloe-zh <fizhang@amazon.com>
Co-authored-by: Sayali Gaikawad <61760125+gaiksaya@users.noreply.github.com>
Co-authored-by: Rupal Mahajan <>1 parent d75b7f1 commit f33c0e6
File tree
13 files changed
+450
-20
lines changed- core/src
- main/java/com/amazon/opendistroforelasticsearch/sql
- data/model
- expression
- datetime
- function
- test/java/com/amazon/opendistroforelasticsearch/sql/expression/datetime
- docs/user/dql
- integ-test/src/test/java/com/amazon/opendistroforelasticsearch/sql
- ppl
- sql
- ppl/src/main/antlr
- sql/src/main/antlr
13 files changed
+450
-20
lines changedLines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | | - | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
332 | 336 | | |
333 | 337 | | |
334 | 338 | | |
| |||
Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
Lines changed: 120 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 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
400 | 401 | | |
401 | 402 | | |
402 | 403 | | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
403 | 425 | | |
404 | 426 | | |
405 | 427 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
Lines changed: 128 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
74 | 160 | | |
75 | 161 | | |
76 | 162 | | |
| |||
872 | 958 | | |
873 | 959 | | |
874 | 960 | | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
875 | 1003 | | |
876 | 1004 | | |
877 | 1005 | | |
| |||
0 commit comments