[Test](statistics) Add test cases for external table statistics (#26511)
1. Test for close and open auto collection for external catalog. 2. Test for analyze table table_name (column) and whole table.
This commit is contained in:
@ -104,6 +104,9 @@ public abstract class ExternalCatalog
|
||||
private ExternalSchemaCache schemaCache;
|
||||
private String comment;
|
||||
|
||||
public ExternalCatalog() {
|
||||
}
|
||||
|
||||
public ExternalCatalog(long catalogId, String name, InitCatalogLog.Type logType, String comment) {
|
||||
this.id = catalogId;
|
||||
this.name = name;
|
||||
|
||||
@ -70,6 +70,10 @@ public class HMSExternalCatalog extends ExternalCatalog {
|
||||
// 0 means file cache is disabled; >0 means file cache with ttl;
|
||||
public static final int FILE_META_CACHE_TTL_DISABLE_CACHE = 0;
|
||||
|
||||
public HMSExternalCatalog() {
|
||||
catalogProperty = new CatalogProperty(null, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Default constructor for HMSExternalCatalog.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user