Files
impala/java
Steve Carlin 9220b9699f IMPALA-14710: Fixed flaky test in TestReduceExprShuttle
The charset system property is being set in CalciteCompilerFactory.
It seems that if this test is run via

mvn clean install test

...it runs fine, but if it is called via

mvn clean install -Dtest=TestReduceExprShuttle#testFoldConcatString

... the static initializer isn't called.

This could either be fixed by importing CalciteCompilerFactory or
explicitly setting the static initializer in this class. The latter
was chosen because it would be awkward to have a java class only
imported due to a static initializer.  However, the downside is that
this is duplicate code.

Change-Id: Iecb124f43bd7090411bdf1bb8203c15d75158154
Reviewed-on: http://gerrit.cloudera.org:8080/23919
Reviewed-by: Joe McDonnell <joemcdonnell@cloudera.com>
Reviewed-by: Michael Smith <michael.smith@cloudera.com>
Tested-by: Michael Smith <michael.smith@cloudera.com>
2026-01-30 00:10:50 +00:00
..