skunk
skunk copied to clipboard
Unknown completion for 'REFRESH MATERIALIZED VIEW'
I'm getting below for MV refresh:
skunk.exception.SkunkException:
🔥
🔥 SkunkException
🔥
🔥 Problem: Just constructed an unknown completion 'REFRESH MATERIALIZED VIEW'.
🔥 Note that your program has not crashed. This message is here to annoy
🔥 you.
🔥 Hint: Please open an issue, or open a PR adding a case in Completion.scala
🔥 and a parser in CommandComplete.scala
🔥
skunk.exception.SkunkException: Just constructed an unknown completion 'REFRESH MATERIALIZED VIEW'. Note that your program has not crashed. This message is here to annoy you.
val refreshFooMV: Command[Void] = sql"REFRESH MATERIALIZED VIEW my_foo_mv".command
session.prepare(refreshFooMV).use(_.execute(Void)).void