You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Krisztian Kasa (Jira)" <ji...@apache.org> on 2021/04/27 15:29:00 UTC
[jira] [Assigned] (HIVE-25063) Enforce hive.default.nulls.last when
enforce bucketing
[ 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)