use of org.apache.hadoop.hive.ql.ddl.table.misc.properties.AlterTableUnsetPropertiesDesc in project hive by apache.
the class SemanticAnalyzer method setStatsForNonNativeTable.
private void setStatsForNonNativeTable(String dbName, String tableName) throws SemanticException {
TableName qTableName = HiveTableName.ofNullable(tableName, dbName);
Map<String, String> mapProp = new HashMap<>();
mapProp.put(StatsSetupConst.COLUMN_STATS_ACCURATE, null);
AlterTableUnsetPropertiesDesc alterTblDesc = new AlterTableUnsetPropertiesDesc(qTableName, null, null, false, mapProp, false, null);
this.rootTasks.add(TaskFactory.get(new DDLWork(getInputs(), getOutputs(), alterTblDesc)));
}
Aggregations