issue #22394: write context queries directly against underlying table