mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +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/StorageURL.h>
|
||||
# include <Storages/checkAndGetLiteralArgument.h>
|
||||
# include <TableFunctions/TableFunctionDelta.h>
|
||||
# include <TableFunctions/TableFunctionDeltaLake.h>
|
||||
# include <TableFunctions/TableFunctionFactory.h>
|
||||
# include "registerTableFunctions.h"
|
||||
|
||||
@ -160,9 +160,9 @@ void registerTableFunctionDelta(TableFunctionFactory & factory)
|
||||
factory.registerFunction<TableFunctionDelta>(
|
||||
{.documentation
|
||||
= {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"}},
|
||||
.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.)",
|
||||
Documentation::Examples{{"hudi", "SELECT * FROM hudi(url, access_key_id, secret_access_key)"}},
|
||||
Documentation::Categories{"DataLake"}},
|
||||
.allow_readonly = true});
|
||||
.allow_readonly = false});
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user