Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-9756

[Rust] [DataFusion] Add support for generic return types of scalar UDFs

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • None

    Description

      Currently, we have math functions declared as UDFs that while they can be evaluated against float32 and float64, their return type is fixed (float64).

      This issue is about extending the UDF interface to support generic return types (a function), so that developers (us included), can register UDFs or variable return types.

      There is a small overhead in this, since evaluating types now requires a function call, however, IMO this is still very small when compared to anything, as we are talking about plans. We can always apply some caching if needed.

      Attachments

        Issue Links

          Activity

            People

              jorgecarleitao Jorge Leitão
              jorgecarleitao Jorge Leitão
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 10m
                  2h 10m