You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "David Morávek (Jira)" <ji...@apache.org> on 2022/02/16 18:56:00 UTC

[jira] [Created] (FLINK-26199) StatementSet.compilePlan doesn't pass the archiunit tests

David Morávek created FLINK-26199:
-------------------------------------

             Summary: StatementSet.compilePlan doesn't pass the archiunit tests
                 Key: FLINK-26199
                 URL: https://issues.apache.org/jira/browse/FLINK-26199
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / API
            Reporter: David Morávek
             Fix For: 1.15.0


https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=31678&view=logs&j=fc5181b0-e452-5c8f-68de-1097947f6483&t=995c650b-6573-581c-9ce6-7ad4cc038461&l=26852

{code}
Feb 16 18:10:30 Architecture Violation [Priority: MEDIUM] - Rule 'Return and argument types of methods annotated with @PublicEvolving must be annotated with @Public(Evolving).' was violated (1 times):
Feb 16 18:10:30 org.apache.flink.table.api.StatementSet.compilePlan(): Returned leaf type org.apache.flink.table.api.CompiledPlan does not satisfy: reside outside of package 'org.apache.flink..' or annotated with @Public or annotated with @PublicEvolving or annotated with @Deprecated
Feb 16 18:10:30 	at com.tngtech.archunit.lang.ArchRule$Assertions.assertNoViolation(ArchRule.java:94)
Feb 16 18:10:30 	at com.tngtech.archunit.lang.ArchRule$Assertions.check(ArchRule.java:82)
Feb 16 18:10:30 	at com.tngtech.archunit.library.freeze.FreezingArchRule.check(FreezingArchRule.java:96)
Feb 16 18:10:30 	at com.tngtech.archunit.junit.ArchUnitTestDescriptor$ArchUnitRuleDescriptor.execute(ArchUnitTestDescriptor.java:159)
Feb 16 18:10:30 	at com.tngtech.archunit.junit.ArchUnitTestDescriptor$ArchUnitRuleDescriptor.execute(ArchUnitTestDescriptor.java:142)
Feb 16 18:10:30 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
Feb 16 18:10:30 	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
Feb 16 18:10:30 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
Feb 16 18:10:30 	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
Feb 16 18:10:30 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
Feb 16 18:10:30 	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
Feb 16 18:10:30 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
Feb 16 18:10:30 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
Feb 16 18:10:30 	at java.util.ArrayList.forEach(ArrayList.java:1259)
{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)