Skip to content

Commit e05045c

Browse files
committed
to fix warnings
1 parent 6eabb8f commit e05045c

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

bridge/src/test/scala/app/softnetwork/elastic/sql/SQLQuerySpec.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ class SQLQuerySpec extends AnyFlatSpec with Matchers {
212212
val result = results.head
213213
result.nested shouldBe true
214214
result.distinct shouldBe false
215-
result.aggName shouldBe "inner_emails.filtered_inner_emails.count_emails"
215+
result.aggName shouldBe "inner_emails.filtered_agg.count_emails"
216216
result.field shouldBe "count_emails"
217217
result.sources shouldBe Seq[String]("index")
218218
val query = result.query.getOrElse("")
@@ -2075,7 +2075,7 @@ class SQLQuerySpec extends AnyFlatSpec with Matchers {
20752075
.replaceAll(",LocalDate", ", LocalDate")
20762076
.replaceAll("=DateTimeFormatter", " = DateTimeFormatter")
20772077
.replaceAll("try\\{", "try {")
2078-
.replaceAll("\\}catch", "} catch ")
2078+
.replaceAll("}catch", "} catch ")
20792079
.replaceAll("Exceptione\\)", "Exception e) ")
20802080
.replaceAll(",DateTimeFormatter", ", DateTimeFormatter")
20812081
.replaceAll("(\\d)=p", "$1 = p")

es6/bridge/src/test/scala/app/softnetwork/elastic/sql/SQLQuerySpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2071,7 +2071,7 @@ class SQLQuerySpec extends AnyFlatSpec with Matchers {
20712071
.replaceAll(",LocalDate", ", LocalDate")
20722072
.replaceAll("=DateTimeFormatter", " = DateTimeFormatter")
20732073
.replaceAll("try\\{", "try {")
2074-
.replaceAll("\\}catch", "} catch ")
2074+
.replaceAll("}catch", "} catch ")
20752075
.replaceAll("Exceptione\\)", "Exception e) ")
20762076
.replaceAll(",DateTimeFormatter", ", DateTimeFormatter")
20772077
.replaceAll("(\\d)=p", "$1 = p")

sql/src/main/scala/app/softnetwork/elastic/sql/query/From.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@ object NestedElements {
239239
distinctNestedElements
240240
.groupBy(_.root.path)
241241
.map(tree => tree._1 -> tree._2.sortBy(_.level).reverse)
242-
.toMap
243242

244243
@tailrec
245244
def getNestedParents(

0 commit comments

Comments
 (0)