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 Dissect with leading non-ascii characters #111184

Merged
merged 4 commits into from
Jul 23, 2024

Conversation

luigidellaquila
Copy link
Contributor

Testing ES|QL we noticed that a Dissect pattern with leading non-ascii characters, eg.

Zürich, the %{adjective} city in Switzerland

(see the ü)

returned wrong results.
Eg. for an input like

Zürich, the largest city in Switzerland

it returned largest, with an additional blank space at the beginning.

This PR fixes the problem in the DissectParser

@luigidellaquila luigidellaquila added >bug :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP labels Jul 23, 2024
@elasticsearchmachine elasticsearchmachine added Team:Data Management Meta label for data/management team v8.16.0 labels Jul 23, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@elasticsearchmachine
Copy link
Collaborator

Hi @luigidellaquila, I've created a changelog YAML for you.

@luigidellaquila
Copy link
Contributor Author

@elasticmachine run elasticsearch-ci/part-3

Copy link
Contributor

@alex-spies alex-spies left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @luigidellaquila !

@luigidellaquila
Copy link
Contributor Author

@elasticmachine run elasticsearch-ci/bwc-snapshots

@luigidellaquila
Copy link
Contributor Author

@elasticmachine update branch

@masseyke masseyke self-requested a review July 23, 2024 13:42
@luigidellaquila luigidellaquila merged commit 8f3244d into elastic:main Jul 23, 2024
15 checks passed
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP Team:Data Management Meta label for data/management team v8.15.1 v8.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants