[Feature](multi-catalog) support query hive views. (#18815)
A very simple implementation to query hive views, it is an EXPERIMENTAL feature. We can try to parse the ddl of hive views and try to execute the query relies on the fact that HiveQL is very similar to Doris SQL. But if the ddl of hive views use some complicated or incompatible grammar, the query might fail.
This commit is contained in:
@ -2012,6 +2012,13 @@ public class Config extends ConfigBase {
|
||||
@ConfField(mutable = true)
|
||||
public static boolean enable_func_pushdown = true;
|
||||
|
||||
/**
|
||||
* If set to true, doris will try to parse the ddl of a hive view and try to execute the query
|
||||
* otherwise it will throw an AnalysisException.
|
||||
*/
|
||||
@ConfField(mutable = true, expType = ExperimentalType.EXPERIMENTAL)
|
||||
public static boolean enable_query_hive_views = false;
|
||||
|
||||
/**
|
||||
* If set to true, doris will automatically synchronize hms metadata to the cache in fe.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user