org.apache.hadoop.hive.ql.parse.QBParseInfo.getClusterByForClause()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(4.6k)|赞(0)|评价(0)|浏览(90)

本文整理了Java中org.apache.hadoop.hive.ql.parse.QBParseInfo.getClusterByForClause方法的一些代码示例,展示了QBParseInfo.getClusterByForClause的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。QBParseInfo.getClusterByForClause方法的具体详情如下:
包路径:org.apache.hadoop.hive.ql.parse.QBParseInfo
类名称:QBParseInfo
方法名:getClusterByForClause

QBParseInfo.getClusterByForClause介绍

[英]Get the Cluster By AST for the clause.
[中]通过AST获取该子句的集群。

代码示例

代码示例来源:origin: apache/drill

ASTNode partitionExprs = qb.getParseInfo().getClusterByForClause(dest);
if (partitionExprs == null) {
 partitionExprs = qb.getParseInfo().getDistributeByForClause(dest);
ASTNode sortExprs = qb.getParseInfo().getClusterByForClause(dest);
if (sortExprs == null) {
 sortExprs = qb.getParseInfo().getSortByForClause(dest);

代码示例来源:origin: apache/hive

ASTNode partitionExprs = qb.getParseInfo().getClusterByForClause(dest);
if (partitionExprs == null) {
 partitionExprs = qb.getParseInfo().getDistributeByForClause(dest);
ASTNode sortExprs = qb.getParseInfo().getClusterByForClause(dest);
if (sortExprs == null) {
 sortExprs = qb.getParseInfo().getSortByForClause(dest);

代码示例来源:origin: apache/hive

if (qbp.getClusterByForClause(dest) != null) {
 genReduceSink = true;
    qb.getIsQuery() && qbp.getClusterByForClause(dest) == null &&
      qbp.getSortByForClause(dest) == null) {
   extraMRStep = false;

代码示例来源:origin: apache/drill

if (qbp.getClusterByForClause(dest) != null) {
 genReduceSink = true;
    qb.getIsQuery() && qbp.getClusterByForClause(dest) == null &&
    qbp.getSortByForClause(dest) == null) {
   extraMRStep = false;

代码示例来源:origin: apache/hive

if (qbp.getClusterByForClause(ctx_1.dest) != null) {
 throw new SemanticException(generateErrorMessage(ast,
   ErrorMsg.CLUSTERBY_DISTRIBUTEBY_CONFLICT.getMsg()));
if (qbp.getClusterByForClause(ctx_1.dest) != null) {
 throw new SemanticException(generateErrorMessage(ast,
   ErrorMsg.CLUSTERBY_SORTBY_CONFLICT.getMsg()));
if (qbp.getClusterByForClause(ctx_1.dest) != null) {
 throw new SemanticException(generateErrorMessage(ast,
   ErrorMsg.CLUSTERBY_ORDERBY_CONFLICT.getMsg()));

代码示例来源:origin: apache/drill

if (qbp.getClusterByForClause(ctx_1.dest) != null) {
 throw new SemanticException(generateErrorMessage(ast,
   ErrorMsg.CLUSTERBY_DISTRIBUTEBY_CONFLICT.getMsg()));
if (qbp.getClusterByForClause(ctx_1.dest) != null) {
 throw new SemanticException(generateErrorMessage(ast,
   ErrorMsg.CLUSTERBY_SORTBY_CONFLICT.getMsg()));
if (qbp.getClusterByForClause(ctx_1.dest) != null) {
 throw new SemanticException(generateErrorMessage(ast,
   ErrorMsg.CLUSTERBY_ORDERBY_CONFLICT.getMsg()));

代码示例来源:origin: com.facebook.presto.hive/hive-apache

ASTNode partitionExprs = qb.getParseInfo().getClusterByForClause(dest);
if (partitionExprs == null) {
 partitionExprs = qb.getParseInfo().getDistributeByForClause(dest);
ASTNode sortExprs = qb.getParseInfo().getClusterByForClause(dest);
if (sortExprs == null) {
 sortExprs = qb.getParseInfo().getSortByForClause(dest);

代码示例来源:origin: org.apache.hadoop.hive/hive-exec

ASTNode partitionExprs = qb.getParseInfo().getClusterByForClause(dest);
if (partitionExprs == null) {
 partitionExprs = qb.getParseInfo().getDistributeByForClause(dest);
ASTNode sortExprs = qb.getParseInfo().getClusterByForClause(dest);
if (sortExprs == null) {
 sortExprs = qb.getParseInfo().getSortByForClause(dest);

代码示例来源:origin: com.facebook.presto.hive/hive-apache

if (qbp.getClusterByForClause(dest) != null) {
 genReduceSink = true;
    qb.getIsQuery() && qbp.getClusterByForClause(dest) == null &&
    qbp.getSortByForClause(dest) == null) {
   extraMRStep = false;

代码示例来源:origin: org.apache.hadoop.hive/hive-exec

Integer limit = qbp.getDestLimit(dest);
if (qbp.getClusterByForClause(dest) != null
  || qbp.getDistributeByForClause(dest) != null
  || qbp.getOrderByForClause(dest) != null
  boolean extraMRStep = true;
  if (qb.getIsQuery() && qbp.getClusterByForClause(dest) == null
    && qbp.getSortByForClause(dest) == null) {
   extraMRStep = false;

代码示例来源:origin: org.apache.hadoop.hive/hive-exec

if (qbp.getClusterByForClause(ctx_1.dest) != null) {
 throw new SemanticException(ErrorMsg.CLUSTERBY_DISTRIBUTEBY_CONFLICT
   .getMsg(ast));
if (qbp.getClusterByForClause(ctx_1.dest) != null) {
 throw new SemanticException(ErrorMsg.CLUSTERBY_SORTBY_CONFLICT
   .getMsg(ast));
if (qbp.getClusterByForClause(ctx_1.dest) != null) {
 throw new SemanticException(ErrorMsg.CLUSTERBY_ORDERBY_CONFLICT
   .getMsg(ast));

代码示例来源:origin: com.facebook.presto.hive/hive-apache

if (qbp.getClusterByForClause(ctx_1.dest) != null) {
 throw new SemanticException(generateErrorMessage(ast,
   ErrorMsg.CLUSTERBY_DISTRIBUTEBY_CONFLICT.getMsg()));
if (qbp.getClusterByForClause(ctx_1.dest) != null) {
 throw new SemanticException(generateErrorMessage(ast,
   ErrorMsg.CLUSTERBY_SORTBY_CONFLICT.getMsg()));
if (qbp.getClusterByForClause(ctx_1.dest) != null) {
 throw new SemanticException(generateErrorMessage(ast,
   ErrorMsg.CLUSTERBY_ORDERBY_CONFLICT.getMsg()));

相关文章

微信公众号

最新文章

更多

QBParseInfo类方法