This commit is contained in:
xuwei-k
2021-08-09 16:45:46 +09:00
parent 18e3dd431b
commit 0fa2ccf107

View File

@@ -227,7 +227,7 @@ object JDBCUtil {
if (noPreds.isEmpty) {
if (hasPreds.isEmpty) done else sys.error(hasPreds.toString)
} else {
val found = noPreds.map { _._1 }
val found = noPreds.keys
tsort(hasPreds.map { case (k, v) => (k, v -- found) }, done ++ found)
}
}