Skip to content

Conversation

@idegtiarenko
Copy link
Contributor

TableInfo is currently wrapping a single IndexPattern field.
This change replaces all usages of TableInfo with actual IndexPattern it stored.

This followups on #120797 (comment)

@idegtiarenko idegtiarenko added >non-issue Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) :Analytics/ES|QL AKA ESQL v9.1.0 labels Apr 2, 2025
@idegtiarenko idegtiarenko requested a review from alex-spies April 2, 2025 07:04
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

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.

Thanks @idegtiarenko !

This changes the notion of equality used wherever we had TableInfo before. I went over the usages and can't see anything where we depended on exact object identity for TableInfo instances - as seen in this PR, we mostly just unwrapped those and used the contained IndexPattern, anyway.

# Conflicts:
#	x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session/EsqlCCSUtils.java
@idegtiarenko idegtiarenko merged commit 0095f29 into elastic:main Apr 3, 2025
17 checks passed
@idegtiarenko idegtiarenko deleted the remove_table_info branch April 3, 2025 07:42
andreidan pushed a commit to andreidan/elasticsearch that referenced this pull request Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL >non-issue Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants