Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohui sun authored and xiaohui sun committed Feb 11, 2025
1 parent 806af50 commit cd9d1a5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions api/src/main/scala/ai/chronon/api/Extensions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,7 @@ object Extensions {
}

// Used only during online fetching to reduce latency
def applyRenameOnlyDerivation(keys: Map[String,Any], values: Map[String, Any]): Map[String, Any] = {
def applyRenameOnlyDerivation(keys: Map[String, Any], values: Map[String, Any]): Map[String, Any] = {
assert(
areDerivationsRenameOnly,
s"Derivations contain more complex expressions than simple renames: ${derivations.map(d => (d.name, d.expression))}")
Expand All @@ -1094,7 +1094,9 @@ object Extensions {
} else {
Map.empty[String, Any]
}
wildcardDerivations ++ derivationsWithoutStar.map(d => d.name -> (keys ++ values).getOrElse(d.expression, null)).toMap
wildcardDerivations ++ derivationsWithoutStar
.map(d => d.name -> (keys ++ values).getOrElse(d.expression, null))
.toMap
}
}
}

0 comments on commit cd9d1a5

Please sign in to comment.