本文整理了Java中org.apache.hadoop.hive.ql.parse.QBParseInfo.getTableSpec
方法的一些代码示例,展示了QBParseInfo.getTableSpec
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。QBParseInfo.getTableSpec
方法的具体详情如下:
包路径:org.apache.hadoop.hive.ql.parse.QBParseInfo
类名称:QBParseInfo
方法名:getTableSpec
[英]This method is used only for the analyze command to get the partition specs
[中]此方法仅用于analyze命令以获取分区规格
代码示例来源:origin: apache/drill
return;
TableSpec tblSpec = qbp.getTableSpec(alias);
Map<String, String> partSpec = tblSpec.getPartSpec();
if (partSpec != null) {
throw new SemanticException(ErrorMsg.NEED_PARTITION_SPECIFICATION.getMsg());
List<Partition> partitions = qbp.getTableSpec().partitions;
if (partitions != null) {
for (Partition partn : partitions) {
代码示例来源:origin: apache/hive
return;
TableSpec tblSpec = qbp.getTableSpec(alias);
Map<String, String> partSpec = tblSpec.getPartSpec();
if (partSpec != null) {
throw new SemanticException(ErrorMsg.NEED_PARTITION_SPECIFICATION.getMsg());
List<Partition> partitions = qbp.getTableSpec().partitions;
if (partitions != null) {
for (Partition partn : partitions) {
代码示例来源:origin: org.apache.hadoop.hive/hive-exec
tableSpec tblSpec = qbp.getTableSpec(alias);
Map<String, String> partSpec = tblSpec.getPartSpec();
throw new SemanticException(ErrorMsg.NEED_PARTITION_SPECIFICATION.getMsg());
List<Partition> partitions = qbp.getTableSpec().partitions;
if (partitions != null) {
for (Partition partn : partitions) {
代码示例来源:origin: com.facebook.presto.hive/hive-apache
TableSpec tblSpec = qbp.getTableSpec(alias);
Map<String, String> partSpec = tblSpec.getPartSpec();
throw new SemanticException(ErrorMsg.NEED_PARTITION_SPECIFICATION.getMsg());
List<Partition> partitions = qbp.getTableSpec().partitions;
if (partitions != null) {
for (Partition partn : partitions) {
代码示例来源:origin: org.apache.hadoop.hive/hive-exec
StatsWork statsWork = new StatsWork(parseCtx.getQB().getParseInfo().getTableSpec());
statsWork.setAggKey(op.getConf().getStatsAggPrefix());
Task<StatsWork> statsTask = TaskFactory.get(statsWork, parseCtx.getConf());
tableSpec tblSpec = parseInfo.getTableSpec();
if (tblSpec.specType == tableSpec.SpecType.STATIC_PARTITION) {
内容来源于网络,如有侵权,请联系作者删除!