Just look at: https://github.com/prestodb/presto/issues/15105 And do it in the new framework as well.