use of org.apache.hadoop.hive.ql.util.NullOrdering in project hive by apache.
the class SemanticAnalyzer method createSortOrderForUpdateDelete.
// SORT BY ROW__ID ASC
private void createSortOrderForUpdateDelete(List<ExprNodeDesc> sortCols, StringBuilder sortOrder, StringBuilder nullSortOrder) {
NullOrdering defaultNullOrder = NullOrdering.defaultNullOrder(conf);
for (int i = 0; i < sortCols.size(); i++) {
sortOrder.append(DirectionUtils.codeToSign(DirectionUtils.ASCENDING_CODE));
nullSortOrder.append(defaultNullOrder.getSign());
}
}
Aggregations