You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by kn...@apache.org on 2016/05/24 13:21:01 UTC

svn commit: r1745356 - in /pig/trunk: CHANGES.txt src/org/apache/pig/builtin/PigStorage.java

Author: knoguchi
Date: Tue May 24 13:21:00 2016
New Revision: 1745356

URL: http://svn.apache.org/viewvc?rev=1745356&view=rev
Log:
PIG-4909: PigStorage incompatible with commons-cli-1.3 (knoguchi)

Modified:
    pig/trunk/CHANGES.txt
    pig/trunk/src/org/apache/pig/builtin/PigStorage.java

Modified: pig/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1745356&r1=1745355&r2=1745356&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Tue May 24 13:21:00 2016
@@ -139,6 +139,8 @@ PIG-4639: Add better parser for Apache H
 
 BUG FIXES
 
+PIG-4909: PigStorage incompatible with commons-cli-1.3 (knoguchi)
+
 PIG-4908: JythonFunction refers to Oozie launcher script absolute path (rohini)
 
 PIG-4905: Input of empty dir does not produce empty output file in Tez (rohini)

Modified: pig/trunk/src/org/apache/pig/builtin/PigStorage.java
URL: http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/builtin/PigStorage.java?rev=1745356&r1=1745355&r2=1745356&view=diff
==============================================================================
--- pig/trunk/src/org/apache/pig/builtin/PigStorage.java (original)
+++ pig/trunk/src/org/apache/pig/builtin/PigStorage.java Tue May 24 13:21:00 2016
@@ -171,7 +171,7 @@ LoadPushDown, LoadMetadata, StoreMetadat
         validOptions.addOption(TAG_SOURCE_FILE, false, "Appends input source file name to beginning of each tuple.");
         validOptions.addOption(TAG_SOURCE_PATH, false, "Appends input source file path to beginning of each tuple.");
         validOptions.addOption("tagsource", false, "Appends input source file name to beginning of each tuple.");
-        Option overwrite = new Option(" ", "Overwrites the destination.");
+        Option overwrite = new Option("overwrite", "Overwrites the destination.");
         overwrite.setLongOpt("overwrite");
         overwrite.setOptionalArg(true);
         overwrite.setArgs(1);