Skip to content

Conversation

@nik9000
Copy link
Member

@nik9000 nik9000 commented Feb 3, 2021

Replaces the double Pattern.compile invocations in painless scripts
with the fancy constant injection we added in #68088. This caused one of
the tests to fail. It turns out that we weren't fully iterating the IR
tree during the constant folding phases. I started experimenting and
added a ton of tests that failed. Then I fixed them by changing the IR
tree walking code.

Replaces the double `Pattern.compile` invocations in painless scripts
with the fancy constant injection we added in elastic#68088. This caused one of
the tests to fail. It turns out that we weren't fully iterating the IR
tree during the constant folding phases. I started experimenting and
added a ton of tests that failed. Then I fixed them by changing the IR
tree walking code.
@nik9000
Copy link
Member Author

nik9000 commented Feb 3, 2021

run elasticsearch-ci/packaging-sample-unix

@nik9000 nik9000 merged commit 8c0b57e into elastic:7.x Feb 4, 2021
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.

1 participant