You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/05/12 03:47:00 UTC

[jira] [Work logged] (HIVE-25063) Enforce hive.default.nulls.last when enforce bucketing

     [ https://issues.apache.org/jira/browse/HIVE-25063?focusedWorklogId=595042&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-595042 ]

ASF GitHub Bot logged work on HIVE-25063:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 12/May/21 03:46
            Start Date: 12/May/21 03:46
    Worklog Time Spent: 10m 
      Work Description: kasakrisz closed pull request #2227:
URL: https://github.com/apache/hive/pull/2227


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 595042)
    Time Spent: 20m  (was: 10m)

> 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
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)