# -*- mode: snippet -*-
# name: get-partitions
# key: get-part
# group: vertica
# condition: (if (string-equal sql-product 'vertica)t)
# --
SELECT * FROM v_monitor.partitions WHERE table_schema = '$1' AND projection_name LIKE '%$2%';$0