The Java Table API is a wrapper on top of the Scala Table API.
Instead of operating directly with Expressions like the Scala API, the Java API accepts a String parameter which is parsed into Expressions.
We could therefore replace the Java Table API ITCases by tests that check that the parsing step produces a valid logical plan.
This could be done by creating two Table objects for an identical query once with the Scala Expression API and one with the Java String API and comparing the logical plans of both Table objects. Basically something like the following: