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

Improve the number of regex patterns that are optimized to static OR conditions #9959

Merged
merged 1 commit into from
Jun 22, 2018

Conversation

jsternberg
Copy link
Contributor

See influxdata/influxql#21 for details.

Fixes #9574.

@ghost ghost assigned jsternberg Jun 11, 2018
@ghost ghost added the review label Jun 11, 2018
@jsternberg jsternberg force-pushed the js-9574-improve-rewrite-regex-conditions branch from bfc6468 to 8552736 Compare June 13, 2018 21:28
@ghost ghost added the review label Jun 13, 2018
@jsternberg jsternberg force-pushed the js-9574-improve-rewrite-regex-conditions branch 2 times, most recently from 2841702 to ebda0f3 Compare June 14, 2018 04:26
Gopkg.toml Outdated
@@ -32,7 +32,7 @@

[[constraint]]
name = "github.com/influxdata/influxql"
revision = "145e0677ff6418fa00ee7e5dd434305631ab44ea"
revision = "8d2756c43bb02f5d3e505c51cf83a1ac9234c419"
Copy link
Contributor

Choose a reason for hiding this comment

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

We should change this to branch = master.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is always set to an exact revision so the same revision is inherited by the closed source version.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've removed this constraint. I'll create something in the closed source to watch for these kinds of things.

@jsternberg jsternberg force-pushed the js-9574-improve-rewrite-regex-conditions branch from ebda0f3 to ed8001f Compare June 18, 2018 17:25
@hercules-influx
Copy link
Contributor

During a run of megacheck the following issues were discovered:

@jsternberg jsternberg force-pushed the js-9574-improve-rewrite-regex-conditions branch from ed8001f to 7962330 Compare June 19, 2018 15:38
@jsternberg jsternberg force-pushed the js-9574-improve-rewrite-regex-conditions branch from 7962330 to b492b65 Compare June 19, 2018 18:44
Copy link
Contributor

@e-dard e-dard left a comment

Choose a reason for hiding this comment

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

LGTM :+

@jsternberg jsternberg merged commit 335ac72 into master Jun 22, 2018
@ghost ghost removed the review label Jun 22, 2018
@jsternberg jsternberg deleted the js-9574-improve-rewrite-regex-conditions branch June 22, 2018 18:20
jsternberg added a commit that referenced this pull request Jun 22, 2018
jacobmarble pushed a commit that referenced this pull request Jun 27, 2018
jacobmarble pushed a commit that referenced this pull request Jun 27, 2018
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

3 participants