skunk icon indicating copy to clipboard operation
skunk copied to clipboard

Unknown completion for 'REFRESH MATERIALIZED VIEW'

Open jbek7 opened this issue 3 years ago • 0 comments

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

jbek7 avatar Jul 29 '22 18:07 jbek7