Examples of descFunctionDesc


Examples of org.apache.hadoop.hive.ql.plan.descFunctionDesc

      isExtended = true;
    } else {
      throw new SemanticException("Unexpected Tokens at DESCRIBE FUNCTION");
    }

    descFunctionDesc descFuncDesc = new descFunctionDesc(ctx.getResFile(),
                                                          funcName, isExtended);
    rootTasks.add(TaskFactory.get(new DDLWork(getInputs(), getOutputs(), descFuncDesc), conf));
    setFetchTask(createFetchTask(descFuncDesc.getSchema()));
  }
View Full Code Here

Examples of org.apache.hadoop.hive.ql.plan.descFunctionDesc

      descTableDesc descTbl = work.getDescTblDesc();
      if (descTbl != null) {
        return describeTable(db, descTbl);
      }
     
      descFunctionDesc descFunc = work.getDescFunctionDesc();
      if (descFunc != null) {
        return describeFunction(descFunc);
      }

      showTablesDesc showTbls = work.getShowTblsDesc();
View Full Code Here

Examples of org.apache.hadoop.hive.ql.plan.descFunctionDesc

      isExtended = true;
    } else {
      throw new SemanticException("Unexpected Tokens at DESCRIBE FUNCTION");
    }

    descFunctionDesc descFuncDesc = new descFunctionDesc(ctx.getResFile(),
                                                          funcName, isExtended);
    rootTasks.add(TaskFactory.get(new DDLWork(descFuncDesc), conf));
    setFetchTask(createFetchTask(descFuncDesc.getSchema()));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.