Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for DeltaTable #236

Merged
merged 61 commits into from
Sep 17, 2019
Merged

Conversation

AFFogarty
Copy link
Contributor

This PR adds support for DeltaTable, which provides CRUD operations for Delta tables.

This PR introduces a new project called Microsoft.Spark.Extensions.Delta. This new project will contain all of the code related to Delta support in .Net. If we want to add support for other third-party libraries, we will create new projects in the Microsoft.Spark.Extensions namespace.

The tests require the Delta Jar to be installed in the $SPARK_HOME/jars/ directory.

@rapoth rapoth requested review from suhsteve and imback82 September 5, 2019 00:49
@AFFogarty AFFogarty changed the title WIP: Support for DeltaTable Support for DeltaTable Sep 5, 2019
Copy link
Contributor

@imback82 imback82 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix unit test failures.

@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rapoth the package version should be follow the delta package version, not Spark .NET version right?

@suhsteve
Copy link
Member

suhsteve commented Sep 5, 2019

Please fix unit test failures.

@AFFogarty most likely failing due to missing delta jar. I would start by looking here and probably download and add the delta jars to each spark distro(where applicable).

AFFogarty and others added 4 commits September 5, 2019 16:12
…eTests.cs

Co-Authored-By: Steve Suh <suhsteve@gmail.com>
…eTests.cs

Co-Authored-By: Steve Suh <suhsteve@gmail.com>
…eTests.cs

Co-Authored-By: Steve Suh <suhsteve@gmail.com>
…eTests.cs

Co-Authored-By: Steve Suh <suhsteve@gmail.com>
@AFFogarty
Copy link
Contributor Author

AFFogarty commented Sep 9, 2019

Using InternalsAssemblyNames builds locally but seems to fail on the Azure pipeline build agent:

  <PropertyGroup>
    <InternalsAssemblyNames>Microsoft.Spark;Microsoft.Spark.E2ETest</InternalsAssemblyNames>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="IgnoresAccessChecksToGenerator" Version="0.4.0" PrivateAssets="All" />
  </ItemGroup>

</ItemGroup>

<PropertyGroup>
<InternalsAssemblyNames>Microsoft.Spark;Microsoft.Spark.E2ETest</InternalsAssemblyNames>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need internal classes of Microsoft.Spark here? What are they?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need it for Microsoft.Spark.Versions.

src/csharp/Microsoft.Spark.E2ETest/SparkFixture.cs Outdated Show resolved Hide resolved
suhsteve
suhsteve previously approved these changes Sep 11, 2019
Copy link
Member

@suhsteve suhsteve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

src/csharp/Microsoft.Spark.E2ETest/SparkFixture.cs Outdated Show resolved Hide resolved
Copy link
Contributor

@imback82 imback82 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this @AFFogarty. I have few minor comments.

@AFFogarty
Copy link
Contributor Author

Addressed all comments.

Copy link
Contributor

@imback82 imback82 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@imback82 imback82 merged commit b8edbbf into dotnet:master Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants