From 2b5ad2e0c4c34edc799f24bb45924117d3cfb7b1 Mon Sep 17 00:00:00 2001 From: Andy Grove Date: Sun, 26 May 2024 12:21:17 -0600 Subject: [PATCH] lint --- .../src/main/scala/org/apache/comet/fuzz/QueryGen.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fuzz-testing/src/main/scala/org/apache/comet/fuzz/QueryGen.scala b/fuzz-testing/src/main/scala/org/apache/comet/fuzz/QueryGen.scala index a8ef117bb..b67e821a5 100644 --- a/fuzz-testing/src/main/scala/org/apache/comet/fuzz/QueryGen.scala +++ b/fuzz-testing/src/main/scala/org/apache/comet/fuzz/QueryGen.scala @@ -183,13 +183,13 @@ object QueryGen { // TODO avoid sorting on floating-point columns val leftColProjection = leftTable.columns.map(c => s"l.$c").mkString(", ") val rightColProjection = rightTable.columns.map(c => s"r.$c").mkString(", ") - s"SELECT " + + "SELECT " + s"$leftColProjection, " + s"$rightColProjection " + s"FROM $leftTableName l " + s"$joinType JOIN $rightTableName r " + s"ON l.$leftCol = r.$rightCol " + - s"ORDER BY " + + "ORDER BY " + s"$leftColProjection, " + s"$rightColProjection;" }