.NET for Apache® Spark™ makes Apache Spark™ easily accessible to .NET developers.
Перейти к файлу
Steve Suh dbad951d66
Support Spark 3.1.1 (#836)
2021-03-16 19:40:19 -07:00
.github/ISSUE_TEMPLATE Update issue templates (#12) 2019-04-24 08:10:24 -07:00
benchmark Bump junit from 4.4 to 4.13.1 in /benchmark/scala (#738) 2020-10-14 20:30:50 -07:00
deployment Update dotnet-try feed for install-interactive-notebook.sh (#808) 2021-01-12 17:56:48 -08:00
dev Initial commit 2019-04-23 21:08:44 -07:00
docs [DOC] Add instructions on setting permissions and removing quarantine attribute for worker binaries (#784) 2020-11-24 23:27:40 -08:00
eng Remove unnecessary RestoreSources (#812) 2021-01-22 12:21:09 -08:00
examples Move APIs in Microsoft.Spark.Experimental to Microsoft.Spark (#691) 2020-09-28 18:17:33 -07:00
script Run E2E tests on Linux in build pipeline and add Backward/Forward E2E tests (#737) 2020-11-03 11:54:28 -08:00
src Support Spark 3.1.1 (#836) 2021-03-16 19:40:19 -07:00
.editorconfig Initial commit 2019-04-23 21:08:44 -07:00
.gitattributes [Docs] Databricks App Submission (#100) 2019-05-10 09:11:26 -07:00
.gitignore Update .gitignore to include .ionide folder (#609) 2020-08-01 00:39:01 -07:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md. (#104) 2019-05-13 07:35:47 -07:00
CONTRIBUTING.md Update CONTRIBUTING.md (#704) 2020-10-05 10:28:33 -07:00
LICENSE Initial commit 2019-04-23 21:08:44 -07:00
NuGet.config NuGet Feed Update (#822) 2021-02-09 21:33:01 -08:00
PULL_REQUEST_TEMPLATE.md Initial commit 2019-04-23 21:08:44 -07:00
README.md Prep 1.0.0 release (#723) 2020-10-12 19:40:08 -07:00
ROADMAP.md Initial commit 2019-04-23 21:08:44 -07:00
THIRD-PARTY-NOTICES.TXT Remove the duplicated Pyrolite code now that the official library is strong named signed. (#65) 2019-04-29 12:29:46 -07:00
azure-pipelines-e2e-tests-template.yml Add comments and cleanup azure pipeline (#764) 2020-11-05 09:02:53 -08:00
azure-pipelines.yml Support Spark 3.1.1 (#836) 2021-03-16 19:40:19 -07:00
build.cmd Enable arcade support (#113) 2019-05-24 08:59:00 -05:00
build.sh Setting execute permission on build scripts (#398) 2020-01-23 16:33:11 -08:00
global.json Update to a more recent Arcade SDK (#512) 2020-05-07 12:05:22 -07:00

README.md

NuGet Badge

Icon

.NET for Apache® Spark™

.NET for Apache Spark provides high performance APIs for using Apache 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 Core, or Windows using .NET Framework. It also runs on all major cloud providers including Azure HDInsight Spark, Amazon EMR Spark, AWS & Azure Databricks.

Note: We currently have a Spark Project Improvement Proposal JIRA at SPIP: .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.

Table of Contents

Supported Apache Spark

Apache Spark .NET for Apache Spark
2.3 v1.0.0
2.4*
3.0

*2.4.2 is not supported.

Releases

.NET for Apache Spark releases are available here and NuGet packages are available here.

Get Started

These instructions will show you how to run a .NET for Apache Spark app using .NET Core.

Build Status

Ubuntu icon Windows icon
Ubuntu Windows
Build Status

Building from Source

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 icon Windows
Ubuntu icon Ubuntu

Samples

There are two types of samples/apps in the .NET for Apache Spark repo:

  • Icon Getting Started - .NET for Apache Spark code focused on simple and minimalistic scenarios.

  • Icon 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!

Analytics Scenario

Description

Scenarios

Dataframes and SparkSQL
Simple code snippets to help you get familiarized with the programmability experience of .NET for Apache Spark.
Basic     C#     F#   Getting started icon
Structured Streaming
Code snippets to show you how to utilize Apache Spark's Structured Streaming (2.3.1, 2.3.2, 2.4.1, Latest)
Word Count     C#    F#    Getting started icon
Windowed Word Count    C#    F#    Getting started icon
Word Count on data from Kafka    C#    F#     Getting started icon

TPC-H Queries

Code to show you how to author complex queries using .NET for Apache Spark.
TPC-H Functional     C#    End-to-end app icon
TPC-H SparkSQL     C#    End-to-end app icon

Contributing

We welcome contributions! Please review our contribution guide.

Inspiration and Special Thanks

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.

How to Engage, Contribute and Provide Feedback

The .NET for Apache Spark team encourages contributions, both issues and PRs. The first step is finding an existing issue you want to contribute to or if you cannot find any, open an issue.

.NET Foundation

The .NET for Apache Spark project is part of the .NET Foundation.

Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information, see the .NET Foundation Code of Conduct.

License

.NET for Apache Spark is licensed under the MIT license.