You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.AssertionError: Failure at [tsdb/05_dimension_and_metric_in_non_tsdb_index:239]: expected [2xx] status code but api [index] returned [400 Bad Request] [{"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"failed to parse field [nested.dim] of type [keyword] in document with id 'yF2M-n4BxnJzvZeHLUG1'. Preview of field's value: 'bar'","stack_trace":"org.elasticsearch.index.mapper.MapperParsingException: failed to parse field [nested.dim] of type [keyword] in document with id 'yF2M-n4BxnJzvZeHLUG1'. Preview of field's value: 'bar'\n\tat org.elasticsearch.index.mapper.FieldMapper.parse(FieldMapper.java:254)\n\tat org.elasticsearch.index.mapper.DocumentParser.parseObjectOrField(DocumentParser.java:356)\n\tat org.elasticsearch.index.mapper.DocumentParser.parseValue(DocumentParser.java:508)\n\tat org.elasticsearch.index.mapper.DocumentParser.innerParseObject(DocumentParser.java:296)\n\tat org.elasticsearch.index.mapper.DocumentParser.parseObjectOrNested(DocumentParser.java:260)\n\tat org.elasticsearch.index.mapper.DocumentParser.parseObjectOrField(DocumentParser.java:354)\n\tat org.elasticsearch.index.mapper.DocumentParser.parseObject(DocumentParser.java:387)\n\tat org.elasticsearch.index.mapper.DocumentParser.parseNonDynamicArray(DocumentParser.java:470)\n\tat org.elasticsearch.index.mapper.DocumentParser.parseArray(DocumentParser.java:428)\n\tat org.elasticsearch.index.mapper.DocumentParser.innerParseObject(DocumentParser.java:284)\n\tat org.elasticsearch.index.mapper.DocumentParser.parseObjectOrNested(DocumentParser.java:260)\n\tat org.elasticsearch.index.mapper.DocumentParser.internalParseDocument(DocumentParser.java:118)\n\tat org.elasticsearch.index.mapper.DocumentParser.parseDocument(DocumentParser.java:80)\n\tat org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:80)\n\tat org.elasticsearch.index.shard.IndexShard.prepareIndex(IndexShard.java:998)\n\tat org.elasticsearch.index.shard.IndexShard.applyIndexOperation(IndexShard.java:947)\n\tat org.elasticsearch.index.shard.IndexShard.applyIndexOperationOnPrimary(IndexShard.java:891)\n\tat org.elasticsearch.action.bulk.TransportShardBulkAction.executeBulkItemRequest(TransportShardBulkAction.java:320)\n\tat org.elasticsearch.action
The text was updated successfully, but these errors were encountered:
…_dimension (#83920)
At the moment we really don't know what configuring a
`time_series_dimension` should *do* when there are nested documents.
So, for now, we're going to disable it. One day when someone has a good
idea of how it should work we can build that. But for now we don't want
to guess wrong and then lock us into some annoying behavior that no one
needs but we have to support for backwards compatibility reasons.
Closes: #83915
probakowski
pushed a commit
to probakowski/elasticsearch
that referenced
this issue
Feb 23, 2022
…_dimension (elastic#83920)
At the moment we really don't know what configuring a
`time_series_dimension` should *do* when there are nested documents.
So, for now, we're going to disable it. One day when someone has a good
idea of how it should work we can build that. But for now we don't want
to guess wrong and then lock us into some annoying behavior that no one
needs but we have to support for backwards compatibility reasons.
Closes: elastic#83915
CI Link
local
Repro line
./gradlew ':rest-api-spec:yamlRestTest' --tests "org.elasticsearch.test.rest.ClientYamlTestSuiteIT.test {yaml=tsdb/05_dimension_and_metric_in_non_tsdb_index/nested dimensions}" -Dtests.seed=CE43030603A1AB90 -Dtests.locale=en-PH -Dtests.timezone=Asia/Aqtau -Druntime.java=17
Does it reproduce?
Yes
Applicable branches
master
Failure history
I just caused it
Failure excerpt
The text was updated successfully, but these errors were encountered: