Skip to content

Commit

Permalink
using ZinggWithSpark in python causes error zinggAI#640
Browse files Browse the repository at this point in the history
  • Loading branch information
vikasgupta78 committed Aug 9, 2023
1 parent d4789fd commit 4fd68f9
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -6,6 +6,7 @@
import org.apache.spark.sql.Dataset;
import org.apache.spark.sql.Row;
import org.apache.spark.sql.types.DataType;
import org.apache.spark.sql.SparkSession;

import zingg.common.client.Arguments;
import zingg.common.client.Client;
Expand Down Expand Up @@ -33,6 +34,10 @@ public SparkClient(Arguments args, ClientOptions options, ZSparkSession s) throw
super(args, options, s);
}

public SparkClient(Arguments args, ClientOptions options, SparkSession s) throws ZinggClientException {
this(args, options, new ZSparkSession(s,null));
}

public SparkClient() {
/*SparkSession session = SparkSession
.builder()
Expand Down

0 comments on commit 4fd68f9

Please sign in to comment.