Skip to content

Commit 57c2cb4

Browse files
committed
try in-memory Derby
1 parent 55041d2 commit 57c2cb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ private[hive] object HiveContext {
536536
}
537537
}
538538
propMap.put("javax.jdo.option.ConnectionURL",
539-
s"jdbc:derby:;databaseName=$localMetastore;create=true")
539+
s"jdbc:derby:memory:myDB;create=true")
540540
propMap.put("datanucleus.rdbms.datastoreAdapterClassName",
541541
"org.datanucleus.store.rdbms.adapter.DerbyAdapter")
542542
propMap.toMap

0 commit comments

Comments
 (0)