You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by ro...@apache.org on 2013/08/18 23:23:54 UTC
svn commit: r1515220 - in /pig/trunk: CHANGES.txt
src/org/apache/pig/impl/PigContext.java
Author: rohini
Date: Sun Aug 18 21:23:54 2013
New Revision: 1515220
URL: http://svn.apache.org/r1515220
Log:
PIG-3424: Package import list should consider class name as is first even if -Dudf.import.list is passed (rohini)
Modified:
pig/trunk/CHANGES.txt
pig/trunk/src/org/apache/pig/impl/PigContext.java
Modified: pig/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1515220&r1=1515219&r2=1515220&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Sun Aug 18 21:23:54 2013
@@ -28,6 +28,8 @@ PIG-3174: Remove rpm and deb artifacts f
IMPROVEMENTS
+PIG-3424: Package import list should consider class name as is first even if -Dudf.import.list is passed (rohini)
+
PIG-3204: Change script parsing to parse entire script instead of line by line (rohini)
PIG-3359: Register Statements and Param Substitution in Macros (jpacker via cheolsoo)
Modified: pig/trunk/src/org/apache/pig/impl/PigContext.java
URL: http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/impl/PigContext.java?rev=1515220&r1=1515219&r2=1515220&view=diff
==============================================================================
--- pig/trunk/src/org/apache/pig/impl/PigContext.java (original)
+++ pig/trunk/src/org/apache/pig/impl/PigContext.java Sun Aug 18 21:23:54 2013
@@ -278,7 +278,7 @@ public class PigContext implements Seria
public static void initializeImportList(String importListCommandLineProperties)
{
StringTokenizer tokenizer = new StringTokenizer(importListCommandLineProperties, ":");
- int pos = 0;
+ int pos = 1; // Leave "" as the first import
ArrayList<String> importList = getPackageImportList();
while (tokenizer.hasMoreTokens())
{