Caizhi Weng created FLINK-27286:
-----------------------------------

             Summary: Fix table store connector throws ClassNotFoundException: 
org.apache.flink.table.store.shaded.org.apache.flink.connector.file.table.RowDataPartitionComputer
                 Key: FLINK-27286
                 URL: https://issues.apache.org/jira/browse/FLINK-27286
             Project: Flink
          Issue Type: Sub-task
          Components: Table Store
    Affects Versions: table-store-0.2.0
            Reporter: Caizhi Weng
             Fix For: table-store-0.2.0


This is caused by FLINK-27172. Currently table store excludes file connector 
dependencies shading as follows:
{code}
<exclude>org.apache.flink.connector.base.*</exclude>
<exclude>org.apache.flink.connector.file.*</exclude>
{code}

However this only excludes classes in {{org.apache.flink.connector.base}} and 
{{org.apache.flink.connector.file}} packages and does not exclude classes in 
their sub-packages. The correct excluding pattern should be:
{code}
<exclude>org.apache.flink.connector.base.**</exclude>
<exclude>org.apache.flink.connector.file.**</exclude>
{code}

This change will also be checked by e2e tests in the near future.



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

Reply via email to