Skip to content
Permalink
Browse files
Optimization that transforms IN-predicate in IN-subselect made.
Trasformation goes that way:
a in (1,2) ->
a in (select * from (values ((1),(2))) as new_tvc)

Special variable that controlls optimization added.
Now optimization works only in several cases.
New tests added.

Old tests corrected. Now with TVC explain can be used. TVC also can be used in recursive CTEs.
  • Loading branch information
Galina Shalygina committed Aug 25, 2017
1 parent 9103ee3 commit 3310076
Show file tree
Hide file tree
Showing 2 changed files with 644 additions and 0 deletions.

0 comments on commit 3310076

Please sign in to comment.