-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Introduce DataFrameAnalyticsConfig update API #58302
Conversation
50b649e
to
24c1b35
Compare
Pinging @elastic/ml-core (:ml) |
24c1b35
to
59b3221
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I suggested a few minor changes.
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/messages/Messages.java
Outdated
Show resolved
Hide resolved
...test/java/org/elasticsearch/xpack/core/ml/dataframe/DataFrameAnalyticsConfigUpdateTests.java
Outdated
Show resolved
Hide resolved
.../java/org/elasticsearch/xpack/ml/dataframe/persistence/DataFrameAnalyticsConfigProvider.java
Show resolved
Hide resolved
.../java/org/elasticsearch/xpack/ml/dataframe/persistence/DataFrameAnalyticsConfigProvider.java
Outdated
Show resolved
Hide resolved
.../java/org/elasticsearch/xpack/ml/dataframe/persistence/DataFrameAnalyticsConfigProvider.java
Show resolved
Hide resolved
59b3221
to
2f20af1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM Apart from a typo. You can merge after fixing the typo.
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/messages/Messages.java
Show resolved
Hide resolved
Please see my inline comment. |
This PR introduces the Update API for data frame analytics.
Initially, 3 fields are made updatable:
description
,model_memory_limit
andallow_lazy_start
.model_memory_limit
can only be updated when analytics is stopped.description
andallow_lazy_start
can always be updated.Relates #45720