15 package com.cloudera.impala.analysis;
18 import com.cloudera.impala.thrift.TAlterTableParams;
19 import com.cloudera.impala.thrift.TAlterTableSetFileFormatParams;
20 import com.cloudera.impala.thrift.TAlterTableType;
21 import com.cloudera.impala.thrift.THdfsFileFormat;
31 super(tableName, partitionSpec);
32 this.fileFormat_ = fileFormat;
39 TAlterTableParams params = super.toThrift();
40 params.setAlter_type(TAlterTableType.SET_FILE_FORMAT);
41 TAlterTableSetFileFormatParams fileFormatParams =
46 params.setSet_file_format_params(fileFormatParams);
52 super.analyze(analyzer);
PartitionSpec getPartitionSpec()