You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Caizhi Weng (Jira)" <ji...@apache.org> on 2022/07/27 11:25:00 UTC

[jira] [Created] (FLINK-28717) Table Store Hive connector will throw exception if primary key fields are not selected

Caizhi Weng created FLINK-28717:
-----------------------------------

             Summary: Table Store Hive connector will throw exception if primary key fields are not selected
                 Key: FLINK-28717
                 URL: https://issues.apache.org/jira/browse/FLINK-28717
             Project: Flink
          Issue Type: Bug
          Components: Table Store
    Affects Versions: table-store-0.2.0, table-store-0.3.0
            Reporter: Caizhi Weng
             Fix For: table-store-0.2.0, table-store-0.3.0


Table Store Hive connector implement projection pushdown by reading desired fields and set other unread fields to null. However the nullability of primary key fields are null, so {{RowData.FieldGetter}} will not check for null values for these types. This may cause exception when primary key fields are not selected and are set to null.



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