Skip to content

Conversation

@imback82
Copy link
Contributor

This PR updates contract b/w JVM and CLR to process simple UDF.

All the UDFs under Basic.cs work.

@imback82 imback82 self-assigned this Nov 13, 2019
@imback82 imback82 added the enhancement New feature or request label Nov 13, 2019
{
System.IO.Stream inputStream = serverSocket.InputStream;
System.IO.Stream outputStream = serverSocket.OutputStream;
using (ISocketWrapper serverSocket = serverListener.Accept())
Copy link
Member

Choose a reason for hiding this comment

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

did you want to use the new C#8 usings here as well ?

using ISocketWrapper serverSocket = serverListener.Accept();

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is a scope here (notice that there is an Assert after this block. It may be OK, but don't want to explore this in this PR (the other changes are suggested by the IDE).

/// </summary>
internal class TaskContext
{
internal class Resource
Copy link
Member

Choose a reason for hiding this comment

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

Are we following any special rules in terms of the ordering of elements within a C# file ? Something like https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1201.md ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I moved this to the bottom, but we need to have style cop in our repo. I will create an issue and follow up.

(Value == other.Value) &&
Addresses.SequenceEqual(Addresses);
}
public override int GetHashCode()
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
public override int GetHashCode()
public override int GetHashCode()

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

@imback82 imback82 merged commit 40c9feb into dotnet:master Nov 21, 2019
@imback82 imback82 deleted the spark-3.0-simple-udf branch November 21, 2019 15:58
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.

2 participants