org.apache.hadoop.hive.ql.metadata.Table.isOffline()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(2.0k)|赞(0)|评价(0)|浏览(80)

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

Table.isOffline介绍

暂无

代码示例

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

static void validateTable(org.apache.hadoop.hive.ql.metadata.Table table) throws SemanticException {
 if (table.isOffline()) {
  throw new SemanticException(
    ErrorMsg.OFFLINE_TABLE_OR_PARTITION.getMsg(":Table "
      + table.getTableName()));
 }
 if (table.isView()) {
  throw new SemanticException(ErrorMsg.DML_AGAINST_VIEW.getMsg());
 }
 if (table.isNonNative()) {
  throw new SemanticException(ErrorMsg.EXIM_FOR_NON_NATIVE.getMsg());
 }
}

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

if (ts.tableHandle.isOffline()){
 throw new SemanticException(
   ErrorMsg.OFFLINE_TABLE_OR_PARTITION.getMsg(":Table " + ts.tableName));

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

if (ts.tableHandle.isOffline()){
 throw new SemanticException(
   ErrorMsg.OFFLINE_TABLE_OR_PARTITION.getMsg(":Table " + ts.tableName));

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

if (tab.isOffline()) {
 throw new SemanticException(ErrorMsg.OFFLINE_TABLE_OR_PARTITION.
   getMsg("Table " + getUnescapedName(qb.getParseInfo().getSrcForAlias(alias))));

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

if (tab.isOffline()) {
 throw new SemanticException(ErrorMsg.OFFLINE_TABLE_OR_PARTITION.
   getMsg("Table " + getUnescapedName(qb.getParseInfo().getSrcForAlias(alias))));

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

if (tbl.isOffline()) {
 throw new SemanticException(
   ErrorMsg.OFFLINE_TABLE_OR_PARTITION.getMsg(
if (tbl.isOffline()) {
 throw new SemanticException(
   ErrorMsg.OFFLINE_TABLE_OR_PARTITION.getMsg(

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

if (tbl.isOffline()) {
 throw new SemanticException(
   ErrorMsg.OFFLINE_TABLE_OR_PARTITION.getMsg(
if (tbl.isOffline()) {
 throw new SemanticException(
   ErrorMsg.OFFLINE_TABLE_OR_PARTITION.getMsg(

相关文章

微信公众号

最新文章

更多

Table类方法