File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
examples/Microsoft.Spark.CSharp.Examples
MachineLearning/Sentiment Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public void Run(string[] args)
27
27
28
28
SparkSession spark = SparkSession
29
29
. Builder ( )
30
- . AppName ( ".NET for Apache Spark Sentiment Analysis " )
30
+ . AppName ( "Sentiment Analysis using .NET for Apache Spark" )
31
31
. GetOrCreate ( ) ;
32
32
33
33
// Read in and display Yelp reviews
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public void Run(string[] args)
26
26
27
27
SparkSession spark = SparkSession
28
28
. Builder ( )
29
- . AppName ( ".NET Spark SQL basic example" )
29
+ . AppName ( "SQL basic example using .NET for Apache Spark " )
30
30
. Config ( "spark.some.config.option" , "some-value" )
31
31
. GetOrCreate ( ) ;
32
32
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public void Run(string[] args)
32
32
33
33
SparkSession spark = SparkSession
34
34
. Builder ( )
35
- . AppName ( ".NET Spark SQL Datasource example" )
35
+ . AppName ( "SQL Datasource example using .NET for Apache Spark " )
36
36
. Config ( "spark.some.config.option" , "some-value" )
37
37
. GetOrCreate ( ) ;
38
38
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public void Run(string[] args)
31
31
. Builder ( )
32
32
// Lower the shuffle partitions to speed up groupBy() operations.
33
33
. Config ( "spark.sql.shuffle.partitions" , "3" )
34
- . AppName ( ".NET Spark SQL VectorUdfs example" )
34
+ . AppName ( "SQL VectorUdfs example using .NET for Apache Spark " )
35
35
. GetOrCreate ( ) ;
36
36
37
37
DataFrame df = spark . Read ( ) . Schema ( "age INT, name STRING" ) . Json ( args [ 0 ] ) ;
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public void Run(string[] args)
29
29
. Builder ( )
30
30
// Lower the shuffle partitions to speed up groupBy() operations.
31
31
. Config ( "spark.sql.shuffle.partitions" , "3" )
32
- . AppName ( ".NET Spark SQL VectorUdfs example" )
32
+ . AppName ( "SQL VectorUdfs example using .NET for Apache Spark " )
33
33
. GetOrCreate ( ) ;
34
34
35
35
DataFrame df = spark . Read ( ) . Schema ( "age INT, name STRING" ) . Json ( args [ 0 ] ) ;
You can’t perform that action at this time.
0 commit comments