Skip to content

Conversation

@snuyanzin
Copy link
Contributor

@snuyanzin snuyanzin commented Dec 3, 2025

What is the purpose of the change

The problem is with the test CliClientITCase in IDE (in terminal everything is ok)

however if run it in IDE (assuming all the modules are reloaded)
it fails as

  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"]

the suspicion is #26655 where there were added a couple of Calcite classes into parser module (including SqlTypeName)

The PR makes using Calcite dependency from parser where classes are overridden

Brief change log

pom

Verifying this change

only manual in IDE

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): (no)
  • The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
  • The serializers: (no)
  • The runtime per-record code paths (performance sensitive): (no)
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
  • The S3 file system connector: (no)

Documentation

  • Does this pull request introduce a new feature? (no)
  • If yes, how is the feature documented? (not applicable)

@flinkbot
Copy link
Collaborator

flinkbot commented Dec 3, 2025

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

Copy link
Contributor

@jnh5y jnh5y left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can confirm that without this fix, CliClientITCase would fail in IntelliJ. With it, the test passes for me.

@github-actions github-actions bot added the community-reviewed PR has been reviewed by the community. label Dec 4, 2025
@snuyanzin snuyanzin merged commit 4072808 into apache:master Dec 4, 2025
@snuyanzin snuyanzin deleted the cli branch December 7, 2025 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-reviewed PR has been reviewed by the community.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants