[
https://issues.apache.org/jira/browse/PIG-4179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Dai resolved PIG-4179.
-----------------------------
Resolution: Won't Fix
This is to get around a bug in "sort" in CentOS. "sort" will automatically use
"ignore leading blanks" option. For example, if we have input file:
,2
1,1
,1
Run command: sort -t , -k 1,2 1.txt
We get
,1
1,1
,2
When the expected result is:
,1
,2
1,1
If we use -n option, -b get automatically canceled. The semantics of numeric
sort is different than the lexical sort, but since we have the same number of
digits for all columns, so the result is still correct.
Anyway, it is not proper to check in the patch since it is essentially using
wrong sorting syntax. We shall find a way to fix "sort" utility in CentOS.
> e2e test Limit_2 fail on some platform
> --------------------------------------
>
> Key: PIG-4179
> URL: https://issues.apache.org/jira/browse/PIG-4179
> Project: Pig
> Issue Type: Bug
> Components: e2e harness
> Reporter: Daniel Dai
> Assignee: Daniel Dai
> Fix For: 0.14.0
>
> Attachments: PIG-4179-1.patch
>
>
> Eg, CentOS. The sort syntax is wrong.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)