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

Benchao Li reassigned FLINK-39548:
----------------------------------

    Assignee: JingWei Li

>  CommonExecTableSourceScan uses physical row type instead of output type for 
> upsert source key partitioning 
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-39548
>                 URL: https://issues.apache.org/jira/browse/FLINK-39548
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Planner
>            Reporter: JingWei Li
>            Assignee: JingWei Li
>            Priority: Major
>              Labels: pull-request-available
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
>     • When  CommonExecTableSourceScan  wraps an upsert/changelog source with 
> configured parallelism, it derives primary-key indices from the    
>   physical row type.                                                          
>                                                                   
>     • If the source output is projected/reordered before the partitioning 
> wrapper is created, those indices no longer match the actual output   
>   schema.                                                                     
>                                                                   
>     • This causes the generated source partitioning key selector to use wrong 
> fields.  



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

Reply via email to