- Notifications
You must be signed in to change notification settings - Fork322
.NET for Apache® Spark™ makes Apache Spark™ easily accessible to .NET developers.
License
dotnet/spark
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
.NET for Apache Spark provides high performance APIs for usingApache Spark from C# and F#. With these .NET APIs, you can access the most popular Dataframe and SparkSQL aspects of Apache Spark, for working with structured data, and Spark Structured Streaming, for working with streaming data.
.NET for Apache Spark is compliant with .NET Standard - a formal specification of .NET APIs that are common across .NET implementations. This means you can use .NET for Apache Spark anywhere you write .NET code allowing you to reuse all the knowledge, skills, code, and libraries you already have as a .NET developer.
.NET for Apache Spark runs on Windows, Linux, and macOS using .NET 8, or Windows using .NET Framework. It also runs on all major cloud providers includingAzure HDInsight Spark,Amazon EMR Spark,AWS &Azure Databricks.
Note: We currently have a Spark Project Improvement Proposal JIRA atSPIP: .NET bindings for Apache Spark to work with the community towards getting .NET support by default into Apache Spark. We highly encourage you to participate in the discussion.
- Supported Apache Spark
- Releases
- Get Started
- Build Status
- Building from Source
- Samples
- Contributing
- Inspiration and Special Thanks
- How to Engage, Contribute and Provide Feedback
- Support
- .NET Foundation
- Code of Conduct
- License
Apache Spark | .NET for Apache Spark |
---|---|
2.4* | v2.1.1 |
3.0 | |
3.1 | |
3.2 | |
3.5 |
*2.4.2 isnot supported.
.NET for Apache Spark releases are availablehere and NuGet packages are availablehere.
These instructions will show you how to run a .NET for Apache Spark app using .NET 8.
![]() | ![]() |
---|---|
Ubuntu | Windows |
Building from source is very easy and the whole process (from cloning to being able to run your app) should take less than 15 minutes!
Instructions | ||
---|---|---|
![]() | Windows |
|
![]() | Ubuntu |
There are two types of samples/apps in the .NET for Apache Spark repo:
Getting Started - .NET for Apache Spark code focused on simple and minimalistic scenarios.
End-End apps/scenarios - Real world examples of industry standard benchmarks, usecases and business applications implemented using .NET for Apache Spark.
We welcome contributions to both categories!
Simple code snippets to help you get familiarized with the programmability experience of .NET for Apache Spark. | ||
Code snippets to show you how to utilize Apache Spark's Structured Streaming (2.3.1,2.3.2,2.4.1,Latest) | ||
Code to show you how to author complex queries using .NET for Apache Spark. | TPC-H Functional C# TPC-H SparkSQL C# |
We welcome contributions! Please review ourcontribution guide.
This project would not have been possible without the outstanding work from the following communities:
- Apache Spark: Unified Analytics Engine for Big Data, the underlying backend execution engine for .NET for Apache Spark
- Mobius: C# and F# language binding and extensions to Apache Spark, a pre-cursor project to .NET for Apache Spark from the same Microsoft group.
- PySpark: Python bindings for Apache Spark, one of the implementations .NET for Apache Spark derives inspiration from.
- sparkR: one of the implementations .NET for Apache Spark derives inspiration from.
- Apache Arrow: A cross-language development platform for in-memory data. This library provides .NET for Apache Spark with efficient ways to transfer column major data between the JVM and .NET CLR.
- Pyrolite - Java and .NET interface to Python's pickle and Pyro protocols. This library provides .NET for Apache Spark with efficient ways to transfer row major data between the JVM and .NET CLR.
- Databricks: Unified analytics platform. Many thanks to all the suggestions from them towards making .NET for Apache Spark run on Azure and AWS Databricks.
The .NET for Apache Spark team encouragescontributions, both issues and PRs. The first step is finding anexisting issue you want to contribute to or if you cannot find any,open an issue.
.NET for Apache Spark is an open source project under the.NET Foundation anddoes not come with Microsoft Support unless otherwise noted by the specific product. For issues with or questions about .NET for Apache Spark, pleasecreate an issue. The community is active and is monitoring submissions.
The .NET for Apache Spark project is part of the.NET Foundation.
This project has adopted the code of conduct defined by theContributor Covenantto clarify expected behavior in our community.For more information, see the.NET Foundation Code of Conduct.
.NET for Apache Spark is licensed under theMIT license.
About
.NET for Apache® Spark™ makes Apache Spark™ easily accessible to .NET developers.