Skip to content

Commit

Permalink
remove call to method that's not longer necessary due to driver update
Browse files Browse the repository at this point in the history
  • Loading branch information
remo87 committed Oct 1, 2024
1 parent 80f66bf commit af774aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/clickhouse/rep/SeqRep.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ sealed abstract class SeqRep[T, C[_]](val from: String) {
}

object SeqRep {
// TODO: might need to be deleted in next release 25.x.x. This is no longer needed due to update in the driver
def parseFastString(str: String): String = str.slice(1, str.length - 1)

sealed abstract class NumSeqRep[T](override val from: String, val f: String => T)(implicit
Expand Down
4 changes: 2 additions & 2 deletions app/models/entities/Associations.scala
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ object Associations {
tuples1,
tuple => {
val tokens = tuple.split(",")
val left = parseFastString(tokens(0))
val left = tokens(0)
val right = tokens(1).toDouble
ScoredComponent(left, right)
}
Expand All @@ -53,7 +53,7 @@ object Associations {
tuples2,
tuple => {
val tokens = tuple.split(",")
val left = parseFastString(tokens(0))
val left = tokens(0)
val right = tokens(1).toDouble
ScoredComponent(left, right)
}
Expand Down

0 comments on commit af774aa

Please sign in to comment.