Re: [PR] Add metadata support for Scalar UDFs [datafusion]

2025-04-09 Thread via GitHub
timsaucer commented on PR #15646: URL: https://github.com/apache/datafusion/pull/15646#issuecomment-2790515046 I have updated the PR to use `Field` instead of metadata `HashMap`. In doing so we can now use extension types directly. I've added a second unit test that uses extension types, bot

Re: [PR] Add metadata support for Scalar UDFs [datafusion]

2025-04-09 Thread via GitHub
paleolimbot commented on PR #15646: URL: https://github.com/apache/datafusion/pull/15646#issuecomment-2790143960 Just a link to my experiments starting from the Expr enum in case they are useful! https://github.com/apache/datafusion/pull/15036 -- This is an automated message from the Apac

Re: [PR] Add metadata support for Scalar UDFs [datafusion]

2025-04-09 Thread via GitHub
timsaucer commented on PR #15646: URL: https://github.com/apache/datafusion/pull/15646#issuecomment-2789600400 Some of the concerns I have: - Canonical extension types in `arrow-rs` have an implementation of ` TryFrom<&Field>` which lends towards the original Issue's suggestion of pas

[PR] Add metadata support for Scalar UDFs [datafusion]

2025-04-08 Thread via GitHub
timsaucer opened a new pull request, #15646: URL: https://github.com/apache/datafusion/pull/15646 ## Which issue does this PR close? - Closes #14247 but it is a different solution than requested ## Rationale for this change We have many users who wish to use extension dat