You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jingsong Lee (Jira)" <ji...@apache.org> on 2022/07/28 02:32:00 UTC

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

     [ https://issues.apache.org/jira/browse/FLINK-28717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jingsong Lee closed FLINK-28717.
--------------------------------
    Fix Version/s:     (was: table-store-0.3.0)
         Assignee: Caizhi Weng
       Resolution: Fixed

master: 334c6159e546ba54aa1c38154882122758604d3d
release-0.2: ceab29fda7512b550a2de4d9cff0a90a8cd1d3c8

> 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
>            Assignee: Caizhi Weng
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: table-store-0.2.0
>
>
> Table Store Hive connector implement projection pushdown by reading desired fields and setting other unread fields to null. However the nullability of primary key fields are not 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)