Commits


Matt Topol authored and GitHub committed 9be7074f85d
GH-35652: [Go][Compute] Allow executing Substrait Expressions using Go Compute (#35654) ### Rationale for this change Providing the ability to execute more complex expressions than single operations by leveraging Substrait's expression objects and deprecating the existing separate Expression interfaces in Go Arrow compute. This provides a quick integration with Substrait Expressions and ExtendedExpressions to start building more integrations. ### What changes are included in this PR? This PR provides: * an extension registry for Go arrow to provide mappings between Arrow and substrait for functions and for types along with other custom mappings if necessary. * Facilities to convert between Arrow data types and Substrait types * Functions to evaluate Substrait expression objects with Arrow data as the input * Functions to evaluate Substrait field references against Arrow data and arrow schemas ### Are these changes tested? Yes, unit tests are included. ### Are there any user-facing changes? Existing `compute.Expression` and its friends are being marked as deprecated. * Closes: #35652 Authored-by: Matt Topol <zotthewizard@gmail.com> Signed-off-by: Matt Topol <zotthewizard@gmail.com>