ENG-4625: back to use tuple pointer for index case because different behavior with and without predicate.
add 2 DDLCompiler test cases.