Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maropu committed Dec 4, 2018
1 parent 0889fba commit ca09bb8
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,14 +154,10 @@ class SQLQueryTestSuite extends QueryTest with SharedSQLContext {
val (conf, value) = confAndValue.span(_ != '=')
conf.trim -> value.substring(1).trim
})
// When we are regenerating the golden files we don't need to run all the configs as they
// When we are regenerating the golden files, we don't need to set any config as they
// all need to return the same result
if (regenerateGoldenFiles) {
if (configs.nonEmpty) {
configs.take(1)
} else {
Array.empty[Array[(String, String)]]
}
Array.empty[Array[(String, String)]]
} else {
if (configs.nonEmpty) {
codegenConfigSets.flatMap { codegenConfig =>
Expand Down

0 comments on commit ca09bb8

Please sign in to comment.