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

Changes:

[Bertil Chapuis] [CALCITE-5417] Upgrade Proj4J from 1.1.5 to 1.2.2, and restore 
it as an included dependency


------------------------------------------
[...truncated 722.95 KB...]
    <       <![CDATA[
    < LogicalUnion(all=[true])
    <   LogicalProject(EMPNO=[$0])
    <     LogicalFilter(condition=[<($7, 30)])
    <       LogicalProject(EMPNO=[$0], ENAME=[$1], JOB=[$2], MGR=[$3], 
HIREDATE=[$4], SAL=[$5], COMM=[$6], DEPTNO=[$7], SLACKER=[$8])
    <         LogicalFilter(condition=[>($7, 10)])
    <           LogicalTableScan(table=[[CATALOG, SALES, EMP]])
    <   LogicalProject(DEPTNO=[$7])
    <     LogicalTableScan(table=[[CATALOG, SALES, EMP]])
    < ]]>
    <     </Resource>
    <   </TestCase>
    <   <TestCase name="testWithUnionOrder">
    <     <Resource name="sql">
    <       <![CDATA[with emp2 as (select empno, deptno as x from emp)
    < select * from emp2
    < union all
    < select * from emp2
    < order by empno + x]]>
    <     </Resource>
    <     <Resource name="plan">
    <       <![CDATA[
    < LogicalProject(EMPNO=[$0], X=[$1])
    <   LogicalSort(sort0=[$2], dir0=[ASC])
    <     LogicalProject(EMPNO=[$0], X=[$1], EXPR$2=[+($0, $1)])
    <       LogicalUnion(all=[true])
    <         LogicalProject(EMPNO=[$0], X=[$7])
    <           LogicalTableScan(table=[[CATALOG, SALES, EMP]])
    <         LogicalProject(EMPNO=[$0], X=[$7])
    <           LogicalTableScan(table=[[CATALOG, SALES, EMP]])
    < ]]>
    <     </Resource>
    <   </TestCase>
    <   <TestCase name="testWithinDistinct1">
    <     <Resource name="sql">
    <       <![CDATA[select avg(empno) within distinct (deptno)
    < from emp]]>
    <     </Resource>
    <     <Resource name="plan">
    <       <![CDATA[
    < LogicalAggregate(group=[{}], EXPR$0=[AVG($0) WITHIN DISTINCT ($1)])
    <   LogicalProject(EMPNO=[$0], DEPTNO=[$7])
    <     LogicalTableScan(table=[[CATALOG, SALES, EMP]])
    < ]]>
    <     </Resource>
    <   </TestCase>
    <   <TestCase name="testWithinGroup1">
    <     <Resource name="sql">
    <       <![CDATA[select deptno,
    <  collect(empno) within group (order by deptno, hiredate desc)
    < from emp
    < group by deptno]]>
    <     </Resource>
    <     <Resource name="plan">
    <       <![CDATA[
    < LogicalAggregate(group=[{0}], EXPR$1=[COLLECT($1) WITHIN GROUP ([0, 2 
DESC])])
    <   LogicalProject(DEPTNO=[$7], EMPNO=[$0], HIREDATE=[$4])
    <     LogicalTableScan(table=[[CATALOG, SALES, EMP]])
    < ]]>
    <     </Resource>
    <   </TestCase>
    <   <TestCase name="testWithinGroup2">
    <     <Resource name="sql">
    <       <![CDATA[select dept.deptno,
    <  collect(sal) within group (order by sal desc) as s,
    <  collect(sal) within group (order by 1)as s1,
    <  collect(sal) within group (order by sal)
    <   filter (where sal > 2000) as s2
    < from emp
    < join dept using (deptno)
    < group by dept.deptno]]>
    <     </Resource>
    <     <Resource name="plan">
    <       <![CDATA[
    < LogicalAggregate(group=[{0}], S=[COLLECT($1) WITHIN GROUP ([1 DESC])], 
S1=[COLLECT($1) WITHIN GROUP ([2])], S2=[COLLECT($1) WITHIN GROUP ([1]) FILTER 
$3])
    <   LogicalProject(DEPTNO=[$9], SAL=[$5], $f2=[1], $f3=[>($5, 2000)])
    <     LogicalJoin(condition=[=($7, $9)], joinType=[inner])
    <       LogicalTableScan(table=[[CATALOG, SALES, EMP]])
    <       LogicalTableScan(table=[[CATALOG, SALES, DEPT]])
    < ]]>
    <     </Resource>
    <   </TestCase>
    <   <TestCase name="testWithinGroup3">
    <     <Resource name="sql">
    <       <![CDATA[select deptno,
    <  collect(empno) within group (order by empno not in (1, 2)), count(*)
    < from emp
    < group by deptno]]>
    <     </Resource>
    <     <Resource name="plan">
    <       <![CDATA[
    < LogicalAggregate(group=[{0}], EXPR$1=[COLLECT($1) WITHIN GROUP ([2])], 
EXPR$2=[COUNT()])
    <   LogicalProject(DEPTNO=[$7], EMPNO=[$0], $f2=[SEARCH($0, Sarg[(-?..1), 
(1..2), (2..+?)])])
    <     LogicalTableScan(table=[[CATALOG, SALES, EMP]])
    < ]]>
    <     </Resource>
    <   </TestCase>
    < </Root>
    
        at 
org.apache.calcite.test.DiffRepository.checkActualAndReferenceFiles(DiffRepository.java:260)
        at 
org.apache.calcite.test.SqlToRelConverterTest.checkActualAndReferenceFiles(SqlToRelConverterTest.java:88)

FAILURE  15.0sec,  541 completed,   1 failed, 
  3 skipped, 
org.apache.calcite.test.SqlToRelConverterTest

JdbcTest > testCountUnionAll() STANDARD_OUT
    Warning: JDBC driver threw non-SQLException
          2.1sec, org.apache.calcite.test.JdbcTest > 
testBushy()
          2.4sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testCustomTimeFrame()
          2.5sec, 
org.apache.calcite.test.SqlToRelConverterExtendedTest > 
testLarge()
WARNING  17.6sec,  540 completed,   0 failed,   3 
skipped, org.apache.calcite.test.SqlToRelConverterExtendedTest
          3.0sec, org.apache.calcite.test.JdbcTest > 
testJoinJoin()
          2.4sec, org.apache.calcite.test.JdbcTest > 
testDistinctCountComposite()
          2.6sec, org.apache.calcite.test.JdbcTest > 
testDistinctCount()
          5.6sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testSoundexFunc()
          2.4sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testGreaterThanOrEqualOperator()
          2.1sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > testMd5()
          5.1sec, org.apache.calcite.test.JdbcTest > 
testOrderByVarious()
          2.2sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testCurrentDateFuncWithFixedTime()
          2.2sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testEndsWithFunction()
          6.2sec, org.apache.calcite.test.CoreQuidemTest > 
test(String)[5], [5] sql/join.iq
          2.9sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testJsonKeys()
          5.4sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testLastDayFunc()
          3.7sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testMultisetUnionOperator()
          7.5sec, org.apache.calcite.test.JdbcTest > 
testAggMultipleMeasures()
WARNING  40.9sec,  333 completed,   0 failed,  17 
skipped, org.apache.calcite.test.JdbcTest
          3.0sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > testCase()
          2.0sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testExtractWithDatesBeforeUnixEpoch()
         10.4sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testTimestampAdd()

> Task :redis:test
    docker[redis:2.8.19] 2022-12-15 23:17:14,523 [ForkJoinPool-1-worker-9] INFO 
 - Starting container with ID: 
0c9bff88a4e84bd263a6a511bd3c7238cbf9023219b6bd9264a4087194471d5c
    docker[redis:2.8.19] 2022-12-15 23:17:16,689 [ForkJoinPool-1-worker-9] INFO 
 - Container redis:2.8.19 is starting: 
0c9bff88a4e84bd263a6a511bd3c7238cbf9023219b6bd9264a4087194471d5c
    docker[redis:2.8.19] 2022-12-15 23:17:16,967 [ForkJoinPool-1-worker-9] INFO 
 - Container redis:2.8.19 started in PT38.069S
          6.1sec, 
org.apache.calcite.adapter.redis.RedisAdapterCaseBase > 
testSqlWithJoin()
         86.9sec,    2 completed,   0 failed,   0 skipped, 
org.apache.calcite.adapter.redis.RedisAdapterCaseBase
WARNING  91.4sec,    3 completed,   0 failed,   1 
skipped, Gradle Test Run :redis:test

> Task :redis:check
> Task :redis:build
> Task :redis:publish

> Task :core:test
          3.3sec, org.apache.calcite.test.CoreQuidemTest > 
test(String)[6], [6] sql/conditions.iq
          2.0sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testSubMultisetOfOperator()
          3.6sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testRightFunc()
          3.2sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testJsonExists()
          3.1sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testBetween()
          2.1sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testJsonDepth()
          2.9sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testJsonLength()

> Task :cassandra:test

CassandraAdapterDataTypesTest STANDARD_OUT
    2022-12-15 23:17:31,485 [s0-io-3] WARN  - [s0] Detected a keyspace change 
at runtime (<none> => cassandraunitkeyspace). This is an anti-pattern that 
should be avoided in production (see 'advanced.request.warn-if-set-keyspace' in 
the configuration).
    2022-12-15 23:17:33,248 [s0-io-3] WARN  - [s0] Detected a keyspace change 
at runtime (cassandraunitkeyspace => dtcassandra). This is an anti-pattern that 
should be avoided in production (see 'advanced.request.warn-if-set-keyspace' in 
the configuration).

> Task :core:test
          3.2sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testJsonValue()
          9.1sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testPostgresqlSubstrFunction()
         10.9sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testBigQuerySubstrFunction()
          4.0sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testJsonQuery()
         13.1sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testRandIntegerFunc()
          3.6sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testTimestampDiff()
          2.8sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testIlikeOperator()
          2.5sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testConcatFunc()
          7.4sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testMysqlSubstrFunction()
          6.8sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testStandardSubstringFunction()
          2.2sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testPositionFunc()
          2.1sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testExceptOperator()
          3.1sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testCastStringToDateTime()
          8.5sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testCastExactNumericLimits()
          3.2sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testExtractDate()
          7.3sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testOracleSubstrFunction()
          2.4sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testRegexpReplaceFunc()
         28.8sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testPeriodOperators()
         47.2sec, 
org.apache.calcite.test.ReflectiveSchemaTest > testOp()
WARNING  53.7sec,   45 completed,   0 failed,   5 
skipped, org.apache.calcite.test.ReflectiveSchemaTest
          6.0sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testRandFunc()
          8.2sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testCastToString()
          4.0sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testSimilarToOperator()
          3.4sec, 
org.apache.calcite.test.CalciteSqlOperatorTest > 
testJdbcFn()
WARNING  62.3sec,  315 completed,   0 failed,   1 
skipped, org.apache.calcite.test.CalciteSqlOperatorTest
         16.8sec, org.apache.calcite.test.CoreQuidemTest > 
test(String)[7], [7] sql/sub-query.iq

CoreQuidemTest > test(String) > 
org.apache.calcite.test.CoreQuidemTest.test(String)[18] STANDARD_OUT
    Warning: JDBC driver threw non-SQLException
          5.8sec, org.apache.calcite.test.CoreQuidemTest > 
test(String)[19], [19] sql/agg.iq

> Task :cassandra:test
          4.1sec, 
org.apache.calcite.test.CassandraAdapterDataTypesTest > 
testCollectionsRowType()
        103.8sec,   11 completed,   0 failed,   0 skipped, 
org.apache.calcite.test.CassandraAdapterDataTypesTest

> Task :core:test FAILED

CoreQuidemTest > test(String) > 
org.apache.calcite.test.CoreQuidemTest.test(String)[25] STANDARD_OUT
    Warning: JDBC driver threw non-SQLException
          4.9sec, org.apache.calcite.test.CoreQuidemTest > 
test(String)[25], [25] sql/misc.iq
         83.9sec,   25 completed,   0 failed,   0 skipped, 
org.apache.calcite.test.CoreQuidemTest > test(String)
         83.9sec,   25 completed,   0 failed,   0 skipped, 
org.apache.calcite.test.CoreQuidemTest
FAILURE 111.3sec, 7402 completed,   1 failed, 
105 skipped, Gradle Test Run :core:test

7402 tests completed, 1 failed, 105 skipped

> Task :cassandra:test

CassandraAdapterTest STANDARD_OUT
    2022-12-15 23:18:13,366 [s0-io-3] WARN  - [s0] Detected a keyspace change 
at runtime (dtcassandra => cassandraunitkeyspace). This is an anti-pattern that 
should be avoided in production (see 'advanced.request.warn-if-set-keyspace' in 
the configuration).
    2022-12-15 23:18:37,283 [s0-io-3] WARN  - [s0] Detected a keyspace change 
at runtime (cassandraunitkeyspace => twissandra). This is an anti-pattern that 
should be avoided in production (see 'advanced.request.warn-if-set-keyspace' in 
the configuration).
    2022-12-15 23:18:37,289 [s0-admin-0] WARN  - Query '[0 values] CREATE 
MATERIALIZED VIEW twissandra."Tweets_By_User" AS SELECT username, tweet_id FROM 
twissandra.tweets WHERE username IS NOT NULL AND tweet_id IS NOT NULL PRIMARY 
KEY (username, tweet_id);' generated server side warning(s): Materialized views 
are experimental and are not recommended for production use.
         36.8sec,   11 completed,   0 failed,   0 skipped, 
org.apache.calcite.test.CassandraAdapterTest

Gradle Test Executor 22 STANDARD_OUT
    2022-12-15 23:18:43,155 [s1-admin-0] WARN  - [s1|localhost/127.0.0.1:9142]  
Error while opening new channel (ConnectionInitException: [s1|connecting...] 
Protocol initialization request, step 1 (STARTUP {CQL_VERSION=3.0.0, 
DRIVER_NAME=DataStax Java driver for Apache Cassandra(R), 
DRIVER_VERSION=4.13.0, CLIENT_ID=494c23ff-7561-4a11-a855-49aa1e8a9d35}): failed 
to send request (io.netty.channel.StacklessClosedChannelException))
    2022-12-15 23:18:43,155 [s2-admin-0] WARN  - [s2|localhost/127.0.0.1:9142]  
Error while opening new channel (ConnectionInitException: [s2|connecting...] 
Protocol initialization request, step 1 (STARTUP {CQL_VERSION=3.0.0, 
DRIVER_NAME=DataStax Java driver for Apache Cassandra(R), 
DRIVER_VERSION=4.13.0, CLIENT_ID=eb660675-e27a-4df0-8bae-50d8dda1b99a}): failed 
to send request (io.netty.channel.StacklessClosedChannelException))
    2022-12-15 23:18:45,099 [s1-admin-0] WARN  - [s1|localhost/127.0.0.1:9142]  
Error while opening new channel (ConnectionInitException: [s1|connecting...] 
Protocol initialization request, step 1 (STARTUP {CQL_VERSION=3.0.0, 
DRIVER_NAME=DataStax Java driver for Apache Cassandra(R), 
DRIVER_VERSION=4.13.0, CLIENT_ID=494c23ff-7561-4a11-a855-49aa1e8a9d35}): failed 
to send request (io.netty.channel.StacklessClosedChannelException))
    2022-12-15 23:18:45,380 [s2-admin-0] WARN  - [s2|localhost/127.0.0.1:9142]  
Error while opening new channel (ConnectionInitException: [s2|connecting...] 
Protocol initialization request, step 1 (STARTUP {CQL_VERSION=3.0.0, 
DRIVER_NAME=DataStax Java driver for Apache Cassandra(R), 
DRIVER_VERSION=4.13.0, CLIENT_ID=eb660675-e27a-4df0-8bae-50d8dda1b99a}): failed 
to send request (io.netty.channel.StacklessClosedChannelException))
        152.5sec,   22 completed,   0 failed,   0 skipped, Gradle Test Run 
:cassandra:test

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':core:test'.
> There were failing tests. See the report at: 
> file://<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/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.
> Run with --scan to get full insights.

* 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.4.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 10m 8s
462 actionable tasks: 462 executed

See the profiling report at: 
file://<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/build/reports/profile/profile-2022-12-15-23-08-47.html>
A fine-grained performance profile is available: use the --scan option.

See the profiling report at: 
file://<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/buildSrc/build/reports/profile/profile-2022-12-15-23-09-43.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