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

[Transform] disallow fieldnames with a dot at start and/or end #51369

Merged

Conversation

hendrikmuhs
Copy link
Contributor

@hendrikmuhs hendrikmuhs commented Jan 23, 2020

adds field validation to disallow output field names starting and/or ending with a '.'. Avoids indexing/mapping problems when starting the transform.

Note for reviewer: heavy code re-formating, ignore commit 1 and start your review with 234044f

@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml/Transform)

Copy link
Member

@benwtrent benwtrent left a comment

Choose a reason for hiding this comment

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

:shipit:

@hendrikmuhs hendrikmuhs merged commit 44f1986 into elastic:master Jan 24, 2020
@hendrikmuhs hendrikmuhs changed the title [Transform] disallow dotted fieldnames [Transform] disallow fieldnames with a dot at start and/or end Jan 24, 2020
hendrikmuhs pushed a commit that referenced this pull request Jan 24, 2020
adds field validation to disallow output field names starting and/or ending with a '.'. Avoids
indexing/mapping problems when starting the transform.
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.

None yet

4 participants