-
Notifications
You must be signed in to change notification settings - Fork 25k
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
ESQL: Move expression classes into common package #105407
Conversation
ee6800a
to
e0643a6
Compare
Reviving this. Since the conflicts were too many, I started anew, branching from current main. |
Pinging @elastic/es-analytical-engine (Team:Analytics) |
import org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.Equals; | ||
import org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.EsqlBinaryComparison; | ||
import org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.GreaterThan; | ||
import org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.GreaterThanOrEqual; | ||
import org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.In; | ||
import org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.InsensitiveEquals; | ||
import org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.LessThan; | ||
import org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.LessThanOrEqual; | ||
import org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.NotEquals; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This here is subtle. Luckily, the serialization uses the plain class name and thus shouldn't be affected by this refactoring - similar to this change in #107789.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for fixing this.
There are some expressions both in
org.elasticsearch.xpack.esql.evaluator
andorg.elasticsearch.xpack.esql.expression
.Move them all into
org.elasticsearch.xpack.esql.expression
.All changed lines are mechanical.