forked from delta-io/delta-sharing
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/94-comply-with-latest-delta-sharing-…
…protocol
- Loading branch information
Showing
19 changed files
with
340 additions
and
612 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,8 @@ build/ | |
.gradle | ||
.env | ||
client/bin | ||
server/bin | ||
server/bin | ||
.terraform | ||
.terraform.* | ||
*.tfstate | ||
*.tfstate.backup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
group = "io.whitefox" | ||
plugins { | ||
id("co.uzzu.dotenv.gradle").version("3.0.0") | ||
id("co.uzzu.dotenv.gradle").version("4.0.0") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
client-spark/src/test/java/io/whitefox/api/utils/ScalaUtils.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package io.whitefox.api.utils; | ||
|
||
public interface ScalaUtils { | ||
default <K, V> scala.collection.immutable.Map<K, V> emptyScalaMap() { | ||
return scala.collection.immutable.Map$.MODULE$.empty(); | ||
} | ||
} |
14 changes: 0 additions & 14 deletions
14
client-spark/src/test/java/io/whitefox/api/utils/SparkUtil.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
client-spark/src/test/java/io/whitefox/api/utils/TestSparkSession.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package io.whitefox.api.utils; | ||
|
||
import org.apache.spark.sql.SparkSession; | ||
|
||
public class TestSparkSession { | ||
|
||
private static final class SparkHolder { | ||
private static final SparkSession spark = SparkSession.builder() | ||
.appName("delta sharing client test") | ||
.config("spark.driver.host", "localhost") | ||
.master("local[1, 4]") | ||
.getOrCreate(); | ||
} | ||
|
||
public static SparkSession newSparkSession() { | ||
return SparkHolder.spark.newSession(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.