hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1534711 [9/15] - in /hive/branches/maven: ./ ant/src/org/apache/hadoop/hive/ant/ beeline/src/java/org/apache/hive/beeline/ bin/ bin/ext/ cli/src/java/org/apache/hadoop/hive/cli/ common/ common/src/java/org/apache/hadoop/hive/common/type/ c...
Date Tue, 22 Oct 2013 17:59:08 GMT
Modified: hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/io/udf/Rot13OutputFormat.java
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/io/udf/Rot13OutputFormat.java?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/io/udf/Rot13OutputFormat.java (original)
+++ hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/io/udf/Rot13OutputFormat.java Tue Oct 22 17:58:59 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.hadoop.hive.ql.io.udf;
 
 import java.io.IOException;

Modified: hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestGenericUDFAbs.java
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestGenericUDFAbs.java?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestGenericUDFAbs.java (original)
+++ hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestGenericUDFAbs.java Tue Oct 22 17:58:59 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.hadoop.hive.ql.udf;
 
 import junit.framework.TestCase;
@@ -121,7 +139,7 @@ public class TestGenericUDFAbs extends T
     ObjectInspector[] arguments = {valueOI};
 
     udf.initialize(arguments);
-    DeferredObject valueObj = new DeferredJavaObject(new HiveDecimalWritable(new HiveDecimal(
+    DeferredObject valueObj = new DeferredJavaObject(new HiveDecimalWritable(HiveDecimal.create(
         "107.123456789")));
     DeferredObject[] args = {valueObj};
     HiveDecimalWritable output = (HiveDecimalWritable) udf.evaluate(args);
@@ -129,7 +147,7 @@ public class TestGenericUDFAbs extends T
     assertEquals("abs() test for HiveDecimal failed ", 107.123456789, output.getHiveDecimal()
         .doubleValue());
 
-    valueObj = new DeferredJavaObject(new HiveDecimalWritable(new HiveDecimal("-107.123456789")));
+    valueObj = new DeferredJavaObject(new HiveDecimalWritable(HiveDecimal.create("-107.123456789")));
     args[0] = valueObj;
     output = (HiveDecimalWritable) udf.evaluate(args);
 

Modified: hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestGenericUDFDecode.java
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestGenericUDFDecode.java?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestGenericUDFDecode.java (original)
+++ hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestGenericUDFDecode.java Tue Oct 22 17:58:59 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.hadoop.hive.ql.udf;
 
 import java.io.UnsupportedEncodingException;

Modified: hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestGenericUDFEncode.java
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestGenericUDFEncode.java?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestGenericUDFEncode.java (original)
+++ hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestGenericUDFEncode.java Tue Oct 22 17:58:59 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.hadoop.hive.ql.udf;
 
 import java.io.UnsupportedEncodingException;

Modified: hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestToInteger.java
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestToInteger.java?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestToInteger.java (original)
+++ hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestToInteger.java Tue Oct 22 17:58:59 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.hadoop.hive.ql.udf;
 
 import junit.framework.TestCase;

Modified: hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestUDFBase64.java
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestUDFBase64.java?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestUDFBase64.java (original)
+++ hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestUDFBase64.java Tue Oct 22 17:58:59 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.hadoop.hive.ql.udf;
 
 import junit.framework.TestCase;

Modified: hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestUDFHex.java
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestUDFHex.java?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestUDFHex.java (original)
+++ hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestUDFHex.java Tue Oct 22 17:58:59 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.hadoop.hive.ql.udf;
 
 import junit.framework.TestCase;

Modified: hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestUDFUnbase64.java
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestUDFUnbase64.java?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestUDFUnbase64.java (original)
+++ hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestUDFUnbase64.java Tue Oct 22 17:58:59 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.hadoop.hive.ql.udf;
 
 import junit.framework.TestCase;

Modified: hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestUDFUnhex.java
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestUDFUnhex.java?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestUDFUnhex.java (original)
+++ hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/TestUDFUnhex.java Tue Oct 22 17:58:59 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.hadoop.hive.ql.udf;
 
 import junit.framework.TestCase;

Modified: hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/generic/TestGenericUDFMacro.java
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/generic/TestGenericUDFMacro.java?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/generic/TestGenericUDFMacro.java (original)
+++ hive/branches/maven/ql/src/test/org/apache/hadoop/hive/ql/udf/generic/TestGenericUDFMacro.java Tue Oct 22 17:58:59 2013
@@ -62,10 +62,10 @@ public class TestGenericUDFMacro {
     inspectors = new ObjectInspector[] {
         PrimitiveObjectInspectorFactory.
           getPrimitiveWritableConstantObjectInspector(
-            PrimitiveObjectInspector.PrimitiveCategory.INT, x),
+              TypeInfoFactory.intTypeInfo, x),
         PrimitiveObjectInspectorFactory.
           getPrimitiveWritableConstantObjectInspector(
-            PrimitiveObjectInspector.PrimitiveCategory.INT, y),
+              TypeInfoFactory.intTypeInfo, y),
     };
     arguments = new DeferredObject[] {
         new DeferredJavaObject(x),

Modified: hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomNonSettableStructObjectInspector1.java
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomNonSettableStructObjectInspector1.java?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomNonSettableStructObjectInspector1.java (original)
+++ hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomNonSettableStructObjectInspector1.java Tue Oct 22 17:58:59 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.hadoop.hive.serde2;
 
 import java.util.ArrayList;

Modified: hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomNonSettableUnionObjectInspector1.java
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomNonSettableUnionObjectInspector1.java?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomNonSettableUnionObjectInspector1.java (original)
+++ hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomNonSettableUnionObjectInspector1.java Tue Oct 22 17:58:59 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.hadoop.hive.serde2;
 
 import java.util.List;

Modified: hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe1.java
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe1.java?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe1.java (original)
+++ hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe1.java Tue Oct 22 17:58:59 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.hadoop.hive.serde2;
 
 import java.util.ArrayList;

Modified: hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe2.java
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe2.java?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe2.java (original)
+++ hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe2.java Tue Oct 22 17:58:59 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.hadoop.hive.serde2;
 
 import java.util.ArrayList;

Modified: hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe3.java
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe3.java?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe3.java (original)
+++ hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe3.java Tue Oct 22 17:58:59 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.hadoop.hive.serde2;
 
 import java.util.ArrayList;

Modified: hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe4.java
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe4.java?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe4.java (original)
+++ hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe4.java Tue Oct 22 17:58:59 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.hadoop.hive.serde2;
 
 import java.util.ArrayList;

Modified: hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe5.java
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe5.java?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe5.java (original)
+++ hive/branches/maven/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe5.java Tue Oct 22 17:58:59 2013
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.hadoop.hive.serde2;
 
 import java.util.ArrayList;

Modified: hive/branches/maven/ql/src/test/queries/clientpositive/alter_varchar1.q
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/queries/clientpositive/alter_varchar1.q?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/queries/clientpositive/alter_varchar1.q (original)
+++ hive/branches/maven/ql/src/test/queries/clientpositive/alter_varchar1.q Tue Oct 22 17:58:59 2013
@@ -2,31 +2,31 @@ drop table alter_varchar_1;
 
 create table alter_varchar_1 (key string, value string);
 insert overwrite table alter_varchar_1
-  select key, value from src limit 5;
+  select key, value from src order by key limit 5;
 
-select * from alter_varchar_1;
+select * from alter_varchar_1 order by key;
 
 -- change column to varchar
 alter table alter_varchar_1 change column value value varchar(20);
 -- contents should still look the same
-select * from alter_varchar_1;
+select * from alter_varchar_1 order by key;
 
 -- change column to smaller varchar
 alter table alter_varchar_1 change column value value varchar(3);
 -- value column should be truncated now
-select * from alter_varchar_1;
+select * from alter_varchar_1 order by key;
 
 -- change back to bigger varchar
 alter table alter_varchar_1 change column value value varchar(20);
 -- column values should be full size again
-select * from alter_varchar_1;
+select * from alter_varchar_1 order by key;
 
 -- add varchar column
 alter table alter_varchar_1 add columns (key2 int, value2 varchar(10));
-select * from alter_varchar_1;
+select * from alter_varchar_1 order by key;
 
 insert overwrite table alter_varchar_1
-  select key, value, key, value from src limit 5;
-select * from alter_varchar_1;
+  select key, value, key, value from src order by key limit 5;
+select * from alter_varchar_1 order by key;
 
 drop table alter_varchar_1;

Modified: hive/branches/maven/ql/src/test/queries/clientpositive/ptf_register_tblfn.q
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/queries/clientpositive/ptf_register_tblfn.q?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/queries/clientpositive/ptf_register_tblfn.q (original)
+++ hive/branches/maven/ql/src/test/queries/clientpositive/ptf_register_tblfn.q Tue Oct 22 17:58:59 2013
@@ -12,12 +12,12 @@ FL_NUM string 
 
 LOAD DATA LOCAL INPATH '../../data/files/flights_tiny.txt' OVERWRITE INTO TABLE flights_tiny;
 
-create temporary function npathtest as 'org.apache.hadoop.hive.ql.udf.ptf.NPath$NPathResolver';
+create temporary function matchpathtest as 'org.apache.hadoop.hive.ql.udf.ptf.MatchPath$MatchPathResolver';
 
 
--- 1. basic Npath test
+-- 1. basic Matchpath test
 select origin_city_name, fl_num, year, month, day_of_month, sz, tpath 
-from npathtest(on 
+from matchpathtest(on 
         flights_tiny 
         distribute by fl_num 
         sort by year, month, day_of_month  
@@ -26,4 +26,4 @@ from npathtest(on 
     arg4('origin_city_name, fl_num, year, month, day_of_month, size(tpath) as sz, tpath[0].day_of_month as tpath') 
    );
 
-drop temporary function npathtest;
+drop temporary function matchpathtest;

Modified: hive/branches/maven/ql/src/test/queries/clientpositive/varchar_1.q
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/queries/clientpositive/varchar_1.q?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/queries/clientpositive/varchar_1.q (original)
+++ hive/branches/maven/ql/src/test/queries/clientpositive/varchar_1.q Tue Oct 22 17:58:59 2013
@@ -6,27 +6,27 @@ create table varchar1_1 (key string, val
 
 -- load from file
 load data local inpath '../../data/files/srcbucket0.txt' overwrite into table varchar1;
-select * from varchar1 limit 2;
+select * from varchar1 order by key, value limit 2;
 
 -- insert overwrite, from same/different length varchar
 insert overwrite table varchar1
-  select cast(key as varchar(10)), cast(value as varchar(15)) from src limit 2;
-select key, value from varchar1;
+  select cast(key as varchar(10)), cast(value as varchar(15)) from src order by key, value limit 2;
+select key, value from varchar1 order by key, value;
 
 -- insert overwrite, from string
 insert overwrite table varchar1
-  select key, value from src limit 2;
-select key, value from varchar1;
+  select key, value from src order by key, value limit 2;
+select key, value from varchar1 order by key, value;
 
 -- insert string from varchar
 insert overwrite table varchar1_1
-  select key, value from varchar1 limit 2;
-select key, value from varchar1_1;
+  select key, value from varchar1 order by key, value limit 2;
+select key, value from varchar1_1 order by key, value;
 
 -- respect string length
 insert overwrite table varchar1 
-  select key, cast(value as varchar(3)) from src limit 2;
-select key, value from varchar1;
+  select key, cast(value as varchar(3)) from src order by key, value limit 2;
+select key, value from varchar1 order by key, value;
 
 drop table varchar1;
 drop table varchar1_1;

Modified: hive/branches/maven/ql/src/test/queries/clientpositive/varchar_nested_types.q
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/queries/clientpositive/varchar_nested_types.q?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/queries/clientpositive/varchar_nested_types.q (original)
+++ hive/branches/maven/ql/src/test/queries/clientpositive/varchar_nested_types.q Tue Oct 22 17:58:59 2013
@@ -7,7 +7,7 @@ drop table varchar_nested_view;
 
 create table varchar_nested_1 (key int, value varchar(20));
 insert overwrite table varchar_nested_1
-  select key, value from src limit 5;
+  select key, value from src order by key limit 1;
 
 -- arrays
 create table varchar_nested_array (c1 array<varchar(20)>);

Modified: hive/branches/maven/ql/src/test/queries/clientpositive/varchar_udf1.q
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/queries/clientpositive/varchar_udf1.q?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/queries/clientpositive/varchar_udf1.q (original)
+++ hive/branches/maven/ql/src/test/queries/clientpositive/varchar_udf1.q Tue Oct 22 17:58:59 2013
@@ -2,7 +2,7 @@ drop table varchar_udf_1;
 
 create table varchar_udf_1 (c1 string, c2 string, c3 varchar(10), c4 varchar(20));
 insert overwrite table varchar_udf_1
-  select key, value, key, value from src limit 5;
+  select key, value, key, value from src where key = '238' limit 1;
 
 -- UDFs with varchar support
 select 

Modified: hive/branches/maven/ql/src/test/queries/clientpositive/vectorization_short_regress.q
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/queries/clientpositive/vectorization_short_regress.q?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/queries/clientpositive/vectorization_short_regress.q (original)
+++ hive/branches/maven/ql/src/test/queries/clientpositive/vectorization_short_regress.q Tue Oct 22 17:58:59 2013
@@ -104,7 +104,7 @@ WHERE  ((762 = cbigint)
 -- TargetTypeClasses: Long, Bool, Double, String, Timestamp
 -- Functions: Max, VarP, StDevP, Avg, Min, StDev, Var
 -- ArithmeticOps: Divide, Multiply, Remainder, Subtract
--- FilterOps: LessThan, LessThanOrEqual, GreaterThan, GreaterThanOrEqual, Like
+-- FilterOps: LessThan, LessThanOrEqual, GreaterThan, GreaterThanOrEqual, Like, RLike
 -- GroupBy: NoGroupByProjectAggs
 EXPLAIN SELECT MAX(cint),
        (MAX(cint) / -3728),
@@ -135,7 +135,7 @@ WHERE  (((cbigint <= 197)
         OR ((cdouble >= -26.28)
             AND (csmallint > cdouble))
         OR ((ctinyint > cfloat)
-            AND (cstring1 LIKE '%ss%'))
+            AND (cstring1 RLIKE '.*ss.*'))
            OR ((cfloat > 79.553)
                AND (cstring2 LIKE '10%')));
 SELECT MAX(cint),
@@ -167,7 +167,7 @@ WHERE  (((cbigint <= 197)
         OR ((cdouble >= -26.28)
             AND (csmallint > cdouble))
         OR ((ctinyint > cfloat)
-            AND (cstring1 LIKE '%ss%'))
+            AND (cstring1 RLIKE '.*ss.*'))
            OR ((cfloat > 79.553)
                AND (cstring2 LIKE '10%')));
 
@@ -290,7 +290,7 @@ WHERE  (((ctimestamp2 <= ctimestamp1)
 -- TargetTypeClasses: Timestamp, String, Long, Double, Bool
 -- Functions: Max, Avg, Min, Var, StDev, Count, StDevP, Sum
 -- ArithmeticOps: Multiply, Subtract, Add, Divide
--- FilterOps: Like, NotEqual, LessThan, GreaterThanOrEqual, GreaterThan
+-- FilterOps: Like, NotEqual, LessThan, GreaterThanOrEqual, GreaterThan, RLike
 -- GroupBy: NoGroupByProjectColumns
 EXPLAIN SELECT cint,
        cdouble,
@@ -316,7 +316,7 @@ EXPLAIN SELECT cint,
        (-(ctinyint)),
        (79.553 / ctinyint)
 FROM   alltypesorc
-WHERE  (((cstring1 LIKE 'a%')
+WHERE  (((cstring1 RLIKE 'a.*')
          AND (cstring2 LIKE '%ss%'))
         OR ((1 != cboolean2)
             AND ((csmallint < 79.553)
@@ -349,7 +349,7 @@ SELECT cint,
        (-(ctinyint)),
        (79.553 / ctinyint)
 FROM   alltypesorc
-WHERE  (((cstring1 LIKE 'a%')
+WHERE  (((cstring1 RLIKE 'a.*')
          AND (cstring2 LIKE '%ss%'))
         OR ((1 != cboolean2)
             AND ((csmallint < 79.553)
@@ -664,7 +664,7 @@ ORDER BY cdouble;
 -- TargetTypeClasses: Bool, Timestamp, String, Double, Long
 -- Functions: StDevP, Avg, Count, Min, Var, VarP, Sum
 -- ArithmeticOps: Multiply, Subtract, Add, Divide, Remainder
--- FilterOps: NotEqual, LessThan, Like, Equal
+-- FilterOps: NotEqual, LessThan, Like, Equal, RLike
 -- GroupBy: GroupBy
 EXPLAIN SELECT   ctimestamp1,
          cstring1,
@@ -709,7 +709,7 @@ FROM     alltypesorc
 WHERE    (((ctimestamp1 != 0))
           AND ((((-257 != ctinyint)
                  AND (cboolean2 IS NOT NULL))
-                AND ((cstring1 LIKE '%ss')
+                AND ((cstring1 RLIKE '.*ss')
                      AND (-10669 < ctimestamp1)))
                OR (ctimestamp2 = -10669)
                OR ((ctimestamp1 < 0)
@@ -761,7 +761,7 @@ FROM     alltypesorc
 WHERE    (((ctimestamp1 != 0))
           AND ((((-257 != ctinyint)
                  AND (cboolean2 IS NOT NULL))
-                AND ((cstring1 LIKE '%ss')
+                AND ((cstring1 RLIKE '.*ss')
                      AND (-10669 < ctimestamp1)))
                OR (ctimestamp2 = -10669)
                OR ((ctimestamp1 < 0)
@@ -774,7 +774,7 @@ GROUP BY ctimestamp1, cstring1;
 -- TargetTypeClasses: Double, Long, String, Timestamp, Bool
 -- Functions: Max, Sum, Var, Avg, Min, VarP, StDev, StDevP
 -- ArithmeticOps: Divide, Subtract, Remainder, Add, Multiply
--- FilterOps: GreaterThan, LessThanOrEqual, Equal, LessThan, GreaterThanOrEqual, NotEqual, Like
+-- FilterOps: GreaterThan, LessThanOrEqual, Equal, LessThan, GreaterThanOrEqual, NotEqual, Like, RLike
 -- GroupBy: GroupBy
 EXPLAIN SELECT   cboolean1,
          MAX(cfloat),
@@ -810,7 +810,7 @@ WHERE    (((cboolean1 IS NOT NULL))
                OR ((cint >= -257)
                    AND ((cstring1 IS NOT NULL)
                         AND (cboolean1 >= 1)))
-               OR (cstring2 LIKE 'b')
+               OR (cstring2 RLIKE 'b')
                   OR ((csmallint >= ctinyint)
                       AND (ctimestamp2 IS NULL))))
 GROUP BY cboolean1
@@ -849,7 +849,7 @@ WHERE    (((cboolean1 IS NOT NULL))
                OR ((cint >= -257)
                    AND ((cstring1 IS NOT NULL)
                         AND (cboolean1 >= 1)))
-               OR (cstring2 LIKE 'b')
+               OR (cstring2 RLIKE 'b')
                   OR ((csmallint >= ctinyint)
                       AND (ctimestamp2 IS NULL))))
 GROUP BY cboolean1

Modified: hive/branches/maven/ql/src/test/results/clientnegative/alter_partition_coltype_2columns.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/alter_partition_coltype_2columns.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/alter_partition_coltype_2columns.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/alter_partition_coltype_2columns.q.out Tue Oct 22 17:58:59 2013
@@ -34,4 +34,3 @@ ts                  	string             
 dt                  	string              	None                
 ts                  	string              	None                
 FAILED: ParseException line 4:50 mismatched input ',' expecting ) near 'int' in alter table partition statement
-

Modified: hive/branches/maven/ql/src/test/results/clientnegative/alter_partition_coltype_invalidtype.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/alter_partition_coltype_invalidtype.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/alter_partition_coltype_invalidtype.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/alter_partition_coltype_invalidtype.q.out Tue Oct 22 17:58:59 2013
@@ -34,4 +34,3 @@ ts                  	string             
 dt                  	string              	None                
 ts                  	string              	None                
 FAILED: ParseException line 4:47 cannot recognize input near 'time' ')' '<EOF>' in column type
-

Modified: hive/branches/maven/ql/src/test/results/clientnegative/archive_partspec3.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/archive_partspec3.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/archive_partspec3.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/archive_partspec3.q.out Tue Oct 22 17:58:59 2013
@@ -24,4 +24,3 @@ POSTHOOK: Output: default@srcpart_archiv
 POSTHOOK: Lineage: srcpart_archived PARTITION(ds=2008-04-08,hr=12).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ]
 POSTHOOK: Lineage: srcpart_archived PARTITION(ds=2008-04-08,hr=12).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ]
 FAILED: ParseException line 3:48 cannot recognize input near ')' '<EOF>' '<EOF>' in archive statement
-

Modified: hive/branches/maven/ql/src/test/results/clientnegative/clusterbyorderby.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/clusterbyorderby.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/clusterbyorderby.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/clusterbyorderby.q.out Tue Oct 22 17:58:59 2013
@@ -1,2 +1 @@
 FAILED: ParseException line 5:0 missing EOF at 'ORDER' near 'tkey'
-

Modified: hive/branches/maven/ql/src/test/results/clientnegative/column_rename3.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/column_rename3.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/column_rename3.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/column_rename3.q.out Tue Oct 22 17:58:59 2013
@@ -1,2 +1 @@
 FAILED: ParseException line 1:30 cannot recognize input near '<EOF>' '<EOF>' '<EOF>' in column type
-

Modified: hive/branches/maven/ql/src/test/results/clientnegative/columnstats_partlvl_multiple_part_clause.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/columnstats_partlvl_multiple_part_clause.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/columnstats_partlvl_multiple_part_clause.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/columnstats_partlvl_multiple_part_clause.q.out Tue Oct 22 17:58:59 2013
@@ -52,4 +52,3 @@ POSTHOOK: type: LOAD
 POSTHOOK: Output: default@employee_part
 POSTHOOK: Output: default@employee_part@employeesalary=3000.0/country=UK
 FAILED: ParseException line 5:79 mismatched input 'partition' expecting KW_COMPUTE near ')' in analyze statement
-

Modified: hive/branches/maven/ql/src/test/results/clientnegative/create_or_replace_view6.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/create_or_replace_view6.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/create_or_replace_view6.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/create_or_replace_view6.q.out Tue Oct 22 17:58:59 2013
@@ -12,4 +12,3 @@ POSTHOOK: query: create view v partition
 POSTHOOK: type: CREATEVIEW
 POSTHOOK: Output: default@v
 FAILED: ParseException line 2:52 cannot recognize input near 'blah' '<EOF>' '<EOF>' in select clause
-

Modified: hive/branches/maven/ql/src/test/results/clientnegative/invalid_create_tbl2.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/invalid_create_tbl2.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/invalid_create_tbl2.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/invalid_create_tbl2.q.out Tue Oct 22 17:58:59 2013
@@ -1,2 +1 @@
 FAILED: ParseException line 1:7 cannot recognize input near 'create' 'tabl' 'tmp_zshao_22' in ddl statement
-

Modified: hive/branches/maven/ql/src/test/results/clientnegative/invalid_select_expression.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/invalid_select_expression.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/invalid_select_expression.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/invalid_select_expression.q.out Tue Oct 22 17:58:59 2013
@@ -1,2 +1 @@
 FAILED: ParseException line 1:32 cannot recognize input near '.' 'foo' '<EOF>' in expression specification
-

Modified: hive/branches/maven/ql/src/test/results/clientnegative/invalid_tbl_name.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/invalid_tbl_name.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/invalid_tbl_name.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/invalid_tbl_name.q.out Tue Oct 22 17:58:59 2013
@@ -1,2 +1 @@
 FAILED: ParseException line 1:20 cannot recognize input near 'invalid' '-' 'name' in table name
-

Modified: hive/branches/maven/ql/src/test/results/clientnegative/invalid_varchar_length_1.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/invalid_varchar_length_1.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/invalid_varchar_length_1.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/invalid_varchar_length_1.q.out Tue Oct 22 17:58:59 2013
@@ -2,4 +2,4 @@ PREHOOK: query: drop table if exists inv
 PREHOOK: type: DROPTABLE
 POSTHOOK: query: drop table if exists invalid_varchar_length_1
 POSTHOOK: type: DROPTABLE
-FAILED: SemanticException org.apache.hadoop.hive.serde2.SerDeException: Length 1000000 exceeds max varchar length of 65535
+FAILED: RuntimeException Varchar length 1000000 out of allowed range [1, 65535]

Modified: hive/branches/maven/ql/src/test/results/clientnegative/invalid_varchar_length_2.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/invalid_varchar_length_2.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/invalid_varchar_length_2.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/invalid_varchar_length_2.q.out Tue Oct 22 17:58:59 2013
@@ -1 +1 @@
-FAILED: RuntimeException Error creating type parameters for varchar(100000): org.apache.hadoop.hive.serde2.SerDeException: Error creating type params for varchar: org.apache.hadoop.hive.serde2.SerDeException: Length 100000 exceeds max varchar length of 65535
+FAILED: RuntimeException Varchar length 100000 out of allowed range [1, 65535]

Modified: hive/branches/maven/ql/src/test/results/clientnegative/invalid_varchar_length_3.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/invalid_varchar_length_3.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/invalid_varchar_length_3.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/invalid_varchar_length_3.q.out Tue Oct 22 17:58:59 2013
@@ -2,4 +2,4 @@ PREHOOK: query: drop table if exists inv
 PREHOOK: type: DROPTABLE
 POSTHOOK: query: drop table if exists invalid_varchar_length_3
 POSTHOOK: type: DROPTABLE
-FAILED: SemanticException org.apache.hadoop.hive.serde2.SerDeException: VARCHAR length must be positive
+FAILED: RuntimeException Varchar length 0 out of allowed range [1, 65535]

Modified: hive/branches/maven/ql/src/test/results/clientnegative/lateral_view_join.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/lateral_view_join.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/lateral_view_join.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/lateral_view_join.q.out Tue Oct 22 17:58:59 2013
@@ -1,2 +1 @@
 FAILED: ParseException line 1:62 missing EOF at 'myTable' near 'AS'
-

Modified: hive/branches/maven/ql/src/test/results/clientnegative/ptf_negative_DistributeByOrderBy.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/ptf_negative_DistributeByOrderBy.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/ptf_negative_DistributeByOrderBy.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/ptf_negative_DistributeByOrderBy.q.out Tue Oct 22 17:58:59 2013
@@ -28,4 +28,3 @@ POSTHOOK: query: CREATE TABLE part( 
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: default@part
 FAILED: ParseException line 5:46 missing ) at 'order' near 'p_mfgr' in table name
-

Modified: hive/branches/maven/ql/src/test/results/clientnegative/ptf_negative_PartitionBySortBy.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/ptf_negative_PartitionBySortBy.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/ptf_negative_PartitionBySortBy.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/ptf_negative_PartitionBySortBy.q.out Tue Oct 22 17:58:59 2013
@@ -28,4 +28,3 @@ POSTHOOK: query: CREATE TABLE part( 
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: default@part
 FAILED: ParseException line 5:45 missing ) at 'sort' near 'p_mfgr' in table name
-

Modified: hive/branches/maven/ql/src/test/results/clientnegative/ptf_window_boundaries.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/ptf_window_boundaries.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/ptf_window_boundaries.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/ptf_window_boundaries.q.out Tue Oct 22 17:58:59 2013
@@ -26,4 +26,3 @@ CREATE TABLE part( 
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: default@part
 FAILED: ParseException line 4:44 mismatched input 'following' expecting KW_PRECEDING near 'unbounded' in windowframestartboundary
-

Modified: hive/branches/maven/ql/src/test/results/clientnegative/ptf_window_boundaries2.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/ptf_window_boundaries2.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/ptf_window_boundaries2.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/ptf_window_boundaries2.q.out Tue Oct 22 17:58:59 2013
@@ -26,4 +26,3 @@ CREATE TABLE part( 
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: default@part
 FAILED: ParseException line 4:45 mismatched input 'following' expecting KW_PRECEDING near 'unbounded' in windowframestartboundary
-

Modified: hive/branches/maven/ql/src/test/results/clientnegative/select_charliteral.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/select_charliteral.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/select_charliteral.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/select_charliteral.q.out Tue Oct 22 17:58:59 2013
@@ -1,3 +1,2 @@
 FAILED: ParseException line 3:11 missing \' at ',' near '_c17' in character string literal
 line 4:0 mismatched input '<EOF>' expecting \' near '_c17' in character string literal
-

Modified: hive/branches/maven/ql/src/test/results/clientnegative/select_udtf_alias.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/select_udtf_alias.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/select_udtf_alias.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/select_udtf_alias.q.out Tue Oct 22 17:58:59 2013
@@ -1,2 +1 @@
 FAILED: ParseException line 3:49 missing FROM at 'LIMIT' near ')' in table name
-

Modified: hive/branches/maven/ql/src/test/results/clientnegative/set_table_property.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/set_table_property.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/set_table_property.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/set_table_property.q.out Tue Oct 22 17:58:59 2013
@@ -4,4 +4,3 @@ POSTHOOK: query: create table testTable(
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: default@testTable
 FAILED: ParseException line 4:45 missing StringLiteral at ')' near '<EOF>'
-

Modified: hive/branches/maven/ql/src/test/results/clientnegative/show_columns2.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/show_columns2.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/show_columns2.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/show_columns2.q.out Tue Oct 22 17:58:59 2013
@@ -1,2 +1 @@
 FAILED: ParseException line 1:29 extraneous input 'foo' expecting EOF near '<EOF>'
-

Modified: hive/branches/maven/ql/src/test/results/clientnegative/show_tables_bad1.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/show_tables_bad1.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/show_tables_bad1.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/show_tables_bad1.q.out Tue Oct 22 17:58:59 2013
@@ -1,2 +1 @@
 FAILED: ParseException line 1:12 extraneous input 'JOIN' expecting EOF near '<EOF>'
-

Modified: hive/branches/maven/ql/src/test/results/clientnegative/show_tables_bad2.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/show_tables_bad2.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/show_tables_bad2.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/show_tables_bad2.q.out Tue Oct 22 17:58:59 2013
@@ -1,2 +1 @@
 FAILED: ParseException line 1:32 extraneous input 'b' expecting EOF near '<EOF>'
-

Modified: hive/branches/maven/ql/src/test/results/clientnegative/uniquejoin3.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientnegative/uniquejoin3.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientnegative/uniquejoin3.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientnegative/uniquejoin3.q.out Tue Oct 22 17:58:59 2013
@@ -1,2 +1 @@
 FAILED: ParseException line 1:54 required (...)+ loop did not match anything at input 'JOIN' in statement
-

Modified: hive/branches/maven/ql/src/test/results/clientpositive/alter_varchar1.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientpositive/alter_varchar1.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientpositive/alter_varchar1.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientpositive/alter_varchar1.q.out Tue Oct 22 17:58:59 2013
@@ -8,32 +8,32 @@ POSTHOOK: query: create table alter_varc
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: default@alter_varchar_1
 PREHOOK: query: insert overwrite table alter_varchar_1
-  select key, value from src limit 5
+  select key, value from src order by key limit 5
 PREHOOK: type: QUERY
 PREHOOK: Input: default@src
 PREHOOK: Output: default@alter_varchar_1
 POSTHOOK: query: insert overwrite table alter_varchar_1
-  select key, value from src limit 5
+  select key, value from src order by key limit 5
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@src
 POSTHOOK: Output: default@alter_varchar_1
 POSTHOOK: Lineage: alter_varchar_1.key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ]
 POSTHOOK: Lineage: alter_varchar_1.value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ]
-PREHOOK: query: select * from alter_varchar_1
+PREHOOK: query: select * from alter_varchar_1 order by key
 PREHOOK: type: QUERY
 PREHOOK: Input: default@alter_varchar_1
 #### A masked pattern was here ####
-POSTHOOK: query: select * from alter_varchar_1
+POSTHOOK: query: select * from alter_varchar_1 order by key
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alter_varchar_1
 #### A masked pattern was here ####
 POSTHOOK: Lineage: alter_varchar_1.key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ]
 POSTHOOK: Lineage: alter_varchar_1.value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ]
-238	val_238
-86	val_86
-311	val_311
-27	val_27
-165	val_165
+0	val_0
+0	val_0
+0	val_0
+10	val_10
+100	val_100
 PREHOOK: query: -- change column to varchar
 alter table alter_varchar_1 change column value value varchar(20)
 PREHOOK: type: ALTERTABLE_RENAMECOL
@@ -47,22 +47,22 @@ POSTHOOK: Output: default@alter_varchar_
 POSTHOOK: Lineage: alter_varchar_1.key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ]
 POSTHOOK: Lineage: alter_varchar_1.value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ]
 PREHOOK: query: -- contents should still look the same
-select * from alter_varchar_1
+select * from alter_varchar_1 order by key
 PREHOOK: type: QUERY
 PREHOOK: Input: default@alter_varchar_1
 #### A masked pattern was here ####
 POSTHOOK: query: -- contents should still look the same
-select * from alter_varchar_1
+select * from alter_varchar_1 order by key
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alter_varchar_1
 #### A masked pattern was here ####
 POSTHOOK: Lineage: alter_varchar_1.key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ]
 POSTHOOK: Lineage: alter_varchar_1.value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ]
-238	val_238
-86	val_86
-311	val_311
-27	val_27
-165	val_165
+0	val_0
+0	val_0
+0	val_0
+10	val_10
+100	val_100
 PREHOOK: query: -- change column to smaller varchar
 alter table alter_varchar_1 change column value value varchar(3)
 PREHOOK: type: ALTERTABLE_RENAMECOL
@@ -76,22 +76,22 @@ POSTHOOK: Output: default@alter_varchar_
 POSTHOOK: Lineage: alter_varchar_1.key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ]
 POSTHOOK: Lineage: alter_varchar_1.value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ]
 PREHOOK: query: -- value column should be truncated now
-select * from alter_varchar_1
+select * from alter_varchar_1 order by key
 PREHOOK: type: QUERY
 PREHOOK: Input: default@alter_varchar_1
 #### A masked pattern was here ####
 POSTHOOK: query: -- value column should be truncated now
-select * from alter_varchar_1
+select * from alter_varchar_1 order by key
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alter_varchar_1
 #### A masked pattern was here ####
 POSTHOOK: Lineage: alter_varchar_1.key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ]
 POSTHOOK: Lineage: alter_varchar_1.value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ]
-238	val
-86	val
-311	val
-27	val
-165	val
+0	val
+0	val
+0	val
+10	val
+100	val
 PREHOOK: query: -- change back to bigger varchar
 alter table alter_varchar_1 change column value value varchar(20)
 PREHOOK: type: ALTERTABLE_RENAMECOL
@@ -105,22 +105,22 @@ POSTHOOK: Output: default@alter_varchar_
 POSTHOOK: Lineage: alter_varchar_1.key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ]
 POSTHOOK: Lineage: alter_varchar_1.value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ]
 PREHOOK: query: -- column values should be full size again
-select * from alter_varchar_1
+select * from alter_varchar_1 order by key
 PREHOOK: type: QUERY
 PREHOOK: Input: default@alter_varchar_1
 #### A masked pattern was here ####
 POSTHOOK: query: -- column values should be full size again
-select * from alter_varchar_1
+select * from alter_varchar_1 order by key
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alter_varchar_1
 #### A masked pattern was here ####
 POSTHOOK: Lineage: alter_varchar_1.key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ]
 POSTHOOK: Lineage: alter_varchar_1.value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ]
-238	val_238
-86	val_86
-311	val_311
-27	val_27
-165	val_165
+0	val_0
+0	val_0
+0	val_0
+10	val_10
+100	val_100
 PREHOOK: query: -- add varchar column
 alter table alter_varchar_1 add columns (key2 int, value2 varchar(10))
 PREHOOK: type: ALTERTABLE_ADDCOLS
@@ -133,28 +133,28 @@ POSTHOOK: Input: default@alter_varchar_1
 POSTHOOK: Output: default@alter_varchar_1
 POSTHOOK: Lineage: alter_varchar_1.key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ]
 POSTHOOK: Lineage: alter_varchar_1.value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ]
-PREHOOK: query: select * from alter_varchar_1
+PREHOOK: query: select * from alter_varchar_1 order by key
 PREHOOK: type: QUERY
 PREHOOK: Input: default@alter_varchar_1
 #### A masked pattern was here ####
-POSTHOOK: query: select * from alter_varchar_1
+POSTHOOK: query: select * from alter_varchar_1 order by key
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alter_varchar_1
 #### A masked pattern was here ####
 POSTHOOK: Lineage: alter_varchar_1.key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ]
 POSTHOOK: Lineage: alter_varchar_1.value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ]
-238	val_238	NULL	NULL
-86	val_86	NULL	NULL
-311	val_311	NULL	NULL
-27	val_27	NULL	NULL
-165	val_165	NULL	NULL
+0	val_0	NULL	NULL
+0	val_0	NULL	NULL
+0	val_0	NULL	NULL
+10	val_10	NULL	NULL
+100	val_100	NULL	NULL
 PREHOOK: query: insert overwrite table alter_varchar_1
-  select key, value, key, value from src limit 5
+  select key, value, key, value from src order by key limit 5
 PREHOOK: type: QUERY
 PREHOOK: Input: default@src
 PREHOOK: Output: default@alter_varchar_1
 POSTHOOK: query: insert overwrite table alter_varchar_1
-  select key, value, key, value from src limit 5
+  select key, value, key, value from src order by key limit 5
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@src
 POSTHOOK: Output: default@alter_varchar_1
@@ -164,11 +164,11 @@ POSTHOOK: Lineage: alter_varchar_1.key2 
 POSTHOOK: Lineage: alter_varchar_1.value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ]
 POSTHOOK: Lineage: alter_varchar_1.value EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ]
 POSTHOOK: Lineage: alter_varchar_1.value2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ]
-PREHOOK: query: select * from alter_varchar_1
+PREHOOK: query: select * from alter_varchar_1 order by key
 PREHOOK: type: QUERY
 PREHOOK: Input: default@alter_varchar_1
 #### A masked pattern was here ####
-POSTHOOK: query: select * from alter_varchar_1
+POSTHOOK: query: select * from alter_varchar_1 order by key
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alter_varchar_1
 #### A masked pattern was here ####
@@ -178,11 +178,11 @@ POSTHOOK: Lineage: alter_varchar_1.key2 
 POSTHOOK: Lineage: alter_varchar_1.value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ]
 POSTHOOK: Lineage: alter_varchar_1.value EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ]
 POSTHOOK: Lineage: alter_varchar_1.value2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ]
-238	val_238	238	val_238
-86	val_86	86	val_86
-311	val_311	311	val_311
-27	val_27	27	val_27
-165	val_165	165	val_165
+0	val_0	0	val_0
+0	val_0	0	val_0
+0	val_0	0	val_0
+10	val_10	10	val_10
+100	val_100	100	val_100
 PREHOOK: query: drop table alter_varchar_1
 PREHOOK: type: DROPTABLE
 PREHOOK: Input: default@alter_varchar_1

Modified: hive/branches/maven/ql/src/test/results/clientpositive/ptf_register_tblfn.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientpositive/ptf_register_tblfn.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientpositive/ptf_register_tblfn.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientpositive/ptf_register_tblfn.q.out Tue Oct 22 17:58:59 2013
@@ -29,13 +29,13 @@ PREHOOK: Output: default@flights_tiny
 POSTHOOK: query: LOAD DATA LOCAL INPATH '../../data/files/flights_tiny.txt' OVERWRITE INTO TABLE flights_tiny
 POSTHOOK: type: LOAD
 POSTHOOK: Output: default@flights_tiny
-PREHOOK: query: create temporary function npathtest as 'org.apache.hadoop.hive.ql.udf.ptf.NPath$NPathResolver'
+PREHOOK: query: create temporary function matchpathtest as 'org.apache.hadoop.hive.ql.udf.ptf.MatchPath$MatchPathResolver'
 PREHOOK: type: CREATEFUNCTION
-POSTHOOK: query: create temporary function npathtest as 'org.apache.hadoop.hive.ql.udf.ptf.NPath$NPathResolver'
+POSTHOOK: query: create temporary function matchpathtest as 'org.apache.hadoop.hive.ql.udf.ptf.MatchPath$MatchPathResolver'
 POSTHOOK: type: CREATEFUNCTION
-PREHOOK: query: -- 1. basic Npath test
+PREHOOK: query: -- 1. basic Matchpath test
 select origin_city_name, fl_num, year, month, day_of_month, sz, tpath 
-from npathtest(on 
+from matchpathtest(on 
         flights_tiny 
         distribute by fl_num 
         sort by year, month, day_of_month  
@@ -46,9 +46,9 @@ from npathtest(on 
 PREHOOK: type: QUERY
 PREHOOK: Input: default@flights_tiny
 #### A masked pattern was here ####
-POSTHOOK: query: -- 1. basic Npath test
+POSTHOOK: query: -- 1. basic Matchpath test
 select origin_city_name, fl_num, year, month, day_of_month, sz, tpath 
-from npathtest(on 
+from matchpathtest(on 
         flights_tiny 
         distribute by fl_num 
         sort by year, month, day_of_month  
@@ -75,7 +75,7 @@ Washington	7291	2010	10	27	2	27
 Chicago	897	2010	10	20	4	20
 Chicago	897	2010	10	21	3	21
 Chicago	897	2010	10	22	2	22
-PREHOOK: query: drop temporary function npathtest
+PREHOOK: query: drop temporary function matchpathtest
 PREHOOK: type: DROPFUNCTION
-POSTHOOK: query: drop temporary function npathtest
+POSTHOOK: query: drop temporary function matchpathtest
 POSTHOOK: type: DROPFUNCTION

Modified: hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_alter.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_alter.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_alter.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_alter.q.out Tue Oct 22 17:58:59 2013
@@ -15,9 +15,9 @@ PREHOOK: Input: default@tmp_showcrt1
 POSTHOOK: query: SHOW CREATE TABLE tmp_showcrt1
 POSTHOOK: type: SHOW_CREATETABLE
 POSTHOOK: Input: default@tmp_showcrt1
-CREATE EXTERNAL TABLE tmp_showcrt1(
-  key smallint, 
-  value float)
+CREATE EXTERNAL TABLE `tmp_showcrt1`(
+  `key` smallint, 
+  `value` float)
 CLUSTERED BY ( 
   key) 
 SORTED BY ( 
@@ -49,9 +49,9 @@ PREHOOK: Input: default@tmp_showcrt1
 POSTHOOK: query: SHOW CREATE TABLE tmp_showcrt1
 POSTHOOK: type: SHOW_CREATETABLE
 POSTHOOK: Input: default@tmp_showcrt1
-CREATE  TABLE tmp_showcrt1(
-  key smallint, 
-  value float)
+CREATE  TABLE `tmp_showcrt1`(
+  `key` smallint, 
+  `value` float)
 COMMENT 'temporary table'
 CLUSTERED BY ( 
   key) 
@@ -85,9 +85,9 @@ PREHOOK: Input: default@tmp_showcrt1
 POSTHOOK: query: SHOW CREATE TABLE tmp_showcrt1
 POSTHOOK: type: SHOW_CREATETABLE
 POSTHOOK: Input: default@tmp_showcrt1
-CREATE EXTERNAL TABLE tmp_showcrt1(
-  key smallint, 
-  value float)
+CREATE EXTERNAL TABLE `tmp_showcrt1`(
+  `key` smallint, 
+  `value` float)
 COMMENT 'changed comment'
 CLUSTERED BY ( 
   key) 
@@ -120,9 +120,9 @@ PREHOOK: Input: default@tmp_showcrt1
 POSTHOOK: query: SHOW CREATE TABLE tmp_showcrt1
 POSTHOOK: type: SHOW_CREATETABLE
 POSTHOOK: Input: default@tmp_showcrt1
-CREATE EXTERNAL TABLE tmp_showcrt1(
-  key smallint, 
-  value float)
+CREATE EXTERNAL TABLE `tmp_showcrt1`(
+  `key` smallint, 
+  `value` float)
 COMMENT 'changed comment'
 CLUSTERED BY ( 
   key) 
@@ -155,9 +155,9 @@ PREHOOK: Input: default@tmp_showcrt1
 POSTHOOK: query: SHOW CREATE TABLE tmp_showcrt1
 POSTHOOK: type: SHOW_CREATETABLE
 POSTHOOK: Input: default@tmp_showcrt1
-CREATE EXTERNAL TABLE tmp_showcrt1(
-  key smallint, 
-  value float)
+CREATE EXTERNAL TABLE `tmp_showcrt1`(
+  `key` smallint, 
+  `value` float)
 COMMENT 'changed comment'
 CLUSTERED BY ( 
   key) 

Modified: hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_db_table.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_db_table.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_db_table.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_db_table.q.out Tue Oct 22 17:58:59 2013
@@ -27,9 +27,9 @@ PREHOOK: Input: tmp_feng@tmp_showcrt
 POSTHOOK: query: SHOW CREATE TABLE tmp_feng.tmp_showcrt
 POSTHOOK: type: SHOW_CREATETABLE
 POSTHOOK: Input: tmp_feng@tmp_showcrt
-CREATE  TABLE tmp_feng.tmp_showcrt(
-  key string, 
-  value int)
+CREATE  TABLE `tmp_feng.tmp_showcrt`(
+  `key` string, 
+  `value` int)
 ROW FORMAT SERDE 
   'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' 
 STORED AS INPUTFORMAT 

Modified: hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_delimited.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_delimited.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_delimited.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_delimited.q.out Tue Oct 22 17:58:59 2013
@@ -19,10 +19,10 @@ PREHOOK: Input: default@tmp_showcrt1
 POSTHOOK: query: SHOW CREATE TABLE tmp_showcrt1
 POSTHOOK: type: SHOW_CREATETABLE
 POSTHOOK: Input: default@tmp_showcrt1
-CREATE  TABLE tmp_showcrt1(
-  key int, 
-  value string, 
-  newvalue bigint)
+CREATE  TABLE `tmp_showcrt1`(
+  `key` int, 
+  `value` string, 
+  `newvalue` bigint)
 ROW FORMAT DELIMITED 
   FIELDS TERMINATED BY ',' 
   COLLECTION ITEMS TERMINATED BY '|' 

Modified: hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_partitioned.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_partitioned.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_partitioned.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_partitioned.q.out Tue Oct 22 17:58:59 2013
@@ -17,12 +17,12 @@ PREHOOK: Input: default@tmp_showcrt1
 POSTHOOK: query: SHOW CREATE TABLE tmp_showcrt1
 POSTHOOK: type: SHOW_CREATETABLE
 POSTHOOK: Input: default@tmp_showcrt1
-CREATE EXTERNAL TABLE tmp_showcrt1(
-  key string, 
-  newvalue boolean COMMENT 'a new value')
+CREATE EXTERNAL TABLE `tmp_showcrt1`(
+  `key` string, 
+  `newvalue` boolean COMMENT 'a new value')
 COMMENT 'temporary table'
 PARTITIONED BY ( 
-  value bigint COMMENT 'some value')
+  `value` bigint COMMENT 'some value')
 ROW FORMAT SERDE 
   'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' 
 STORED AS INPUTFORMAT 

Modified: hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_serde.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_serde.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_serde.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_serde.q.out Tue Oct 22 17:58:59 2013
@@ -23,10 +23,10 @@ PREHOOK: Input: default@tmp_showcrt1
 POSTHOOK: query: SHOW CREATE TABLE tmp_showcrt1
 POSTHOOK: type: SHOW_CREATETABLE
 POSTHOOK: Input: default@tmp_showcrt1
-CREATE  TABLE tmp_showcrt1(
-  key int, 
-  value string, 
-  newvalue bigint)
+CREATE  TABLE `tmp_showcrt1`(
+  `key` int, 
+  `value` string, 
+  `newvalue` bigint)
 COMMENT 'temporary table'
 ROW FORMAT SERDE 
   'org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' 
@@ -65,9 +65,9 @@ PREHOOK: Input: default@tmp_showcrt1
 POSTHOOK: query: SHOW CREATE TABLE tmp_showcrt1
 POSTHOOK: type: SHOW_CREATETABLE
 POSTHOOK: Input: default@tmp_showcrt1
-CREATE EXTERNAL TABLE tmp_showcrt1(
-  key string, 
-  value boolean)
+CREATE EXTERNAL TABLE `tmp_showcrt1`(
+  `key` string, 
+  `value` boolean)
 ROW FORMAT SERDE 
   'org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' 
 STORED BY 

Modified: hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_view.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_view.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_view.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientpositive/show_create_table_view.q.out Tue Oct 22 17:58:59 2013
@@ -13,7 +13,7 @@ PREHOOK: Input: default@tmp_copy_src
 POSTHOOK: query: SHOW CREATE TABLE tmp_copy_src
 POSTHOOK: type: SHOW_CREATETABLE
 POSTHOOK: Input: default@tmp_copy_src
-CREATE VIEW tmp_copy_src AS SELECT `src`.`key`, `src`.`value` FROM `default`.`src`
+CREATE VIEW `tmp_copy_src` AS SELECT `src`.`key`, `src`.`value` FROM `default`.`src`
 PREHOOK: query: DROP VIEW tmp_copy_src
 PREHOOK: type: DROPVIEW
 PREHOOK: Input: default@tmp_copy_src

Modified: hive/branches/maven/ql/src/test/results/clientpositive/show_functions.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientpositive/show_functions.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientpositive/show_functions.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientpositive/show_functions.q.out Tue Oct 22 17:58:59 2013
@@ -107,6 +107,7 @@ ltrim
 map
 map_keys
 map_values
+matchpath
 max
 min
 minute
@@ -117,7 +118,6 @@ ngrams
 noop
 noopwithmap
 not
-npath
 ntile
 nvl
 or
@@ -128,6 +128,7 @@ percentile
 percentile_approx
 pi
 pmod
+posexplode
 positive
 pow
 power
@@ -242,6 +243,7 @@ negative
 ntile
 parse_url_tuple
 percentile
+posexplode
 positive
 regexp_replace
 reverse

Modified: hive/branches/maven/ql/src/test/results/clientpositive/varchar_1.q.out
URL: http://svn.apache.org/viewvc/hive/branches/maven/ql/src/test/results/clientpositive/varchar_1.q.out?rev=1534711&r1=1534710&r2=1534711&view=diff
==============================================================================
--- hive/branches/maven/ql/src/test/results/clientpositive/varchar_1.q.out (original)
+++ hive/branches/maven/ql/src/test/results/clientpositive/varchar_1.q.out Tue Oct 22 17:58:59 2013
@@ -24,51 +24,51 @@ POSTHOOK: query: -- load from file
 load data local inpath '../../data/files/srcbucket0.txt' overwrite into table varchar1
 POSTHOOK: type: LOAD
 POSTHOOK: Output: default@varchar1
-PREHOOK: query: select * from varchar1 limit 2
+PREHOOK: query: select * from varchar1 order by key, value limit 2
 PREHOOK: type: QUERY
 PREHOOK: Input: default@varchar1
 #### A masked pattern was here ####
-POSTHOOK: query: select * from varchar1 limit 2
+POSTHOOK: query: select * from varchar1 order by key, value limit 2
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@varchar1
 #### A masked pattern was here ####
-474	val_475
-62	val_63
+0	val_0
+0	val_0
 PREHOOK: query: -- insert overwrite, from same/different length varchar
 insert overwrite table varchar1
-  select cast(key as varchar(10)), cast(value as varchar(15)) from src limit 2
+  select cast(key as varchar(10)), cast(value as varchar(15)) from src order by key, value limit 2
 PREHOOK: type: QUERY
 PREHOOK: Input: default@src
 PREHOOK: Output: default@varchar1
 POSTHOOK: query: -- insert overwrite, from same/different length varchar
 insert overwrite table varchar1
-  select cast(key as varchar(10)), cast(value as varchar(15)) from src limit 2
+  select cast(key as varchar(10)), cast(value as varchar(15)) from src order by key, value limit 2
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@src
 POSTHOOK: Output: default@varchar1
 POSTHOOK: Lineage: varchar1.key EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ]
 POSTHOOK: Lineage: varchar1.value EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ]
-PREHOOK: query: select key, value from varchar1
+PREHOOK: query: select key, value from varchar1 order by key, value
 PREHOOK: type: QUERY
 PREHOOK: Input: default@varchar1
 #### A masked pattern was here ####
-POSTHOOK: query: select key, value from varchar1
+POSTHOOK: query: select key, value from varchar1 order by key, value
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@varchar1
 #### A masked pattern was here ####
 POSTHOOK: Lineage: varchar1.key EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ]
 POSTHOOK: Lineage: varchar1.value EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ]
-238	val_238
-86	val_86
+0	val_0
+0	val_0
 PREHOOK: query: -- insert overwrite, from string
 insert overwrite table varchar1
-  select key, value from src limit 2
+  select key, value from src order by key, value limit 2
 PREHOOK: type: QUERY
 PREHOOK: Input: default@src
 PREHOOK: Output: default@varchar1
 POSTHOOK: query: -- insert overwrite, from string
 insert overwrite table varchar1
-  select key, value from src limit 2
+  select key, value from src order by key, value limit 2
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@src
 POSTHOOK: Output: default@varchar1
@@ -76,11 +76,11 @@ POSTHOOK: Lineage: varchar1.key EXPRESSI
 POSTHOOK: Lineage: varchar1.key EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ]
 POSTHOOK: Lineage: varchar1.value EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ]
 POSTHOOK: Lineage: varchar1.value EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ]
-PREHOOK: query: select key, value from varchar1
+PREHOOK: query: select key, value from varchar1 order by key, value
 PREHOOK: type: QUERY
 PREHOOK: Input: default@varchar1
 #### A masked pattern was here ####
-POSTHOOK: query: select key, value from varchar1
+POSTHOOK: query: select key, value from varchar1 order by key, value
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@varchar1
 #### A masked pattern was here ####
@@ -88,17 +88,17 @@ POSTHOOK: Lineage: varchar1.key EXPRESSI
 POSTHOOK: Lineage: varchar1.key EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ]
 POSTHOOK: Lineage: varchar1.value EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ]
 POSTHOOK: Lineage: varchar1.value EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ]
-238	val_238
-86	val_86
+0	val_0
+0	val_0
 PREHOOK: query: -- insert string from varchar
 insert overwrite table varchar1_1
-  select key, value from varchar1 limit 2
+  select key, value from varchar1 order by key, value limit 2
 PREHOOK: type: QUERY
 PREHOOK: Input: default@varchar1
 PREHOOK: Output: default@varchar1_1
 POSTHOOK: query: -- insert string from varchar
 insert overwrite table varchar1_1
-  select key, value from varchar1 limit 2
+  select key, value from varchar1 order by key, value limit 2
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@varchar1
 POSTHOOK: Output: default@varchar1_1
@@ -108,11 +108,11 @@ POSTHOOK: Lineage: varchar1.value EXPRES
 POSTHOOK: Lineage: varchar1.value EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ]
 POSTHOOK: Lineage: varchar1_1.key SIMPLE [(varchar1)varchar1.FieldSchema(name:key, type:varchar(10), comment:null), ]
 POSTHOOK: Lineage: varchar1_1.value SIMPLE [(varchar1)varchar1.FieldSchema(name:value, type:varchar(20), comment:null), ]
-PREHOOK: query: select key, value from varchar1_1
+PREHOOK: query: select key, value from varchar1_1 order by key, value
 PREHOOK: type: QUERY
 PREHOOK: Input: default@varchar1_1
 #### A masked pattern was here ####
-POSTHOOK: query: select key, value from varchar1_1
+POSTHOOK: query: select key, value from varchar1_1 order by key, value
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@varchar1_1
 #### A masked pattern was here ####
@@ -122,17 +122,17 @@ POSTHOOK: Lineage: varchar1.value EXPRES
 POSTHOOK: Lineage: varchar1.value EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ]
 POSTHOOK: Lineage: varchar1_1.key SIMPLE [(varchar1)varchar1.FieldSchema(name:key, type:varchar(10), comment:null), ]
 POSTHOOK: Lineage: varchar1_1.value SIMPLE [(varchar1)varchar1.FieldSchema(name:value, type:varchar(20), comment:null), ]
-238	val_238
-86	val_86
+0	val_0
+0	val_0
 PREHOOK: query: -- respect string length
 insert overwrite table varchar1 
-  select key, cast(value as varchar(3)) from src limit 2
+  select key, cast(value as varchar(3)) from src order by key, value limit 2
 PREHOOK: type: QUERY
 PREHOOK: Input: default@src
 PREHOOK: Output: default@varchar1
 POSTHOOK: query: -- respect string length
 insert overwrite table varchar1 
-  select key, cast(value as varchar(3)) from src limit 2
+  select key, cast(value as varchar(3)) from src order by key, value limit 2
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@src
 POSTHOOK: Output: default@varchar1
@@ -144,11 +144,11 @@ POSTHOOK: Lineage: varchar1.value EXPRES
 POSTHOOK: Lineage: varchar1.value EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ]
 POSTHOOK: Lineage: varchar1_1.key SIMPLE [(varchar1)varchar1.FieldSchema(name:key, type:varchar(10), comment:null), ]
 POSTHOOK: Lineage: varchar1_1.value SIMPLE [(varchar1)varchar1.FieldSchema(name:value, type:varchar(20), comment:null), ]
-PREHOOK: query: select key, value from varchar1
+PREHOOK: query: select key, value from varchar1 order by key, value
 PREHOOK: type: QUERY
 PREHOOK: Input: default@varchar1
 #### A masked pattern was here ####
-POSTHOOK: query: select key, value from varchar1
+POSTHOOK: query: select key, value from varchar1 order by key, value
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@varchar1
 #### A masked pattern was here ####
@@ -160,8 +160,8 @@ POSTHOOK: Lineage: varchar1.value EXPRES
 POSTHOOK: Lineage: varchar1.value EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ]
 POSTHOOK: Lineage: varchar1_1.key SIMPLE [(varchar1)varchar1.FieldSchema(name:key, type:varchar(10), comment:null), ]
 POSTHOOK: Lineage: varchar1_1.value SIMPLE [(varchar1)varchar1.FieldSchema(name:value, type:varchar(20), comment:null), ]
-238	val
-86	val
+0	val
+0	val
 PREHOOK: query: drop table varchar1
 PREHOOK: type: DROPTABLE
 PREHOOK: Input: default@varchar1



Mime
View raw message