#data-fusion #udf #definition #expression #vega-fusion #function #evaluation

vegafusion-datafusion-udfs

Custom DataFusion UDFs used by VegaFusion

40 releases (24 stable)

new 1.6.7 Apr 11, 2024
1.6.6 Mar 22, 2024
1.6.5 Feb 26, 2024
1.6.0-rc1 Dec 21, 2023
1.1.1 Mar 25, 2023

#3 in #udf

Download history 44/week @ 2023-12-18 44/week @ 2024-01-08 32/week @ 2024-01-29 5/week @ 2024-02-05 122/week @ 2024-02-12 15/week @ 2024-02-19 173/week @ 2024-02-26 13/week @ 2024-03-04 9/week @ 2024-03-11 144/week @ 2024-03-18 7/week @ 2024-03-25 36/week @ 2024-04-01

198 downloads per month
Used in 3 crates (2 directly)

BSD-3-Clause

105KB
2.5K SLoC

vegafusion-datafusion-udfs

This crate contains the definitions of the DataFusion UDFs that are used to implement select Vega expression functions and transforms. These UDFs are used in two places.

  • The DataFusionConnection provided by vegafusion-sql adds these UDFs to its SessionContext so that they are available for use in SQL querires.
  • The vegafusion-runtime crate uses these UDFs for the evaluation of signal expressions and for simplifying expressions passed to the filter and formula transforms. Note: Even when a non-DataFusion Connection is used, DataFusion is still used for signal evaluation and expression simplification.

Dependencies

~27–42MB
~693K SLoC