mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
icebergLocalCluster table function
This commit is contained in:
@@ -70,7 +70,8 @@ StoragePtr TableFunctionObjectStorageCluster<Definition, Configuration, is_data_
|
||||
columns,
|
||||
ConstraintsDescription{},
|
||||
Base::partition_by,
|
||||
context);
|
||||
context,
|
||||
/* is_table_function */true);
|
||||
}
|
||||
|
||||
storage->startup();
|
||||
@@ -131,6 +132,13 @@ void registerTableFunctionIcebergCluster(TableFunctionFactory & factory)
|
||||
{
|
||||
UNUSED(factory);
|
||||
|
||||
factory.registerFunction<TableFunctionIcebergLocalCluster>(
|
||||
{.documentation
|
||||
= {.description = R"(The table function can be used to read the Iceberg table stored on shared storage in parallel for many nodes in a specified cluster.)",
|
||||
.examples{{IcebergLocalClusterDefinition::name, "SELECT * FROM icebergLocalCluster(cluster, filename, format, [,compression])", ""}},
|
||||
.category = FunctionDocumentation::Category::TableFunction},
|
||||
.allow_readonly = false});
|
||||
|
||||
#if USE_AWS_S3
|
||||
factory.registerFunction<TableFunctionIcebergCluster>(
|
||||
{.documentation
|
||||
|
||||
Reference in New Issue
Block a user