pluggable query plan