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

Caizhi Weng updated FLINK-28717:
--------------------------------
    Description: 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.  (was: 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.)

> 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
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: table-store-0.2.0, table-store-0.3.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)

Reply via email to