You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by ch...@apache.org on 2013/01/25 01:11:00 UTC
svn commit: r1438273 - in /pig/trunk: .eclipse.templates/.classpath
CHANGES.txt ivy/libraries.properties
src/docs/src/documentation/content/xdocs/func.xml
test/org/apache/pig/test/TestBuiltin.java
Author: cheolsoo
Date: Fri Jan 25 00:11:00 2013
New Revision: 1438273
URL: http://svn.apache.org/viewvc?rev=1438273&view=rev
Log:
PIG-3031: Update Pig to use a newer version of joda-time (zjshen via cheolsoo)
Modified:
pig/trunk/.eclipse.templates/.classpath
pig/trunk/CHANGES.txt
pig/trunk/ivy/libraries.properties
pig/trunk/src/docs/src/documentation/content/xdocs/func.xml
pig/trunk/test/org/apache/pig/test/TestBuiltin.java
Modified: pig/trunk/.eclipse.templates/.classpath
URL: http://svn.apache.org/viewvc/pig/trunk/.eclipse.templates/.classpath?rev=1438273&r1=1438272&r2=1438273&view=diff
==============================================================================
--- pig/trunk/.eclipse.templates/.classpath (original)
+++ pig/trunk/.eclipse.templates/.classpath Fri Jan 25 00:11:00 2013
@@ -15,7 +15,7 @@
<classpathentry exported="true" kind="lib" path="build/ivy/lib/Pig/javacc-4.2.jar"/>
<classpathentry exported="true" kind="lib" path="build/ivy/lib/Pig/javacc.jar"/>
<classpathentry exported="true" kind="lib" path="build/ivy/lib/Pig/jline-0.9.94.jar"/>
- <classpathentry exported="true" kind="lib" path="build/ivy/lib/Pig/joda-time-1.6.jar"/>
+ <classpathentry exported="true" kind="lib" path="build/ivy/lib/Pig/joda-time-2.1.jar"/>
<classpathentry exported="true" kind="lib" path="build/ivy/lib/Pig/jsch-0.1.38.jar"/>
<classpathentry exported="true" kind="lib" path="build/ivy/lib/Pig/junit-4.11.jar"/>
<classpathentry exported="true" kind="lib" path="build/ivy/lib/Pig/antlr-3.4.jar"/>
Modified: pig/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1438273&r1=1438272&r2=1438273&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Fri Jan 25 00:11:00 2013
@@ -84,6 +84,8 @@ PIG-3013: BinInterSedes improve chararra
BUG FIXES
+PIG-3031: Update Pig to use a newer version of joda-time (zjshen via cheolsoo)
+
PIG-3071: Update hcatalog jar and path to hbase storage handler jar in pig script (arpitgupta via cheolsoo)
PIG-3029 TestTypeCheckingValidatorNewLP has some path reference issues for cross-platform execution (jgordon via gates)
Modified: pig/trunk/ivy/libraries.properties
URL: http://svn.apache.org/viewvc/pig/trunk/ivy/libraries.properties?rev=1438273&r1=1438272&r2=1438273&view=diff
==============================================================================
--- pig/trunk/ivy/libraries.properties (original)
+++ pig/trunk/ivy/libraries.properties Fri Jan 25 00:11:00 2013
@@ -56,7 +56,7 @@ jdiff.version=1.0.9
jetty.version=6.1.26
jetty-util.version=6.1.26
jline.version=0.9.94
-joda-time.version=1.6
+joda-time.version=2.1
jsch.version=0.1.38
json-simple.version=1.1
junit.version=4.11
Modified: pig/trunk/src/docs/src/documentation/content/xdocs/func.xml
URL: http://svn.apache.org/viewvc/pig/trunk/src/docs/src/documentation/content/xdocs/func.xml?rev=1438273&r1=1438272&r2=1438273&view=diff
==============================================================================
--- pig/trunk/src/docs/src/documentation/content/xdocs/func.xml (original)
+++ pig/trunk/src/docs/src/documentation/content/xdocs/func.xml Fri Jan 25 00:11:00 2013
@@ -4188,6 +4188,7 @@ Use the AddDuration function to created
</td>
<td>
<p>The timezone string. Either the UTC offset and the location based format can be used as a parameter, while internally the timezone will be converted to the UTC offset format.</p>
+ <p>Please see <a href="http://joda-time.sourceforge.net/timezones.html">the Joda-Time doc</a> for available timezone IDs.</p>
</td>
</tr>
</table>
Modified: pig/trunk/test/org/apache/pig/test/TestBuiltin.java
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/TestBuiltin.java?rev=1438273&r1=1438272&r2=1438273&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/TestBuiltin.java (original)
+++ pig/trunk/test/org/apache/pig/test/TestBuiltin.java Fri Jan 25 00:11:00 2013
@@ -404,7 +404,7 @@ public class TestBuiltin {
Tuple t7 = TupleFactory.getInstance().newTuple(3);
t7.set(0, "2009.01.07 AD at 01:07:01 +0800");
t7.set(1, "yyyy.MM.dd G 'at' HH:mm:ss Z");
- t7.set(2, "asia/singapore");
+ t7.set(2, "Asia/Singapore");
DateTime dt7 = func4.exec(t7);
assertEquals(dt7, new DateTime("2009-01-07T01:07:01.000+08:00", DateTimeZone.forID("+08:00")));