Skip to content

Commit a64d223

Browse files
authored
Merge pull request #717 from Altinity/antalya-25.2-fix
Fix after merge
2 parents fbb54fe + b138f86 commit a64d223

File tree

1 file changed

+0
-65
lines changed

1 file changed

+0
-65
lines changed

Diff for: src/TableFunctions/TableFunctionObjectStorage.cpp

-65
Original file line numberDiff line numberDiff line change
@@ -140,17 +140,6 @@ void registerTableFunctionObjectStorage(TableFunctionFactory & factory)
140140
{
141141
UNUSED(factory);
142142
#if USE_AWS_S3
143-
factory.registerFunction<TableFunctionObjectStorage<S3Definition, StorageS3Configuration>>(
144-
{
145-
.documentation =
146-
{
147-
.description=R"(The table function can be used to read the data stored on AWS S3.)",
148-
.examples{{"s3", "SELECT * FROM s3(url, access_key_id, secret_access_key)", ""}
149-
},
150-
.category{""}},
151-
.allow_readonly = false
152-
});
153-
154143
factory.registerFunction<TableFunctionObjectStorage<GCSDefinition, StorageS3Configuration>>(
155144
{
156145
.documentation =
@@ -234,29 +223,6 @@ void registerTableFunctionIceberg(TableFunctionFactory & factory)
234223
.examples{{"iceberg", "SELECT * FROM iceberg(url, access_key_id, secret_access_key)", ""}},
235224
.category{""}},
236225
.allow_readonly = false});
237-
factory.registerFunction<TableFunctionIcebergS3>(
238-
{.documentation
239-
= {.description = R"(The table function can be used to read the Iceberg table stored on S3 object store.)",
240-
.examples{{"icebergS3", "SELECT * FROM icebergS3(url, access_key_id, secret_access_key)", ""}},
241-
.category{""}},
242-
.allow_readonly = false});
243-
244-
#endif
245-
#if USE_AZURE_BLOB_STORAGE
246-
factory.registerFunction<TableFunctionIcebergAzure>(
247-
{.documentation
248-
= {.description = R"(The table function can be used to read the Iceberg table stored on Azure object store.)",
249-
.examples{{"icebergAzure", "SELECT * FROM icebergAzure(url, access_key_id, secret_access_key)", ""}},
250-
.category{""}},
251-
.allow_readonly = false});
252-
#endif
253-
#if USE_HDFS
254-
factory.registerFunction<TableFunctionIcebergHDFS>(
255-
{.documentation
256-
= {.description = R"(The table function can be used to read the Iceberg table stored on HDFS virtual filesystem.)",
257-
.examples{{"icebergHDFS", "SELECT * FROM icebergHDFS(url)", ""}},
258-
.category{""}},
259-
.allow_readonly = false});
260226
#endif
261227
factory.registerFunction<TableFunctionIcebergLocal>(
262228
{.documentation
@@ -268,42 +234,11 @@ void registerTableFunctionIceberg(TableFunctionFactory & factory)
268234
#endif
269235

270236

271-
#if USE_AWS_S3
272-
#if USE_PARQUET && USE_DELTA_KERNEL_RS
273-
void registerTableFunctionDeltaLake(TableFunctionFactory & factory)
274-
{
275-
factory.registerFunction<TableFunctionDeltaLake>(
276-
{.documentation
277-
= {.description = R"(The table function can be used to read the DeltaLake table stored on object store.)",
278-
.examples{{"deltaLake", "SELECT * FROM deltaLake(url, access_key_id, secret_access_key)", ""}},
279-
.category{""}},
280-
.allow_readonly = false});
281-
}
282-
#endif
283-
284-
void registerTableFunctionHudi(TableFunctionFactory & factory)
285-
{
286-
factory.registerFunction<TableFunctionHudi>(
287-
{.documentation
288-
= {.description = R"(The table function can be used to read the Hudi table stored on object store.)",
289-
.examples{{"hudi", "SELECT * FROM hudi(url, access_key_id, secret_access_key)", ""}},
290-
.category{""}},
291-
.allow_readonly = false});
292-
}
293-
294-
#endif
295-
296237
void registerDataLakeTableFunctions(TableFunctionFactory & factory)
297238
{
298239
UNUSED(factory);
299240
#if USE_AVRO
300241
registerTableFunctionIceberg(factory);
301242
#endif
302-
#if USE_AWS_S3
303-
#if USE_PARQUET && USE_DELTA_KERNEL_RS
304-
registerTableFunctionDeltaLake(factory);
305-
#endif
306-
registerTableFunctionHudi(factory);
307-
#endif
308243
}
309244
}

0 commit comments

Comments
 (0)