PIG-5038: Pig Limit_2 e2e test failed with sort check (Konstantin_Harasov via rohini)

git-svn-id: https://svn.apache.org/repos/asf/pig/trunk@1764553 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/CHANGES.txt b/CHANGES.txt
index 3c0d5cd..0066953 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -48,6 +48,8 @@
  
 BUG FIXES
 
+PIG-5038: Pig Limit_2 e2e test failed with sort check (Konstantin_Harasov via rohini)
+
 PIG-5039: TestTypeCheckingValidatorNewLP.TestTypeCheckingValidatorNewLP is failing (nkollar via knoguchi)
 
 PIG-3087: Refactor TestLogicalPlanBuilder to be meaningful (szita via daijy)
diff --git a/test/e2e/pig/tests/nightly.conf b/test/e2e/pig/tests/nightly.conf
index db9b461..534b1df 100644
--- a/test/e2e/pig/tests/nightly.conf
+++ b/test/e2e/pig/tests/nightly.conf
@@ -2186,7 +2186,7 @@
 b = order a by $0, $1, $2;
 c = limit b 100;
 store c into ':OUTPATH:';\,
-            	'sortArgs' => ['-t', '	', '-k', '1,3'],
+            	'sortArgs' => ['-t', '	', '-k', '1,2'],
 			},
 			{
 				# Make sure that limit higher than number of rows doesn't mess stuff up