See 
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/866/display/redirect?page=changes>

Changes:

[Tanner Clary] [CALCITE-2980] Implement the FORMAT clause of the CAST operator


------------------------------------------
[...truncated 300.58 KB...]
  public static SqlBasicAggFunction create(SqlKind kind,
                                    ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:87:
 warning: no @param for operandTypeChecker
  public static SqlBasicAggFunction create(SqlKind kind,
                                    ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:87:
 warning: no @return
  public static SqlBasicAggFunction create(SqlKind kind,
                                    ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:94:
 warning: no @param for name
  public static SqlBasicAggFunction create(String name, SqlKind kind,
                                    ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:94:
 warning: no @param for kind
  public static SqlBasicAggFunction create(String name, SqlKind kind,
                                    ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:94:
 warning: no @param for returnTypeInference
  public static SqlBasicAggFunction create(String name, SqlKind kind,
                                    ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:94:
 warning: no @param for operandTypeChecker
  public static SqlBasicAggFunction create(String name, SqlKind kind,
                                    ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:94:
 warning: no @return
  public static SqlBasicAggFunction create(String name, SqlKind kind,
                                    ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:147:
 warning: no @param for name
  public SqlAggFunction withName(String name) {
                        ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:147:
 warning: no @return
  public SqlAggFunction withName(String name) {
                        ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:165:
 warning: no @param for category
  public SqlBasicAggFunction withFunctionType(SqlFunctionCategory category) {
                             ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:165:
 warning: no @return
  public SqlBasicAggFunction withFunctionType(SqlFunctionCategory category) {
                             ^

> Task :plus:javadoc
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/plus/src/main/java/org/apache/calcite/adapter/tpcds/TpcdsSchema.java>:98:
 warning: no @param for scaleFactor
  public TpcdsSchema(double scaleFactor) {
         ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/plus/src/main/java/org/apache/calcite/adapter/os/SqlShell.java>:120:
 warning: no @param for args
  public static void main(String[] args) {
                     ^
2 warnings

> Task :plus:javadocJar

> Task :piglet:test
          8.9sec, org.apache.calcite.test.PigletTest > 
testValues()
          8.9sec, org.apache.calcite.test.PigRelBuilderTest 
> testGroup2()
         10.5sec,   22 completed,   0 failed,   0 skipped, 
org.apache.calcite.test.PigRelBuilderTest
         11.6sec, org.apache.calcite.test.PigRelExTest > 
testNegation()
         12.3sec, org.apache.calcite.test.PigRelOpTest > 
testLoadWithSchema()
          2.6sec, org.apache.calcite.test.PigScriptTest > 
testReadScript()
          2.6sec,    1 completed,   0 failed,   0 skipped, 
org.apache.calcite.test.PigScriptTest
WARNING  14.8sec,   19 completed,   0 failed,   1 
skipped, org.apache.calcite.test.PigletTest
          3.2sec, org.apache.calcite.test.PigRelOpTest > 
testForEachNested()
          2.1sec, org.apache.calcite.test.PigRelExTest > 
testCast()
WARNING  23.3sec,   29 completed,   0 failed,   1 
skipped, org.apache.calcite.test.PigRelExTest
         26.4sec,   35 completed,   0 failed,   0 skipped, 
org.apache.calcite.test.PigRelOpTest
WARNING  30.9sec,  106 completed,   0 failed,   2 
skipped, Gradle Test Run :piglet:test

> Task :piglet:check
> Task :piglet:build

> Task :plus:test
SKIPPED   0.0sec,    0 completed,   0 failed,   0 
skipped, org.apache.calcite.slt.SqlLogicTests > testAll()
WARNING   1.2sec,    0 completed,   0 failed,   0 
skipped, org.apache.calcite.slt.SqlLogicTests
WARNING   0.0sec,    2 completed,   0 failed,   2 
skipped, org.apache.calcite.materialize.TpcdsLatticeSuggesterTest
          9.2sec, 
org.apache.calcite.chinook.RemotePreparedStatementParametersTest > 
testParametersShouldWorkWithRaw()
         12.5sec, 
org.apache.calcite.adapter.os.OsAdapterTest > testVmstat()
          3.1sec, 
org.apache.calcite.chinook.RemotePreparedStatementParametersTest > 
testSeveralParametersShouldWorkWithCalcite()
         12.7sec,    3 completed,   0 failed,   0 skipped, 
org.apache.calcite.chinook.RemotePreparedStatementParametersTest
         15.5sec, org.apache.calcite.chinook.EndToEndTest > 
test(String)[1], [1] sql/preferred-for-specific-user.iq
         17.8sec,    4 completed,   0 failed,   0 skipped, 
org.apache.calcite.chinook.EndToEndTest > test(String)
         17.9sec,    4 completed,   0 failed,   0 skipped, 
org.apache.calcite.chinook.EndToEndTest

> Task :redis:compileJava
Note: 
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/redis/src/main/java/org/apache/calcite/adapter/redis/RedisSchema.java>
 uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :redis:classes
> Task :redis:jandexMain
> Task :redis:processJandexIndex NO-SOURCE
> Task :redis:jar
> Task :redis:sourcesJar
> Task :redis:assemble
> Task :redis:forbiddenApisMain

> Task :plus:test
          2.1sec, 
org.apache.calcite.adapter.os.OsAdapterTest > testJps()
WARNING  20.3sec,   22 completed,   0 failed,   2 
skipped, org.apache.calcite.adapter.os.OsAdapterTest

> Task :redis:compileTestJava
> Task :redis:testClasses
> Task :redis:forbiddenApisTest
> Task :redis:forbiddenApis
> Task :redis:jandexTest
> Task :redis:jandex
> Task :redis:javadoc
> Task :redis:javadocJar

> Task :plus:test
         28.5sec, org.apache.calcite.adapter.tpch.TpchTest 
> testQuery02Conversion()
          2.4sec, org.apache.calcite.adapter.tpch.TpchTest 
> testQuery22()
         12.6sec, org.apache.calcite.adapter.tpch.TpchTest 
> testQuery02()
         15.2sec, org.apache.calcite.adapter.tpch.TpchTest 
> testQuery01()
         14.0sec, org.apache.calcite.adapter.tpch.TpchTest 
> testQuery03()
          2.0sec, org.apache.calcite.adapter.tpch.TpchTest 
> testQuery06()
          3.9sec, org.apache.calcite.adapter.tpch.TpchTest 
> testQuery04()

> Task :redis:test FAILED
WARNING   0.1sec,    1 completed,   0 failed,   1 
skipped, org.apache.calcite.adapter.redis.RedisMiniServer

Gradle Test Executor 19 STANDARD_OUT
    tc.testcontainers/ryuk:0.5.1 2024-04-11 23:38:13,298 
[ForkJoinPool-1-worker-1] INFO  - Pulling docker image: 
testcontainers/ryuk:0.5.1. Please be patient; this may take some time but only 
needs to be done once.
    tc.testcontainers/ryuk:0.5.1 2024-04-11 23:38:13,726 
[docker-java-stream--1761815518] INFO  - Starting to pull image
    tc.testcontainers/ryuk:0.5.1 2024-04-11 23:38:13,832 
[docker-java-stream--1761815518] INFO  - Pulling image layers:  0 pending,  0 
downloaded,  0 extracted, (0 bytes/0 bytes)
    tc.testcontainers/ryuk:0.5.1 2024-04-11 23:38:13,912 
[docker-java-stream--1761815518] INFO  - Pulling image layers:  2 pending,  1 
downloaded,  0 extracted, (306 KB/? MB)
    tc.testcontainers/ryuk:0.5.1 2024-04-11 23:38:13,926 
[docker-java-stream--1761815518] INFO  - Pulling image layers:  1 pending,  2 
downloaded,  0 extracted, (333 KB/? MB)
    tc.testcontainers/ryuk:0.5.1 2024-04-11 23:38:13,965 
[docker-java-stream--1761815518] INFO  - Pulling image layers:  0 pending,  3 
downloaded,  0 extracted, (337 KB/5 MB)
    tc.testcontainers/ryuk:0.5.1 2024-04-11 23:38:14,255 
[docker-java-stream--1761815518] INFO  - Pulling image layers:  0 pending,  3 
downloaded,  1 extracted, (2 MB/5 MB)
    tc.testcontainers/ryuk:0.5.1 2024-04-11 23:38:14,744 
[docker-java-stream--1761815518] INFO  - Pulling image layers:  0 pending,  3 
downloaded,  2 extracted, (2 MB/5 MB)
    tc.testcontainers/ryuk:0.5.1 2024-04-11 23:38:15,057 
[docker-java-stream--1761815518] INFO  - Pulling image layers:  0 pending,  3 
downloaded,  3 extracted, (5 MB/5 MB)
    tc.testcontainers/ryuk:0.5.1 2024-04-11 23:38:15,129 
[docker-java-stream--1761815518] INFO  - Pull complete. 3 layers, pulled in 1s 
(downloaded 5 MB at 5 MB/s)
    tc.testcontainers/ryuk:0.5.1 2024-04-11 23:38:15,140 
[ForkJoinPool-1-worker-1] INFO  - Image testcontainers/ryuk:0.5.1 pull took 
PT1.815S
    tc.testcontainers/ryuk:0.5.1 2024-04-11 23:38:15,299 
[ForkJoinPool-1-worker-1] INFO  - Creating container for image: 
testcontainers/ryuk:0.5.1
    tc.testcontainers/ryuk:0.5.1 2024-04-11 23:38:15,773 
[ForkJoinPool-1-worker-1] INFO  - Container testcontainers/ryuk:0.5.1 is 
starting: 455f7ee866ab69364c3525d8b958cd801579c612184fb5870c6b71895711f5bc
    tc.testcontainers/ryuk:0.5.1 2024-04-11 23:38:17,340 
[ForkJoinPool-1-worker-1] INFO  - Container testcontainers/ryuk:0.5.1 started 
in PT2.041S
    tc.redis:2.8.19 2024-04-11 23:38:17,437 [ForkJoinPool-1-worker-1] INFO  - 
Pulling docker image: redis:2.8.19. Please be patient; this may take some time 
but only needs to be done once.
    tc.redis:2.8.19 2024-04-11 23:38:17,709 [docker-java-stream--1564687249] 
INFO  - Starting to pull image
    tc.redis:2.8.19 2024-04-11 23:38:17,710 [docker-java-stream--1564687249] 
INFO  - Pulling image layers:  0 pending,  0 downloaded,  0 extracted, (0 
bytes/0 bytes)
    tc.redis:2.8.19 2024-04-11 23:38:17,968 [docker-java-stream-1857506576] 
INFO  - Starting to pull image
    tc.redis:2.8.19 2024-04-11 23:38:17,970 [docker-java-stream-1857506576] 
INFO  - Pulling image layers:  0 pending,  0 downloaded,  0 extracted, (0 
bytes/0 bytes)
    tc.redis:2.8.19 2024-04-11 23:38:17,978 [ForkJoinPool-1-worker-1] INFO  - 
Pulling docker image: redis:2.8.19. Please be patient; this may take some time 
but only needs to be done once.
    tc.redis:2.8.19 2024-04-11 23:38:18,241 [docker-java-stream--1564687249] 
INFO  - Starting to pull image
    tc.redis:2.8.19 2024-04-11 23:38:18,242 [docker-java-stream--1564687249] 
INFO  - Pulling image layers:  0 pending,  0 downloaded,  0 extracted, (0 
bytes/0 bytes)
    tc.redis:2.8.19 2024-04-11 23:38:18,491 [docker-java-stream-1857506576] 
INFO  - Starting to pull image
    tc.redis:2.8.19 2024-04-11 23:38:18,492 [docker-java-stream-1857506576] 
INFO  - Pulling image layers:  0 pending,  0 downloaded,  0 extracted, (0 
bytes/0 bytes)
FAILURE   0.0sec, 
org.apache.calcite.adapter.redis.RedisAdapterCaseBase > 
initializationError
    org.testcontainers.containers.ContainerFetchException: Can't get Docker 
image: RemoteDockerImage(imageName=redis:2.8.19, 
imagePullPolicy=DefaultPullPolicy(), 
imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$LogWrappedImageNameSubstitutor@68c0f616)
        at 
org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1367)
        at 
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:362)
        at 
org.testcontainers.containers.GenericContainer.start(GenericContainer.java:333)
        at 
org.apache.calcite.adapter.redis.RedisCaseBase.startRedisContainer(RedisCaseBase.java:67)
        at 
org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
        at 
org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
        at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
        at 
org.junit.jupiter.engine.extension.SameThreadTimeoutInvocation.proceed(SameThreadTimeoutInvocation.java:45)
        at 
org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
        at 
org.junit.jupiter.engine.extension.TimeoutExtension.interceptLifecycleMethod(TimeoutExtension.java:128)
        at 
org.junit.jupiter.engine.extension.TimeoutExtension.interceptBeforeAllMethod(TimeoutExtension.java:70)
        at 
org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
        at 
org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
        at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
        at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
        at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
        at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
        at 
org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
        at 
org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
        at 
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllMethods$13(ClassBasedTestDescriptor.java:411)
        at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
        at 
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeBeforeAllMethods(ClassBasedTestDescriptor.java:409)
        at 
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:215)
        at 
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:84)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:148)
        at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
        at 
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
        at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
        at 
org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:185)
        at 
org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.executeNonConcurrentTasks(ForkJoinPoolHierarchicalTestExecutorService.java:155)
        at 
org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.invokeAll(ForkJoinPoolHierarchicalTestExecutorService.java:135)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
        at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
        at 
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
        at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
        Caused by: org.testcontainers.containers.ContainerFetchException: 
Failed to get Docker client for redis:2.8.19
            at 
org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:125)
            at 
org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:28)
            at 
org.testcontainers.utility.LazyFuture.getResolvedValue(LazyFuture.java:20)
            at org.testcontainers.utility.LazyFuture.get(LazyFuture.java:41)
            at 
org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1365)
            ... 42 more
            Caused by: 
com.github.dockerjava.api.exception.DockerClientException: Could not pull 
image: [DEPRECATION NOTICE] Docker Image Format v1 and Docker Image manifest 
version 2, schema 1 support is disabled by default and will be removed in an 
upcoming release. Suggest the author of docker.io/library/redis:2.8.19 to 
upgrade the image to the OCI Format or Docker Image manifest v2, schema 2. More 
information at https://docs.docker.com/go/deprecated-image-specs/
                at 
com.github.dockerjava.api.command.PullImageResultCallback.checkDockerClientPullSuccessful(PullImageResultCallback.java:97)
                at 
com.github.dockerjava.api.command.PullImageResultCallback.throwFirstError(PullImageResultCallback.java:112)
                at 
com.github.dockerjava.api.async.ResultCallbackTemplate.awaitCompletion(ResultCallbackTemplate.java:93)
                at 
org.testcontainers.images.TimeLimitedLoggedPullImageResultCallback.awaitCompletion(TimeLimitedLoggedPullImageResultCallback.java:58)
                at 
org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:97)
                ... 46 more

FAILURE  10.4sec,    1 completed,   1 failed,   0 
skipped, org.apache.calcite.adapter.redis.RedisAdapterCaseBase
FAILURE  14.0sec,    2 completed,   1 failed, 
  1 skipped, Gradle Test Run :redis:test

2 tests completed, 1 failed, 1 skipped

> Task :plus:test
          5.8sec, org.apache.calcite.adapter.tpch.TpchTest 
> testQuery08()
         12.2sec, org.apache.calcite.adapter.tpch.TpchTest 
> testQuery21()
          2.0sec, org.apache.calcite.adapter.tpch.TpchTest 
> testQuery09()

> Task :core:javadoc
100 warnings

> Task :plus:test
         19.3sec, org.apache.calcite.adapter.tpch.TpchTest 
> testQuery05()
         38.0sec, org.apache.calcite.adapter.tpch.TpchTest 
> testQuery07()
WARNING  74.4sec,   29 completed,   0 failed,   7 
skipped, org.apache.calcite.adapter.tpch.TpchTest
WARNING  77.9sec,   60 completed,   0 failed,  11 
skipped, Gradle Test Run :plus:test

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':redis:test'.
> There were failing tests. See the report at: 
> file://<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/redis/build/reports/tests/test/index.html>

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with 
Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings 
and determine if they come from your own scripts or plugins.

See 
https://docs.gradle.org/7.6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 6m 35s
397 actionable tasks: 397 executed

Publishing build scan...
https://ge.apache.org/s/yuhlcw2awznwm


See the profiling report at: 
file://<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/build/reports/profile/profile-2024-04-11-23-32-23.html>
A fine-grained performance profile is available: use the --scan option.
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Recording test results
[Checks API] No suitable checks publisher found.

Reply via email to