Skip to content

[ML] 'prediction_field_name' accepts values that clash with already existing fields #48808

@dolaru

Description

@dolaru

Found in 7.5.0

Currently, the value of the prediction_field_name parameter for analytics jobs accepts any string value as a field name.

This means the user can put in a field name that clashes with something we're already using under the ml key when writing results (e.g.is_training). If a user does so, the analytics job fails due to mapping conflicts at the result writing stage.

This kind of situation can be avoided by failing during job creation if prediction_field_name matches any child key from the ml field mapping we use for the results index.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :mlMachine learning>bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions