hadoop-hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zs...@apache.org
Subject svn commit: r798769 - in /hadoop/hive/trunk: ./ ql/src/java/org/apache/hadoop/hive/ql/exec/ ql/src/java/org/apache/hadoop/hive/ql/parse/ ql/src/java/org/apache/hadoop/hive/ql/plan/ ql/src/test/queries/clientpositive/ ql/src/test/results/clientpositive/
Date Wed, 29 Jul 2009 03:20:15 GMT
Author: zshao
Date: Wed Jul 29 03:20:08 2009
New Revision: 798769

URL: http://svn.apache.org/viewvc?rev=798769&view=rev
Log:
HIVE-700. Fix test error by adding "DROP FUNCTION". (Min Zhou and Namit Jain via zshao)

Added:
    hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/dropFunctionDesc.java
    hadoop/hive/trunk/ql/src/test/queries/clientpositive/drop_udf.q
    hadoop/hive/trunk/ql/src/test/results/clientpositive/drop_udf.q.out
Modified:
    hadoop/hive/trunk/CHANGES.txt
    hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
    hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionTask.java
    hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/FunctionSemanticAnalyzer.java
    hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/Hive.g
    hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java
    hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/FunctionWork.java
    hadoop/hive/trunk/ql/src/test/queries/clientpositive/create_genericudf.q
    hadoop/hive/trunk/ql/src/test/queries/clientpositive/create_udaf.q
    hadoop/hive/trunk/ql/src/test/queries/clientpositive/udf_testlength.q
    hadoop/hive/trunk/ql/src/test/queries/clientpositive/udf_testlength2.q
    hadoop/hive/trunk/ql/src/test/results/clientpositive/create_genericudf.q.out
    hadoop/hive/trunk/ql/src/test/results/clientpositive/create_udaf.q.out
    hadoop/hive/trunk/ql/src/test/results/clientpositive/show_functions.q.out
    hadoop/hive/trunk/ql/src/test/results/clientpositive/udf_testlength.q.out
    hadoop/hive/trunk/ql/src/test/results/clientpositive/udf_testlength2.q.out

Modified: hadoop/hive/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/CHANGES.txt?rev=798769&r1=798768&r2=798769&view=diff
==============================================================================
--- hadoop/hive/trunk/CHANGES.txt (original)
+++ hadoop/hive/trunk/CHANGES.txt Wed Jul 29 03:20:08 2009
@@ -435,6 +435,9 @@
     HIVE-697. GroupByOperator's initialization calls GenericUDAF.newAggregation before GenericUDAF.init
     (Zheng Shao via namit)
 
+    HIVE-700. Fix test error by adding "DROP FUNCTION".
+    (Min Zhou and Namit Jain via zshao)
+
 Release 0.3.1 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java?rev=798769&r1=798768&r2=798769&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java (original)
+++ hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java Wed
Jul 29 03:20:08 2009
@@ -438,6 +438,10 @@
             new GenericUDAFBridge((UDAF)ReflectionUtils.newInstance(udafClass, null))));
   }
 
+  public static void unregisterUDF(String functionName) {
+    mFunctions.remove(functionName.toLowerCase());
+  }
+
   public static GenericUDAFResolver getGenericUDAFResolver(String functionName) {
     LOG.debug("Looking up GenericUDAF: " + functionName);
     FunctionInfo finfo = mFunctions.get(functionName.toLowerCase());

Modified: hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionTask.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionTask.java?rev=798769&r1=798768&r2=798769&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionTask.java (original)
+++ hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionTask.java Wed Jul
29 03:20:08 2009
@@ -26,6 +26,7 @@
 import org.apache.hadoop.hive.common.JavaUtils;
 import org.apache.hadoop.hive.ql.plan.FunctionWork;
 import org.apache.hadoop.hive.ql.plan.createFunctionDesc;
+import org.apache.hadoop.hive.ql.plan.dropFunctionDesc;
 import org.apache.hadoop.hive.ql.udf.generic.GenericUDF;
 import org.apache.hadoop.util.StringUtils;
 import org.apache.hadoop.hive.ql.exec.FunctionInfo.OperatorType;
@@ -45,29 +46,43 @@
   public int execute() {
     createFunctionDesc createFunctionDesc = work.getCreateFunctionDesc();
     if (createFunctionDesc != null) {
-      try {
-        Class<?> udfClass = getUdfClass(createFunctionDesc);
-        if(UDF.class.isAssignableFrom(udfClass)) {
-          FunctionRegistry.registerUDF(createFunctionDesc.getFunctionName(), 
-                                       (Class<? extends UDF>) udfClass,
-                                       OperatorType.PREFIX, false);
-          return 0;
-        } else if(GenericUDF.class.isAssignableFrom(udfClass)) {
-          FunctionRegistry.registerGenericUDF(createFunctionDesc.getFunctionName(), 
-                                              (Class<? extends GenericUDF>) udfClass);
-          return 0;
-        } else if(UDAF.class.isAssignableFrom(udfClass)) {
-          FunctionRegistry.registerUDAF(createFunctionDesc.getFunctionName(),
-                                        (Class<? extends UDAF>) udfClass);
-          return 0;
-        } 
-        return 1;
-
-      } catch (ClassNotFoundException e) {
-        LOG.info("create function: " + StringUtils.stringifyException(e));
-        return 1;
-      }
+      return createFunction(createFunctionDesc);
     }
+
+    dropFunctionDesc dropFunctionDesc = work.getDropFunctionDesc();
+    if (dropFunctionDesc != null) {
+      return dropFunction(dropFunctionDesc);
+    }
+    return 0;
+  }
+
+  private int createFunction(createFunctionDesc createFunctionDesc) {
+    try {
+      Class<?> udfClass = getUdfClass(createFunctionDesc);
+      if(UDF.class.isAssignableFrom(udfClass)) {
+        FunctionRegistry.registerUDF(createFunctionDesc.getFunctionName(), 
+                                     (Class<? extends UDF>) udfClass,
+                                     OperatorType.PREFIX, false);
+        return 0;
+      } else if(GenericUDF.class.isAssignableFrom(udfClass)) {
+        FunctionRegistry.registerGenericUDF(createFunctionDesc.getFunctionName(), 
+                                            (Class<? extends GenericUDF>) udfClass);
+        return 0;
+      } else if(UDAF.class.isAssignableFrom(udfClass)) {
+        FunctionRegistry.registerUDAF(createFunctionDesc.getFunctionName(),
+                                      (Class<? extends UDAF>) udfClass);
+        return 0;
+      } 
+      return 1;
+
+    } catch (ClassNotFoundException e) {
+      LOG.info("create function: " + StringUtils.stringifyException(e));
+      return 1;
+    }
+  }
+
+  private int dropFunction(dropFunctionDesc dropFunctionDesc) {
+    FunctionRegistry.unregisterUDF(dropFunctionDesc.getFunctionName());
     return 0;
   }
 

Modified: hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/FunctionSemanticAnalyzer.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/FunctionSemanticAnalyzer.java?rev=798769&r1=798768&r2=798769&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/FunctionSemanticAnalyzer.java
(original)
+++ hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/FunctionSemanticAnalyzer.java
Wed Jul 29 03:20:08 2009
@@ -25,6 +25,7 @@
 import org.apache.hadoop.hive.ql.exec.TaskFactory;
 import org.apache.hadoop.hive.ql.plan.FunctionWork;
 import org.apache.hadoop.hive.ql.plan.createFunctionDesc;
+import org.apache.hadoop.hive.ql.plan.dropFunctionDesc;
 
 public class FunctionSemanticAnalyzer extends BaseSemanticAnalyzer {
   private static final Log LOG =
@@ -35,10 +36,26 @@
   }
   
   public void analyzeInternal(ASTNode ast) throws SemanticException {
+    if (ast.getToken().getType() == HiveParser.TOK_CREATEFUNCTION)
+      analyzeCreateFunction(ast);
+    if (ast.getToken().getType() == HiveParser.TOK_DROPFUNCTION)
+      analyzeDropFunction(ast);
+
+    LOG.info("analyze done");
+  }
+  
+  private void analyzeCreateFunction(ASTNode ast) 
+      throws SemanticException {
     String functionName = ast.getChild(0).getText();
     String className = unescapeSQLString(ast.getChild(1).getText());
     createFunctionDesc desc = new createFunctionDesc(functionName, className);
     rootTasks.add(TaskFactory.get(new FunctionWork(desc), conf));
-    LOG.info("analyze done");
+  }
+  
+  private void analyzeDropFunction(ASTNode ast) 
+      throws SemanticException {
+    String functionName = ast.getChild(0).getText();
+    dropFunctionDesc desc = new dropFunctionDesc(functionName);
+    rootTasks.add(TaskFactory.get(new FunctionWork(desc), conf));
   }
 }

Modified: hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/Hive.g
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/Hive.g?rev=798769&r1=798768&r2=798769&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/Hive.g (original)
+++ hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/Hive.g Wed Jul 29 03:20:08
2009
@@ -118,6 +118,7 @@
 TOK_TABSORTCOLNAMEDESC;
 TOK_CHARSETLITERAL;
 TOK_CREATEFUNCTION;
+TOK_DROPFUNCTION;
 TOK_EXPLAIN;
 TOK_TABLESERIALIZER;
 TOK_TABLEPROPERTIES;
@@ -188,6 +189,7 @@
     | showStatement
     | metastoreCheck
     | createFunctionStatement
+    | dropFunctionStatement
     ;
 
 ifNotExists
@@ -321,6 +323,13 @@
     -> ^(TOK_CREATEFUNCTION Identifier StringLiteral)
     ;
 
+dropFunctionStatement
+@init { msgs.push("drop temporary function statement"); }
+@after { msgs.pop(); }
+    : KW_DROP KW_TEMPORARY KW_FUNCTION Identifier
+    -> ^(TOK_DROPFUNCTION Identifier)
+    ;
+
 showStmtIdentifier
 @init { msgs.push("identifier for show statement"); }
 @after { msgs.pop(); }

Modified: hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java?rev=798769&r1=798768&r2=798769&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java
(original)
+++ hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java
Wed Jul 29 03:20:08 2009
@@ -47,6 +47,7 @@
       case HiveParser.TOK_SHOWPARTITIONS:
         return new DDLSemanticAnalyzer(conf);
       case HiveParser.TOK_CREATEFUNCTION: 
+      case HiveParser.TOK_DROPFUNCTION:
         return new FunctionSemanticAnalyzer(conf);
       default: return new SemanticAnalyzer(conf);
       }

Modified: hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/FunctionWork.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/FunctionWork.java?rev=798769&r1=798768&r2=798769&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/FunctionWork.java (original)
+++ hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/FunctionWork.java Wed Jul
29 03:20:08 2009
@@ -23,16 +23,28 @@
 public class FunctionWork implements Serializable {
   private static final long serialVersionUID = 1L;
   private createFunctionDesc  createFunctionDesc;
+  private dropFunctionDesc  dropFunctionDesc;
   
   public FunctionWork(createFunctionDesc createFunctionDesc) {
     this.createFunctionDesc = createFunctionDesc;
   }
 
+  public FunctionWork(dropFunctionDesc dropFunctionDesc) {
+    this.dropFunctionDesc = dropFunctionDesc;
+  }
+
   public createFunctionDesc getCreateFunctionDesc() {
     return createFunctionDesc;
   }
   public void setCreateFunctionDesc(createFunctionDesc createFunctionDesc) {
     this.createFunctionDesc = createFunctionDesc;
   }
+
+  public dropFunctionDesc getDropFunctionDesc() {
+    return dropFunctionDesc;
+  }
+  public void setDropFunctionDesc(dropFunctionDesc dropFunctionDesc) {
+    this.dropFunctionDesc = dropFunctionDesc;
+  }
   
 }

Added: hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/dropFunctionDesc.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/dropFunctionDesc.java?rev=798769&view=auto
==============================================================================
--- hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/dropFunctionDesc.java (added)
+++ hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/dropFunctionDesc.java Wed
Jul 29 03:20:08 2009
@@ -0,0 +1,42 @@
+/**
+ * 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.plan;
+
+import java.io.Serializable;
+
+@explain(displayName="Drop Function")
+public class dropFunctionDesc implements Serializable {
+  private static final long serialVersionUID = 1L;
+  
+  private String functionName;
+  
+  public dropFunctionDesc(String functionName) {
+    this.functionName = functionName;
+  }
+
+  @explain(displayName="name")
+  public String getFunctionName() {
+    return functionName;
+  }
+
+  public void setFunctionName(String functionName) {
+    this.functionName = functionName;
+  }
+  
+}

Modified: hadoop/hive/trunk/ql/src/test/queries/clientpositive/create_genericudf.q
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/queries/clientpositive/create_genericudf.q?rev=798769&r1=798768&r2=798769&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/queries/clientpositive/create_genericudf.q (original)
+++ hadoop/hive/trunk/ql/src/test/queries/clientpositive/create_genericudf.q Wed Jul 29 03:20:08
2009
@@ -17,3 +17,5 @@
     test_translate('abc', 'a', 'ab');
 
 SELECT dest1.* FROM dest1 LIMIT 1;
+
+DROP TEMPORARY FUNCTION test_translate;

Modified: hadoop/hive/trunk/ql/src/test/queries/clientpositive/create_udaf.q
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/queries/clientpositive/create_udaf.q?rev=798769&r1=798768&r2=798769&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/queries/clientpositive/create_udaf.q (original)
+++ hadoop/hive/trunk/ql/src/test/queries/clientpositive/create_udaf.q Wed Jul 29 03:20:08
2009
@@ -8,3 +8,5 @@
 FROM src INSERT OVERWRITE TABLE dest1 SELECT test_max(length(src.value));
 
 SELECT dest1.* FROM dest1;
+
+DROP TEMPORARY FUNCTION test_max;

Added: hadoop/hive/trunk/ql/src/test/queries/clientpositive/drop_udf.q
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/queries/clientpositive/drop_udf.q?rev=798769&view=auto
==============================================================================
--- hadoop/hive/trunk/ql/src/test/queries/clientpositive/drop_udf.q (added)
+++ hadoop/hive/trunk/ql/src/test/queries/clientpositive/drop_udf.q Wed Jul 29 03:20:08 2009
@@ -0,0 +1,6 @@
+CREATE TEMPORARY FUNCTION test_translate AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestTranslate';
+
+EXPLAIN
+DROP TEMPORARY FUNCTION test_translate;
+
+DROP TEMPORARY FUNCTION test_translate;

Modified: hadoop/hive/trunk/ql/src/test/queries/clientpositive/udf_testlength.q
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/queries/clientpositive/udf_testlength.q?rev=798769&r1=798768&r2=798769&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/queries/clientpositive/udf_testlength.q (original)
+++ hadoop/hive/trunk/ql/src/test/queries/clientpositive/udf_testlength.q Wed Jul 29 03:20:08
2009
@@ -8,3 +8,5 @@
 FROM src INSERT OVERWRITE TABLE dest1 SELECT testlength(src.value);
 
 SELECT dest1.* FROM dest1;
+
+DROP TEMPORARY FUNCTION testlength;

Modified: hadoop/hive/trunk/ql/src/test/queries/clientpositive/udf_testlength2.q
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/queries/clientpositive/udf_testlength2.q?rev=798769&r1=798768&r2=798769&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/queries/clientpositive/udf_testlength2.q (original)
+++ hadoop/hive/trunk/ql/src/test/queries/clientpositive/udf_testlength2.q Wed Jul 29 03:20:08
2009
@@ -8,3 +8,5 @@
 FROM src INSERT OVERWRITE TABLE dest1 SELECT testlength2(src.value);
 
 SELECT dest1.* FROM dest1;
+
+DROP TEMPORARY FUNCTION testlength2;

Modified: hadoop/hive/trunk/ql/src/test/results/clientpositive/create_genericudf.q.out
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/results/clientpositive/create_genericudf.q.out?rev=798769&r1=798768&r2=798769&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/results/clientpositive/create_genericudf.q.out (original)
+++ hadoop/hive/trunk/ql/src/test/results/clientpositive/create_genericudf.q.out Wed Jul 29
03:20:08 2009
@@ -26,5 +26,6 @@
 Output: default/dest1
 query: SELECT dest1.* FROM dest1 LIMIT 1
 Input: default/dest1
-Output: file:/home/zhoumin/hive-trunk/build/ql/tmp/997095758/10000
+Output: file:/data/users/njain/hive_commit1/hive_commit1/build/ql/tmp/1518422046/10000
 bbc	bcc	NULL	NULL	NULL	bc	abc
+query: DROP TEMPORARY FUNCTION test_translate

Modified: hadoop/hive/trunk/ql/src/test/results/clientpositive/create_udaf.q.out
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/results/clientpositive/create_udaf.q.out?rev=798769&r1=798768&r2=798769&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/results/clientpositive/create_udaf.q.out (original)
+++ hadoop/hive/trunk/ql/src/test/results/clientpositive/create_udaf.q.out Wed Jul 29 03:20:08
2009
@@ -17,5 +17,6 @@
 Output: default/dest1
 query: SELECT dest1.* FROM dest1
 Input: default/dest1
-Output: file:/home/zhoumin/hive-trunk/build/ql/tmp/523260903/10000
+Output: file:/data/users/njain/hive_commit1/hive_commit1/build/ql/tmp/208230949/10000
 7
+query: DROP TEMPORARY FUNCTION test_max

Added: hadoop/hive/trunk/ql/src/test/results/clientpositive/drop_udf.q.out
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/results/clientpositive/drop_udf.q.out?rev=798769&view=auto
==============================================================================
--- hadoop/hive/trunk/ql/src/test/results/clientpositive/drop_udf.q.out (added)
+++ hadoop/hive/trunk/ql/src/test/results/clientpositive/drop_udf.q.out Wed Jul 29 03:20:08
2009
@@ -0,0 +1,14 @@
+query: CREATE TEMPORARY FUNCTION test_translate AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestTranslate'
+query: EXPLAIN
+DROP TEMPORARY FUNCTION test_translate
+ABSTRACT SYNTAX TREE:
+  (TOK_DROPFUNCTION test_translate)
+
+STAGE DEPENDENCIES:
+  Stage-0 is a root stage
+
+STAGE PLANS:
+  Stage: Stage-0
+
+
+query: DROP TEMPORARY FUNCTION test_translate

Modified: hadoop/hive/trunk/ql/src/test/results/clientpositive/show_functions.q.out
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/results/clientpositive/show_functions.q.out?rev=798769&r1=798768&r2=798769&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/results/clientpositive/show_functions.q.out (original)
+++ hadoop/hive/trunk/ql/src/test/results/clientpositive/show_functions.q.out Wed Jul 29 03:20:08
2009
@@ -93,8 +93,6 @@
 substr
 substring
 sum
-test_max
-test_translate
 tinyint
 to_date
 trim
@@ -130,7 +128,6 @@
 rlike
 size
 space
-test_translate
 to_date
 ucase
 query: SHOW FUNCTIONS 'log.*'

Modified: hadoop/hive/trunk/ql/src/test/results/clientpositive/udf_testlength.q.out
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/results/clientpositive/udf_testlength.q.out?rev=798769&r1=798768&r2=798769&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/results/clientpositive/udf_testlength.q.out (original)
+++ hadoop/hive/trunk/ql/src/test/results/clientpositive/udf_testlength.q.out Wed Jul 29 03:20:08
2009
@@ -17,7 +17,7 @@
 Output: default/dest1
 query: SELECT dest1.* FROM dest1
 Input: default/dest1
-Output: /data/users/athusoo/commits/hive_trunk_ws8/ql/../build/ql/tmp/282300809/1100710033.10000
+Output: file:/data/users/njain/hive_commit1/hive_commit1/build/ql/tmp/1256922669/10000
 7
 6
 7
@@ -518,3 +518,4 @@
 7
 7
 6
+query: DROP TEMPORARY FUNCTION testlength

Modified: hadoop/hive/trunk/ql/src/test/results/clientpositive/udf_testlength2.q.out
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/results/clientpositive/udf_testlength2.q.out?rev=798769&r1=798768&r2=798769&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/results/clientpositive/udf_testlength2.q.out (original)
+++ hadoop/hive/trunk/ql/src/test/results/clientpositive/udf_testlength2.q.out Wed Jul 29
03:20:08 2009
@@ -17,7 +17,7 @@
 Output: default/dest1
 query: SELECT dest1.* FROM dest1
 Input: default/dest1
-Output: /data/users/athusoo/commits/hive_trunk_ws8/ql/../build/ql/tmp/738511694/1056230246.10000
+Output: file:/data/users/njain/hive_commit1/hive_commit1/build/ql/tmp/744584966/10000
 7
 6
 7
@@ -518,3 +518,4 @@
 7
 7
 6
+query: DROP TEMPORARY FUNCTION testlength2



Mime
View raw message