You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Andrew Lamb (Jira)" <ji...@apache.org> on 2021/04/26 13:25:02 UTC

[jira] [Commented] (ARROW-10963) [Rust] [DataFusion] Improve the PartailEq implementation for UDF expressions

    [ https://issues.apache.org/jira/browse/ARROW-10963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17332321#comment-17332321 ] 

Andrew Lamb commented on ARROW-10963:
-------------------------------------

Migrated to github: https://github.com/apache/arrow-datafusion/issues/127

> [Rust] [DataFusion] Improve the PartailEq implementation for UDF expressions
> ----------------------------------------------------------------------------
>
>                 Key: ARROW-10963
>                 URL: https://issues.apache.org/jira/browse/ARROW-10963
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: Rust - DataFusion
>            Reporter: Daniel Russo
>            Priority: Major
>
> An implementation of {{PartialEq}} for {{ScalarUDF}} and {{AggregateUDF}} was added in ARROW-10808 ([pull request|https://github.com/apache/arrow/pull/8836]), which was a requirement for the {{PartialEq}} derivation for {{Expr}}.
> The implementation checks equality on only the UDFs' {{name}} and {{signature}} fields: the underlying assumption is two UDFs with the same name and signature must be the same UDF. This assumption may hold up in a SQL context where UDFs are registered by name (therefore guaranteeing they are distinct), however, it doesn't hold up in a general case where there are no uniqueness requirements on the name. 
> Improve the equality implementation for {{ScalarUDF}} and {{AggregateUDF}}. For additional context, see the discussion in the pull request [here|https://github.com/apache/arrow/pull/8836#discussion_r536874229]. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)