Skip to content

Commit 9240bfa

Browse files
authored
Fix AppName in examples to follow Spark naming convention (#548)
1 parent c8992e0 commit 9240bfa

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

examples/Microsoft.Spark.CSharp.Examples/MachineLearning/Sentiment/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public void Run(string[] args)
2727

2828
SparkSession spark = SparkSession
2929
.Builder()
30-
.AppName(".NET for Apache Spark Sentiment Analysis")
30+
.AppName("Sentiment Analysis using .NET for Apache Spark")
3131
.GetOrCreate();
3232

3333
// Read in and display Yelp reviews

examples/Microsoft.Spark.CSharp.Examples/Sql/Batch/Basic.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void Run(string[] args)
2626

2727
SparkSession spark = SparkSession
2828
.Builder()
29-
.AppName(".NET Spark SQL basic example")
29+
.AppName("SQL basic example using .NET for Apache Spark")
3030
.Config("spark.some.config.option", "some-value")
3131
.GetOrCreate();
3232

examples/Microsoft.Spark.CSharp.Examples/Sql/Batch/Datasource.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public void Run(string[] args)
3232

3333
SparkSession spark = SparkSession
3434
.Builder()
35-
.AppName(".NET Spark SQL Datasource example")
35+
.AppName("SQL Datasource example using .NET for Apache Spark")
3636
.Config("spark.some.config.option", "some-value")
3737
.GetOrCreate();
3838

examples/Microsoft.Spark.CSharp.Examples/Sql/Batch/VectorDataFrameUdfs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public void Run(string[] args)
3131
.Builder()
3232
// Lower the shuffle partitions to speed up groupBy() operations.
3333
.Config("spark.sql.shuffle.partitions", "3")
34-
.AppName(".NET Spark SQL VectorUdfs example")
34+
.AppName("SQL VectorUdfs example using .NET for Apache Spark")
3535
.GetOrCreate();
3636

3737
DataFrame df = spark.Read().Schema("age INT, name STRING").Json(args[0]);

examples/Microsoft.Spark.CSharp.Examples/Sql/Batch/VectorUdfs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public void Run(string[] args)
2929
.Builder()
3030
// Lower the shuffle partitions to speed up groupBy() operations.
3131
.Config("spark.sql.shuffle.partitions", "3")
32-
.AppName(".NET Spark SQL VectorUdfs example")
32+
.AppName("SQL VectorUdfs example using .NET for Apache Spark")
3333
.GetOrCreate();
3434

3535
DataFrame df = spark.Read().Schema("age INT, name STRING").Json(args[0]);

0 commit comments

Comments
 (0)