Venki Korukanti created DRILL-2858:
--------------------------------------
Summary: Refactor hash expression construction in
InsertLocalExchangeVisitor and PrelUtil into one place
Key: DRILL-2858
URL: https://issues.apache.org/jira/browse/DRILL-2858
Project: Apache Drill
Issue Type: Bug
Reporter: Venki Korukanti
Assignee: Venki Korukanti
Currently there are two place where we construct the hash expression based on
the partition fields:
1. InsertLocalExchangeVistor (generates RexExpr type)
2. PRelUtil.getHashExpression (generate LogicalExpression type)
Having this logic in two places makes them prone to errors and they can easily
go out of sync causing hard to debug verification failures.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)