[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:
Xiangyu Wang
2023-04-24 08:49:26 +08:00
committed by GitHub
parent 0dd45ce158
commit 2d7903e2bd
7 changed files with 513 additions and 6 deletions

View File

@ -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.
*/