mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 12:01:58 +00:00
Disable DeltaLake and hudi table functions in readonly mode
This commit is contained in:
parent
aa855d86a1
commit
41b557f926
@ -13,7 +13,7 @@
|
|||||||
# include <Storages/StorageDelta.h>
|
# include <Storages/StorageDelta.h>
|
||||||
# include <Storages/StorageURL.h>
|
# include <Storages/StorageURL.h>
|
||||||
# include <Storages/checkAndGetLiteralArgument.h>
|
# include <Storages/checkAndGetLiteralArgument.h>
|
||||||
# include <TableFunctions/TableFunctionDelta.h>
|
# include <TableFunctions/TableFunctionDeltaLake.h>
|
||||||
# include <TableFunctions/TableFunctionFactory.h>
|
# include <TableFunctions/TableFunctionFactory.h>
|
||||||
# include "registerTableFunctions.h"
|
# include "registerTableFunctions.h"
|
||||||
|
|
||||||
@ -160,9 +160,9 @@ void registerTableFunctionDelta(TableFunctionFactory & factory)
|
|||||||
factory.registerFunction<TableFunctionDelta>(
|
factory.registerFunction<TableFunctionDelta>(
|
||||||
{.documentation
|
{.documentation
|
||||||
= {R"(The table function can be used to read the DeltaLake table stored on object store.)",
|
= {R"(The table function can be used to read the DeltaLake table stored on object store.)",
|
||||||
Documentation::Examples{{"hudi", "SELECT * FROM deltaLake(url, access_key_id, secret_access_key)"}},
|
Documentation::Examples{{"deltaLake", "SELECT * FROM deltaLake(url, access_key_id, secret_access_key)"}},
|
||||||
Documentation::Categories{"DataLake"}},
|
Documentation::Categories{"DataLake"}},
|
||||||
.allow_readonly = true});
|
.allow_readonly = false});
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
@ -162,7 +162,7 @@ void registerTableFunctionHudi(TableFunctionFactory & factory)
|
|||||||
= {R"(The table function can be used to read the Hudi table stored on object store.)",
|
= {R"(The table function can be used to read the Hudi table stored on object store.)",
|
||||||
Documentation::Examples{{"hudi", "SELECT * FROM hudi(url, access_key_id, secret_access_key)"}},
|
Documentation::Examples{{"hudi", "SELECT * FROM hudi(url, access_key_id, secret_access_key)"}},
|
||||||
Documentation::Categories{"DataLake"}},
|
Documentation::Categories{"DataLake"}},
|
||||||
.allow_readonly = true});
|
.allow_readonly = false});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user