Skip to content

Commit 412eb2d

Browse files
suhsteveimback82
authored andcommitted
Add default spark conf for Spark .NET applications (#362)
1 parent 7a026d6 commit 412eb2d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/csharp/Microsoft.Spark/Sql/Builder.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ namespace Microsoft.Spark.Sql
1414
/// </summary>
1515
public sealed class Builder : IJvmObjectReferenceProvider
1616
{
17-
private readonly Dictionary<string, string> _options = new Dictionary<string, string>();
17+
private readonly Dictionary<string, string> _options =
18+
new Dictionary<string, string>() { { "spark.app.kind", "sparkdotnet" } };
19+
1820
private readonly JvmObjectReference _jvmObject;
1921

2022
internal Builder()

0 commit comments

Comments
 (0)