This is an automated email from the ASF dual-hosted git repository.

xuzifu666 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite.git


The following commit(s) were added to refs/heads/main by this push:
     new 10f760eee0 [CALCITE-6126] Return type check fails with OVER
10f760eee0 is described below

commit 10f760eee03685595f5c1f6c7013425e449ed03b
Author: Yu Xu <[email protected]>
AuthorDate: Sat Aug 22 18:48:43 2026 +0800

    [CALCITE-6126] Return type check fails with OVER
---
 core/src/test/java/org/apache/calcite/test/RelMetadataTest.java | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/core/src/test/java/org/apache/calcite/test/RelMetadataTest.java 
b/core/src/test/java/org/apache/calcite/test/RelMetadataTest.java
index a40927c37a..abb934457a 100644
--- a/core/src/test/java/org/apache/calcite/test/RelMetadataTest.java
+++ b/core/src/test/java/org/apache/calcite/test/RelMetadataTest.java
@@ -2330,8 +2330,6 @@ private void checkColumnUniquenessForJoin(String sql) {
         .assertThatUniqueKeysAre(bitSetOf(0));
   }
 
-// TODO: Enable when CALCITE-6126 fixed
-/*
   @Test void testOverByNonKey() {
     sql("select sal,\n"
         + "max(deptno) over (partition BY sal rows between 2 preceding and 0 
following) maxDept,\n"
@@ -2342,16 +2340,12 @@ private void checkColumnUniquenessForJoin(String sql) {
         .assertThatAreColumnsUnique(bitSetOf(2), is(false))
         .assertThatUniqueKeysAre();
   }
-*/
 
-// TODO: Enable when CALCITE-6126 fixed
-/*
   @Test void testOverNoPartitioning() {
     sql("select max(empno) over (rows between 2 preceding and 0 following) 
maxEmp from emp")
         .assertThatAreColumnsUnique(bitSetOf(0), is(false))
         .assertThatUniqueKeysAre();
   }
-*/
 
   @Test void testNoGroupBy() {
     sql("select max(sal), count(*) from emp")

Reply via email to