Open dmitrybugakov opened 4 days ago
take
in the datafusion-functions-extra repository, we have copied binary_map and binary_view_map
Is there any reason why can't we just import from datafusion but require copying the code?
The reason we copied the map instead of importing directly from DataFusion is that the version in datafusion-functions-extra includes two additional methods. To avoid waiting for the next DataFusion release, we copied the map and added those methods locally.
https://github.com/apache/datafusion/pull/12385#issuecomment-2364555142
Is your feature request related to a problem or challenge?
Currently, in the datafusion-functions-extra repository, we have copied binary_map and binary_view_map from DataFusion. However, the
insert_or_update
andget_payloads
methods are missing from the original binary_map and binary_view_map implementations in DataFusion.To avoid code duplication and ensure that these methods are available in the original DataFusion project, it would be beneficial to move these methods to the core DataFusion repository.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response