Description
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.
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.