mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
add documentation
This commit is contained in:
parent
6f6a1f5d76
commit
eebc5349cc
@ -158,7 +158,12 @@ StoragePtr TableFunctionDelta::executeImpl(
|
||||
|
||||
void registerTableFunctionDelta(TableFunctionFactory & factory)
|
||||
{
|
||||
factory.registerFunction<TableFunctionDelta>({.documentation = {}, .allow_readonly = true});
|
||||
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::Categories{"DataLake"}},
|
||||
.allow_readonly = true});
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -158,9 +158,13 @@ StoragePtr TableFunctionHudi::executeImpl(
|
||||
|
||||
void registerTableFunctionHudi(TableFunctionFactory & factory)
|
||||
{
|
||||
factory.registerFunction<TableFunctionHudi>({.documentation = {}, .allow_readonly = true});
|
||||
factory.registerFunction<TableFunctionHudi>(
|
||||
{.documentation
|
||||
= {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});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user