Roman Khachatryan created FLINK-26198:
-----------------------------------------
Summary: ArchitectureTest fails on AZP (table.api.StatementSet)
Key: FLINK-26198
URL: https://issues.apache.org/jira/browse/FLINK-26198
Project: Flink
Issue Type: Bug
Components: Table SQL / API
Reporter: Roman Khachatryan
https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=31681&view=logs&j=fc5181b0-e452-5c8f-68de-1097947f6483&t=995c650b-6573-581c-9ce6-7ad4cc038461&l=26849
{code}
[INFO] Running org.apache.flink.architecture.rules.ApiAnnotationRules
[ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 48.583
s <<< FAILURE! - in org.apache.flink.architecture.rules.ApiAnnotationRules
[ERROR]
ApiAnnotationRules.PUBLIC_EVOLVING_API_METHODS_USE_ONLY_PUBLIC_EVOLVING_API_TYPES
Time elapsed: 0.282 s <<< FAILURE!
java.lang.AssertionError:
Architecture Violation [Priority: MEDIUM] - Rule 'Return and argument types of
methods annotated with @PublicEvolving must be annotated with
@Public(Evolving).' was violated (1 times):
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
{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)