Jesus Camacho Rodriguez created HIVE-12407: ----------------------------------------------
Summary: Check fetch property to determine if a SortLimit contains a limit operation Key: HIVE-12407 URL: https://issues.apache.org/jira/browse/HIVE-12407 Project: Hive Issue Type: Bug Components: CBO Affects Versions: 2.0.0 Reporter: Jesus Camacho Rodriguez Assignee: Jesus Camacho Rodriguez Now that Calcite 1.5 went in, sometimes we end up with Sort and Limit operations in the same operator. limitRelNode in HiveCalciteUtil should check the fetch property of the SortLimit operator to determine if an operator is a Limit. -- This message was sent by Atlassian JIRA (v6.3.4#6332)