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

libenchao 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 a1d469e691 [MINOR] Incorrect test fixture used by 
SqlOperatorTest.testLeastFunc
a1d469e691 is described below

commit a1d469e6915edac785f689cf26f564dd1e750a72
Author: Mihai Budiu <[email protected]>
AuthorDate: Wed Sep 13 16:56:26 2023 -0700

    [MINOR] Incorrect test fixture used by SqlOperatorTest.testLeastFunc
    
    Signed-off-by: Mihai Budiu <[email protected]>
    
    Close apache/calcite#3428
---
 testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java 
b/testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java
index 68f3ff3896..4e0636be07 100644
--- a/testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java
+++ b/testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java
@@ -8903,7 +8903,7 @@ public class SqlOperatorTest {
           "INTEGER");
       f.checkScalar("least(false, true)", false, "BOOLEAN NOT NULL");
 
-      final SqlOperatorFixture f12 = 
f0.forOracle(SqlConformanceEnum.ORACLE_12);
+      final SqlOperatorFixture f12 = f.forOracle(SqlConformanceEnum.ORACLE_12);
       f12.checkString("least('on', 'earth')", "earth", "VARCHAR(5) NOT NULL");
       f12.checkString("least('show', 'on', 'earth')", "earth",
           "VARCHAR(5) NOT NULL");

Reply via email to