Pengcheng Xiong created HIVE-10546:
--------------------------------------
Summary: genFileSinkPlan should use the generated SEL's RR for the
partition col of FS
Key: HIVE-10546
URL: https://issues.apache.org/jira/browse/HIVE-10546
Project: Hive
Issue Type: Bug
Reporter: Pengcheng Xiong
Assignee: Pengcheng Xiong
Right now, when Hive writes data into a bucketed table, it will use the last OP
to generate RS-SEL and then FS. However, the context rsCtx carries
partition column from the last OP rather than from the SEL, which makes FS use
the wrong partition column.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)