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

fix ML task index mapping #2949

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

ylwu-amzn
Copy link
Collaborator

Description

Fix ML task index mapping

Related Issues

Resolves #2948

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Yaliang Wu <[email protected]>
+ MLTask.REMOTE_JOB_FIELD
+ "\" : {\"type\": \"flat_object\"}\n"
+ "\" : {\"type\": \"flat_object\"}, \n"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we want to keep the consistency with other fields may be we can add + " \"" after this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not quite get you, that will bring extra \" which will be a wrong index mapping

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry the confusion. Please ignore my comment.

@Zhangxunmt Zhangxunmt merged commit 091f5df into opensearch-project:main Sep 13, 2024
5 of 6 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 13, 2024
Signed-off-by: Yaliang Wu <[email protected]>
(cherry picked from commit 091f5df)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 13, 2024
Signed-off-by: Yaliang Wu <[email protected]>
(cherry picked from commit 091f5df)
Zhangxunmt pushed a commit that referenced this pull request Sep 13, 2024
Signed-off-by: Yaliang Wu <[email protected]>
(cherry picked from commit 091f5df)

Co-authored-by: Yaliang Wu <[email protected]>
Zhangxunmt pushed a commit that referenced this pull request Sep 13, 2024
Signed-off-by: Yaliang Wu <[email protected]>
(cherry picked from commit 091f5df)

Co-authored-by: Yaliang Wu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] ML task index mapping is wrong
3 participants