[datafusion-spark] Example of using Spark compatible function library #15915
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
good first issue
Good for newcomers
Is your feature request related to a problem or challenge?
datafusion-spark
Spark Compatible Functions #15914@shehabgamin added the
datafusion-spark
crate in #15168The idea is that using the functions in this crate you can get a
SessionContext
that executes sql using Spark semantics. However, there is no user facing documentation that shows how to do thisDescribe the solution you'd like
Add an example somewhere showing how to configure and use the spark functions in a SessionContext. I can help with this
Describe alternatives you've considered
I personally suggest adding a new page to the website: https://datafusion.apache.org/
Specifically, I suggest
For example we should show how to run sql using a "spark compatible" frame:
In order to run the example code as part of CI, you will have to add an entry such as this:
datafusion/datafusion/core/src/lib.rs
Lines 928 to 932 in 81b4c07
to the datafusion-spark lib.rs file (it can't go in the datafusion/core/lib.rs because the core crate doesn't bring in datafusion-spark)
Additional context
No response
The text was updated successfully, but these errors were encountered: