feat(hudi-query): 增加判断hudi表和hdfs路径是否存在的方法
This commit is contained in:
@@ -55,4 +55,13 @@ public interface HudiService {
|
||||
|
||||
@Get("/table/schema_hdfs")
|
||||
ImmutableMap<String, Object> schema(@Query("hdfs") String hdfs);
|
||||
|
||||
@Get("/hdfs/exists_hudi_table_by_flink_job_id_alias")
|
||||
Boolean existsHudiTable(@Query("flink_job_id") Long flinkJobId, @Query("alias") String alias);
|
||||
|
||||
@Get("/hdfs/exists_hudi_table_by_hdfs")
|
||||
Boolean existsHudiTable(@Query("hdfs") String hdfs);
|
||||
|
||||
@Get("/hdfs/exists_path")
|
||||
Boolean existsPath(@Query("hdfs") String hdfs);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user