Taranpreet Kaur created FLINK-39653:
---------------------------------------

             Summary: [Connectors/Opensearch] Move to Flink to 2.0.0 - Fix 
Violations of ArchUnit architecture rule enforced in Flink 2.x
                 Key: FLINK-39653
                 URL: https://issues.apache.org/jira/browse/FLINK-39653
             Project: Flink
          Issue Type: Bug
          Components: Connectors / Opensearch
            Reporter: Taranpreet Kaur
             Fix For: opensearch-2.1.0


Even after applying the fix in Jira FLINK-37652, the build was failing due to 
following reason:



  The Problem

  - org.apache.flink.table.types.DataType is annotated with @PublicEvolving — 
but the ArchUnit rule in Flink 2.x treats it
  as not part of the stable public API that connectors are allowed to depend on 
in their exposed method signatures.
  - IndexGeneratorFactory.createIndexGenerator() had List<DataType> as a 
parameter, which violated this rule.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to