Sergey Nuyanzin created FLINK-38772:
---------------------------------------

             Summary: CliClientITCase is broken in IDE
                 Key: FLINK-38772
                 URL: https://issues.apache.org/jira/browse/FLINK-38772
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Client, Table SQL / Planner
            Reporter: Sergey Nuyanzin
            Assignee: Sergey Nuyanzin


NOTE: it works from terminal
however it doesn't work if run from IDE

It is very likely it was broken after https://github.com/apache/flink/pull/26655
where a couple of Calcite classes were copied to parser and seems the issue is 
with loading them rather than the classes from Calcite.


the error if run from IDE
steps for clean repro (in case you are on a different branch)
1. Switch to master or 2.1 or 2.2
2. Build the whole project from terminal
3. In IDE reload all maven modules
4. Run CliClientITCase from IDE

it fails as
{noformat}
  java.lang.ExceptionInInitializerError: Exception java.lang.NoSuchFieldError: 
Class org.apache.calcite.sql.type.SqlTypeName does not have member field 
'org.apache.calcite.sql.type.SqlTypeName VARIANT' [in thread "pool-4-thread-1"]
  !error
{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to