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

[Rust] [DataFusion] Extend UDFs to accept more than one type per argument

    XMLWordPrintableJSON

Details

    Description

      Most math functions accept float32 and float64, `length` will accept Utf8 and lists soon, etc.

      The goal of this story is to allow UDFs to accept more than one datatype.

      Design: the accepted datatypes should be a vector ordered by "faster/smaller" to "slower/larger" (cpu/memory). When the plan reaches a UDF, we try to cast the input expression like before, from "faster/smaller" to "slower/larger".

      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 - 10h 50m
                  10h 50m