method can be protected, it is meant to be used only in tests
This commit is contained in:
parent
a4b6a51168
commit
1767dfaa3f
|
@ -31,8 +31,8 @@ public class SparkGraphImporterJob {
|
|||
}
|
||||
}
|
||||
|
||||
// public for testing
|
||||
public void runWith(SparkSession spark, String inputPath, String hiveDbName) {
|
||||
// protected for testing
|
||||
protected void runWith(SparkSession spark, String inputPath, String hiveDbName) {
|
||||
|
||||
spark.sql(String.format("DROP DATABASE IF EXISTS %s CASCADE", hiveDbName));
|
||||
spark.sql(String.format("CREATE DATABASE IF NOT EXISTS %s", hiveDbName));
|
||||
|
|
Loading…
Reference in New Issue