Skip to content

Commit

Permalink
Merge pull request #641 from zinggAI/0.4.0
Browse files Browse the repository at this point in the history
using ZinggWithSpark in python causes error #640
  • Loading branch information
sonalgoyal committed Aug 9, 2023
2 parents 7223732 + 4fd68f9 commit 52c7b4d
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 52c7b4d

Please sign in to comment.