本文整理了Java中org.apache.hadoop.hive.ql.metadata.Table.setProperty()
方法的一些代码示例,展示了Table.setProperty()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Table.setProperty()
方法的具体详情如下:
包路径:org.apache.hadoop.hive.ql.metadata.Table
类名称:Table
方法名:setProperty
暂无
代码示例来源:origin: apache/hive
table.setProperty(
org.apache.hadoop.hive.metastore.api.hive_metastoreConstants.META_TABLE_STORAGE,
desc.getStorageHandler());
table.setProperty(prop.getKey(), prop.getValue());
代码示例来源:origin: apache/hive
tbl.setProperty("EXTERNAL", "TRUE");
tbl.setTableType(TableType.EXTERNAL_TABLE);
tbl.setProperty(PartitionManagementTask.DISCOVER_PARTITIONS_TBLPROPERTY, "true");
tbl.setProperty("EXTERNAL", "TRUE");
tbl.setTableType(TableType.EXTERNAL_TABLE);
tbl.setProperty(PartitionManagementTask.DISCOVER_PARTITIONS_TBLPROPERTY, "true");
} else {
tbl.getParameters().remove("EXTERNAL");
代码示例来源:origin: apache/drill
tbl.setProperty("EXTERNAL", "TRUE");
tbl.setTableType(TableType.EXTERNAL_TABLE);
tbl.setProperty("EXTERNAL", "TRUE");
tbl.setTableType(TableType.EXTERNAL_TABLE);
} else {
代码示例来源:origin: apache/drill
tbl.setProperty(
org.apache.hadoop.hive.metastore.api.hive_metastoreConstants.META_TABLE_STORAGE,
getStorageHandler());
tbl.setProperty("comment", getComment());
tbl.setProperty("EXTERNAL", "TRUE");
tbl.setTableType(TableType.EXTERNAL_TABLE);
tbl.setProperty("SORTBUCKETCOLSPREFIX", "TRUE");
代码示例来源:origin: apache/hive
tbl.setFields(getSchema());
if (getComment() != null) {
tbl.setProperty("comment", getComment());
tbl.setProperty(
org.apache.hadoop.hive.metastore.api.hive_metastoreConstants.META_TABLE_STORAGE,
getStorageHandler());
代码示例来源:origin: apache/hive
tbl.setProperty(
org.apache.hadoop.hive.metastore.api.hive_metastoreConstants.META_TABLE_STORAGE,
getStorageHandler());
tbl.setProperty("comment", getComment());
tbl.setProperty("EXTERNAL", "TRUE");
tbl.setTableType(TableType.EXTERNAL_TABLE);
tbl.setProperty(PartitionManagementTask.DISCOVER_PARTITIONS_TBLPROPERTY, "true");
tbl.setProperty("SORTBUCKETCOLSPREFIX", "TRUE");
代码示例来源:origin: apache/hive
table.setProperty("EXTERNAL", "TRUE");
hive.createTable(table);
代码示例来源:origin: apache/hive
tbl.setInputFormatClass(SequenceFileInputFormat.class);
tbl.setProperty("comment", "this is a test table created as part junit tests");
代码示例来源:origin: apache/hive
oldview.setFields(crtView.getSchema());
if (crtView.getComment() != null) {
oldview.setProperty("comment", crtView.getComment());
代码示例来源:origin: apache/drill
oldview.setFields(crtView.getSchema());
if (crtView.getComment() != null) {
oldview.setProperty("comment", crtView.getComment());
tbl.setFields(crtView.getSchema());
if (crtView.getComment() != null) {
tbl.setProperty("comment", crtView.getComment());
代码示例来源:origin: apache/lens
tbl1.setProperty(LensConfConstants.NATIVE_DB_NAME, udb);
tbl1.setProperty(LensConfConstants.NATIVE_TABLE_NAME, utable);
tbl1.setProperty(LensConfConstants.NATIVE_TABLE_COLUMN_MAPPING, StringUtils.join(columnMapping.entrySet(), ","));
log.info("columnMapping property:{}", tbl1.getProperty(LensConfConstants.NATIVE_TABLE_COLUMN_MAPPING));
代码示例来源:origin: apache/lens
tbl1.setProperty(LensConfConstants.NATIVE_DB_NAME, udb);
tbl1.setProperty(LensConfConstants.NATIVE_TABLE_NAME, utable);
tbl1.setProperty(LensConfConstants.NATIVE_TABLE_COLUMN_MAPPING, StringUtils.join(columnMapping.entrySet(), ","));
log.info("columnMapping property:{}", tbl1.getProperty(LensConfConstants.NATIVE_TABLE_COLUMN_MAPPING));
代码示例来源:origin: org.apache.hive.hcatalog/hive-hcatalog-core
table.setProperty(
org.apache.hadoop.hive.metastore.api.hive_metastoreConstants.META_TABLE_STORAGE,
desc.getStorageHandler());
table.setProperty(prop.getKey(), prop.getValue());
代码示例来源:origin: com.github.hyukjinkwon.hcatalog/hive-hcatalog-core
table.setProperty(
org.apache.hadoop.hive.metastore.api.hive_metastoreConstants.META_TABLE_STORAGE,
desc.getStorageHandler());
table.setProperty(prop.getKey(), prop.getValue());
代码示例来源:origin: org.spark-project.hive.hcatalog/hive-hcatalog-core
table.setProperty(
org.apache.hadoop.hive.metastore.api.hive_metastoreConstants.META_TABLE_STORAGE,
desc.getStorageHandler());
table.setProperty(prop.getKey(), prop.getValue());
代码示例来源:origin: org.apache.hadoop.hive/hive-exec
tbl.setProperty("EXTERNAL", "TRUE");
} else {
tbl.setProperty("EXTERNAL", "FALSE");
代码示例来源:origin: com.facebook.presto.hive/hive-apache
table.setProperty(
org.apache.hadoop.hive.metastore.api.hive_metastoreConstants.META_TABLE_STORAGE,
desc.getStorageHandler());
table.setProperty(prop.getKey(), prop.getValue());
代码示例来源:origin: org.apache.hadoop.hive/hive-exec
tbl.setFields(crtView.getSchema());
if (crtView.getComment() != null) {
tbl.setProperty("comment", crtView.getComment());
代码示例来源:origin: org.apache.lens/lens-cube
tbl.setProperty(org.apache.hadoop.hive.metastore.api.hive_metastoreConstants.META_TABLE_STORAGE,
crtTbl.getStorageHandler());
tbl.setProperty("comment", crtTbl.getComment());
tbl.setProperty("EXTERNAL", "TRUE");
tbl.setTableType(TableType.EXTERNAL_TABLE);
代码示例来源:origin: com.facebook.presto.hive/hive-apache
oldview.setFields(crtView.getSchema());
if (crtView.getComment() != null) {
oldview.setProperty("comment", crtView.getComment());
tbl.setFields(crtView.getSchema());
if (crtView.getComment() != null) {
tbl.setProperty("comment", crtView.getComment());
内容来源于网络,如有侵权,请联系作者删除!