Commit 2a13652
committed
SQL: Rename SQL type DATE to DATETIME (#37395)
* SQL: Rename SQL data type DATE to DATETIME
SQL data type DATE has only the date part (e.g.: 2019-01-14)
without any time information. Previously the SQL type DATE was
referring to the ES DATE which contains also the time part along
with TZ information. To conform with SQL data types the data type
`DATE` is renamed to `DATETIME`, since it includes also the time,
as a new runtime SQL `DATE` data type will be introduced down the road,
which only contains the date part and meets the SQL standard.
Closes: #36440
* Address comments1 parent 5751829 commit 2a13652
File tree
56 files changed
+314
-308
lines changed- docs/reference/sql
- endpoints
- functions
- x-pack/plugin/sql
- jdbc/src
- main/java/org/elasticsearch/xpack/sql/jdbc
- test/java/org/elasticsearch/xpack/sql/jdbc
- qa/src/main
- java/org/elasticsearch/xpack/sql/qa
- jdbc
- resources
- src
- main/java/org/elasticsearch/xpack/sql
- analysis/index
- execution/search/extractor
- expression
- function
- grouping
- scalar/datetime
- gen/script
- parser
- planner
- querydsl
- agg
- container
- type
- test/java/org/elasticsearch/xpack/sql
- analysis
- analyzer
- index
- execution/search/extractor
- expression
- function/scalar/datetime
- predicate/operator/arithmetic
- optimizer
- parser
- planner
- plan/logical/command/sys
- type
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
56 files changed
+314
-308
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
190 | | - | |
| 189 | + | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
0 commit comments