@steve this might be doable as part of 6.0 by "pushing down" predicates during SqlAst generation. wdyt? I'd like to take a look into this.