Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[index template] Fix data stream timestamp field #1570

Merged

Conversation

phillip-dd
Copy link
Contributor

@phillip-dd phillip-dd commented Jan 13, 2022

Related to #1550 and 3e40684.

Although this is a just a string on the Java object, it's expressed as an object in the JSON api, see: https://github.com/elastic/elasticsearch/blob/5c4330292ffead1218ddba896431ca04408f766c/client/rest-high-level/src/main/java/org/elasticsearch/client/indices/DataStream.java#L162

The documentation concurs: https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-get-data-stream.html#get-data-stream-api-example

(Looks like I missed this in my original PR as well)

Edit: Sorry, opened with work account instead of personal.

Although this is a just a string on the Java object, it's expressed as an object in the JSON api.
@olivere olivere added this to the 7.0.32 milestone Jan 13, 2022
@olivere
Copy link
Owner

olivere commented Jan 13, 2022

Yeah, looks like it. Will do this in 7.0.32.

@phillbaker
Copy link
Contributor

phillbaker commented Mar 16, 2022

👋 @olivere just checking in on this, would you be able to review? Related to phillbaker/terraform-provider-elasticsearch#159

@olivere olivere merged commit 058eb00 into olivere:release-branch.v7 Mar 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants