ES|QL date_range data type#133309
Conversation
bf3e582 to
572349d
Compare
server/src/main/java/org/elasticsearch/index/mapper/RangeFieldMapper.java
Outdated
Show resolved
Hide resolved
test/framework/src/main/java/org/elasticsearch/index/mapper/TestBlock.java
Show resolved
Hide resolved
.../plugin/esql/compute/src/main/java/org/elasticsearch/compute/data/DateRangeBlockBuilder.java
Outdated
Show resolved
Hide resolved
ff774e6 to
2f8e144
Compare
2f8e144 to
870d453
Compare
x-pack/plugin/esql/qa/testFixtures/src/main/java/org/elasticsearch/xpack/esql/CsvAssert.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/elasticsearch/index/mapper/RangeFieldMapper.java
Outdated
Show resolved
Hide resolved
|
I'd add another test to After than, I'd try and get the rest of the tests passing. |
a851d6b to
cba120d
Compare
ℹ️ Important: Docs version tagging👋 Thanks for updating the docs! Just a friendly reminder that our docs are now cumulative. This means all 9.x versions are documented on the same page and published off of the main branch, instead of creating separate pages for each minor version. We use applies_to tags to mark version-specific features and changes. Expand for a quick overviewWhen to use applies_to tags:✅ At the page level to indicate which products/deployments the content applies to (mandatory) What NOT to do:❌ Don't remove or replace information that applies to an older version 🤔 Need help?
|
cba120d to
64a8dcb
Compare
9930775 to
0591d5b
Compare
nik9000
left a comment
There was a problem hiding this comment.
Makes sense to me. I think it's time to drop draft from this, get all the tests happy, and get it in. Then we can extend it with stuff like supporting this field type in top n (not as a sort key, but as a sorted field), COALESCE, TO_STRING, etc. And maybe a TO_DATE_RANGE function too. Lots of separate stuff we can build on top of this.
server/src/main/java/org/elasticsearch/index/mapper/RangeFieldMapper.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/elasticsearch/index/mapper/RangeFieldMapper.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/elasticsearch/index/mapper/RangeFieldMapper.java
Outdated
Show resolved
Hide resolved
x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/data/BlockFactory.java
Show resolved
Hide resolved
5ea25dc to
ec5bd46
Compare
|
Hi @shmuelhanoch, I've updated the changelog YAML for you. |
...ulti-clusters/src/javaRestTest/java/org/elasticsearch/xpack/esql/ccq/MultiClusterSpecIT.java
Show resolved
Hide resolved
Add missing executor cleanup in finally block to prevent thread leaks when the test creates a ThreadPoolExecutor.
This new method checks if a given ESQL query contains any specified indices, facilitating special handling for queries using indices loaded into multiple clusters. The method is integrated into MultiClusterSpecIT to streamline the logic for determining when to use remote indices, improving code clarity and maintainability.
Basic support for DATE_RANGE field type.