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

test: attempt to analyze boundaries for select columns #14308

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hiltontj
Copy link
Contributor

@hiltontj hiltontj commented Jan 26, 2025

This adds a reproducer test for the given scenario:

With a schema that contains two columns:

  1. name a, data type Int32
  2. name b, data type Utf8View

Provide a filter expression like so:

a < 10 AND b > "aaa"

("aaa" is a Utf8 literal).

Then, attempts to analyze the expression for boundaries on the a column.

The analysis fails with the error:

Internal("Only intervals with the same data type are comparable, lhs:Utf8View, rhs:Utf8")

Which issue does this PR close?

This does not close any issues. It is a reproducer related to #14309.

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@hiltontj hiltontj marked this pull request as draft January 26, 2025 14:09
@github-actions github-actions bot added the physical-expr Physical Expressions label Jan 26, 2025
@ozankabak
Copy link
Contributor

Seems like we need to make certain view types comparable with their parent types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
physical-expr Physical Expressions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants