[CALCITE-6781] The isUpdateCapable method of calcite.avatica will incorrectly traverse the returned result value #675
main.yml
on: pull_request
Windows (JDK 11)
5m 22s
Linux (JDK 8)
4m 5s
Linux (JDK 8), Avatica main
4m 58s
Linux (JDK 11), Oldest Guava, Pacific/Chatham Timezone
4m 7s
Linux (JDK 11), Calcite Minimum Guava, America/New_York Timezone
4m 4s
Linux (JDK 11), Middle-Aged Guava
4m 0s
Linux (JDK 11), Newest Guava
4m 8s
Linux (JDK 17)
4m 11s
Linux (JDK 21)
3m 56s
macOS (JDK 21)
4m 44s
Linux (JDK 22)
4m 8s
Annotations
4 errors and 9 warnings
Linux (JDK 8), Avatica main:
org.apache.calcite.test.BabelQuidemTest > test(String)[1%5D#L1
4.4sec org.apache.calcite.test.BabelQuidemTest > test(String)[1], [1] sql/spark.iq
org.opentest4j.AssertionFailedError: Files differ: /home/runner/work/calcite-avatica/calcite/babel/build/quidem/test/sql/spark.iq /home/runner/work/calcite-avatica/calcite/babel/build/resources/test/sql/spark.iq
470c470,614
< (6 rows modified)
---
> java.sql.SQLException: Error while executing SQL "INSERT INTO COMPLEX (VALUES
> (0, NULL, 5, NULL, NULL),
> -- Apparently there is no function of constructor to create an empty multiset
> (1, array(), 4, NULL, multiset[1] MULTISET EXCEPT multiset[1]),
> (2, ARRAY[0], 3, MAP(), multiset[0]),
> (3, ARRAY[0, 1], 2, MAP['zero', 0], multiset[0, 1]),
> (4, ARRAY[0, 1, 2], 1, MAP['zero', 0, 'one', 1], multiset[0, 1, 2]),
> (5, ARRAY[0, 1, 2, 3], 0, MAP['zero', 0, 'one', 1, 'two', 2], multiset[0, 1, 2, 3])
> )": java.sql.SQLException: java.util.NoSuchElementException: Expecting cursor position to be Position.OK, actual is Position.AFTER_END
> at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
> at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
> at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
> at org.apache.calcite.avatica.AvaticaStatement.executeLargeUpdate(AvaticaStatement.java:247)
> at org.apache.calcite.avatica.AvaticaStatement.executeUpdate(AvaticaStatement.java:241)
> at net.hydromatic.quidem.Quidem.update(Quidem.java:253)
> at net.hydromatic.quidem.Quidem.access$2700(Quidem.java:57)
> at net.hydromatic.quidem.Quidem$ContextImpl.update(Quidem.java:1641)
> at net.hydromatic.quidem.Quidem$UpdateCommand.execute(Quidem.java:1041)
> at net.hydromatic.quidem.Quidem$CompositeCommand.execute(Quidem.java:1437)
> at net.hydromatic.quidem.Quidem.execute(Quidem.java:190)
> at org.apache.calcite.test.QuidemTest.checkRun(QuidemTest.java:177)
> at org.apache.calcite.test.QuidemTest.test(QuidemTest.java:238)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> 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.interceptTestableMethod(TimeoutExtension.java:147)
> at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestTemplateMethod(TimeoutExtension.java:94)
> 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.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMetho
|
Linux (JDK 8), Avatica main:
org.apache.calcite.test.BabelQuidemTest > test(String)[6%5D#L1
1.6sec org.apache.calcite.test.BabelQuidemTest > test(String)[6], [6] sql/postgresql.iq
org.opentest4j.AssertionFailedError: Files differ: /home/runner/work/calcite-avatica/calcite/babel/build/quidem/test/sql/postgresql.iq /home/runner/work/calcite-avatica/calcite/babel/build/resources/test/sql/postgresql.iq
63c63,202
< (1 row modified)
---
> java.sql.SQLException: Error while executing SQL "INSERT INTO sal_emp
> VALUES ('Bill',
> '{10000, 10000, 10000, 10000}',
> '{{"meeting", "lunch"}, {"training", "presentation"}}')": java.sql.SQLException: java.util.NoSuchElementException: Expecting cursor position to be Position.OK, actual is Position.AFTER_END
> at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
> at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
> at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
> at org.apache.calcite.avatica.AvaticaStatement.executeLargeUpdate(AvaticaStatement.java:247)
> at org.apache.calcite.avatica.AvaticaStatement.executeUpdate(AvaticaStatement.java:241)
> at net.hydromatic.quidem.Quidem.update(Quidem.java:253)
> at net.hydromatic.quidem.Quidem.access$2700(Quidem.java:57)
> at net.hydromatic.quidem.Quidem$ContextImpl.update(Quidem.java:1641)
> at net.hydromatic.quidem.Quidem$UpdateCommand.execute(Quidem.java:1041)
> at net.hydromatic.quidem.Quidem$CompositeCommand.execute(Quidem.java:1437)
> at net.hydromatic.quidem.Quidem.execute(Quidem.java:190)
> at org.apache.calcite.test.QuidemTest.checkRun(QuidemTest.java:177)
> at org.apache.calcite.test.QuidemTest.test(QuidemTest.java:238)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> 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.interceptTestableMethod(TimeoutExtension.java:147)
> at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestTemplateMethod(TimeoutExtension.java:94)
> 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.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:217)
> at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
> at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213)
> at org.junit.jupiter.engine.descriptor.TestMethodTestDe
|
Linux (JDK 8), Avatica main:
task ':babel:test'#L1
Execution failed for task ':babel:test':
org.gradle.api.internal.exceptions.MarkedVerificationException: There were failing tests. See the report at: file:///home/runner/work/calcite-avatica/calcite/babel/build/reports/tests/test/index.html
|
Linux (JDK 8), Avatica main
Process completed with exit code 1.
|
Linux (JDK 21)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Linux (JDK 11), Middle-Aged Guava
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Linux (JDK 11), Calcite Minimum Guava, America/New_York Timezone
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Linux (JDK 8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Linux (JDK 11), Oldest Guava, Pacific/Chatham Timezone
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Linux (JDK 11), Newest Guava
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Linux (JDK 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Linux (JDK 17)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Linux (JDK 8), Avatica main
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|