-
-
Save KadekM/9018e012fd3e3c6f646359cce875e1f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def selectPartitionSql(topicPartitions: List[String]) = { | |
sql"""SELECT topic, "offset" FROM offsets | |
WHERE topic | |
IN (${varchar.list(topicPartitions.size)})""" | |
.query(varchar ~ int8) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment