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

vegafusion-datafusion-udfs

Custom DataFusion UDFs used by VegaFusion

42 releases (26 stable)

1.6.9 May 9, 2024
1.6.7 Apr 11, 2024
1.6.6 Mar 22, 2024
1.6.0-rc1 Dec 21, 2023
1.1.1 Mar 25, 2023

#162 in Date and time

Download history 1/week @ 2024-07-11 2/week @ 2024-07-18 165/week @ 2024-07-25 22/week @ 2024-08-01 3/week @ 2024-08-22 4/week @ 2024-08-29 57/week @ 2024-09-19 41/week @ 2024-09-26 3/week @ 2024-10-03

101 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

~29–42MB
~690K SLoC