Skip to content

Commit

Permalink
[CALCITE-6727] Column uniqueness constrain should only apply to inner…
Browse files Browse the repository at this point in the history
… join
  • Loading branch information
joeyutong committed Dec 13, 2024
1 parent 75cfe56 commit a22211f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1198,10 +1198,10 @@ private void checkColumnUniquenessForFilterWithConstantColumns(String sql) {
* Column uniqueness constrain should only apply to inner join</a>. */
@Test void testColumnUniquenessForLeftJoinOnLimit1() {
final String sql = ""
+ "select A.empno as a_empno,\n" +
" A.ename as a_ename,\n" +
" B.empno as b_empno,\n" +
" B.ename as b_ename\n"
+ "select A.empno as a_empno,\n"
+ " A.ename as a_ename,\n"
+ " B.empno as b_empno,\n"
+ " B.ename as b_ename\n"
+ "from emp A\n"
+ "left join (\n"
+ " select * from emp\n"
Expand Down

0 comments on commit a22211f

Please sign in to comment.