[ https://issues.apache.org/jira/browse/HIVE-25063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Krisztian Kasa reassigned HIVE-25063: ------------------------------------- > Enforce hive.default.nulls.last when enforce bucketing > ------------------------------------------------------ > > Key: HIVE-25063 > URL: https://issues.apache.org/jira/browse/HIVE-25063 > Project: Hive > Issue Type: Bug > Reporter: Krisztian Kasa > Assignee: Krisztian Kasa > Priority: Major > > When creating ReduceSink operator for bucketing the sort key null sort order > is hardcoded: > {code} > for (int sortOrder : sortOrders) { > order.append(DirectionUtils.codeToSign(sortOrder)); > nullOrder.append(sortOrder == DirectionUtils.ASCENDING_CODE ? 'a' : > 'z'); > } > {code} > It should depend on both the setting hive.default.nulls.last and the order > direction. -- This message was sent by Atlassian Jira (v8.3.4#803005)