Skip to content

Conversation

@onursatici
Copy link
Contributor

Arrow Lists are nullable but elements of those lists are not. In Identity::return_dtype, previous behaviour returned list(i64?)? when given list(i64)?

Copy link
Contributor

@joseph-isaacs joseph-isaacs left a comment

Choose a reason for hiding this comment

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

Good spot

dtype.is_nullable(),
)
.into_canonical()
builder_with_capacity(dtype, 0).finish()?.into_canonical()
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we make sure that infer_data_type matches this builder. I think that should also be fixed in this PR

Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we care about arrow data types?

Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if this is incorrect?

Copy link
Contributor

@joseph-isaacs joseph-isaacs left a comment

Choose a reason for hiding this comment

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

I guess infer data type is an unrelated problem

@gatesn gatesn enabled auto-merge (squash) January 28, 2025 17:52
@gatesn gatesn merged commit eb208c3 into develop Jan 28, 2025
21 checks passed
@gatesn gatesn deleted the os/empty-canonical branch January 28, 2025 17:54
@robert3005
Copy link
Contributor

ah, I just found this in fuzzer, thanks for fixing it @onursatici

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants