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

fixing dls/fls logic around numeric aggregations #789

Merged
merged 1 commit into from
Jan 27, 2023

Conversation

kaituo
Copy link
Collaborator

@kaituo kaituo commented Jan 26, 2023

Signed-off-by: Kaituo Li [email protected]

Issues Resolved

#788

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.

@amitgalitz
Copy link
Member

Weird that it says it can't get the zip for job scheduler but even the link in the error message works fine to download job-scheduler-1.3.8.0

@kaituo
Copy link
Collaborator Author

kaituo commented Jan 26, 2023

Weird that it says it can't get the zip for job scheduler but even the link in the error message works fine to download job-scheduler-1.3.8.0

Indeed.

user = jobParameter.getUser().getName();
roles = jobParameter.getUser().getRoles();
}
User userInfo = SecurityUtil.getUserFromJob(jobParameter, settings);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this ready user information stored in AD job? I think we have no way to get user information from security plugin. Just asking to learn more

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, it is from AD job.

import org.opensearch.ad.util.DiscoveryNodeFilterer;
import org.opensearch.ad.util.IndexUtils;
import org.opensearch.ad.util.Throttler;
import org.opensearch.ad.util.*;
Copy link
Collaborator

Choose a reason for hiding this comment

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

minor: should we avoid using import *?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, will fix in other PRs since 1.3.8 is due today.

@kaituo kaituo merged commit 0773edf into opensearch-project:1.3 Jan 27, 2023
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.

3 participants