Skip to content

Commit

Permalink
remove fts
Browse files Browse the repository at this point in the history
  • Loading branch information
lnkuiper committed Nov 15, 2024
1 parent ba98104 commit bd87214
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions src/main/extension/extension_helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@
#define DUCKDB_EXTENSION_TPCDS_LINKED false
#endif

#ifndef DUCKDB_EXTENSION_FTS_LINKED
#define DUCKDB_EXTENSION_FTS_LINKED false
#endif

#ifndef DUCKDB_EXTENSION_HTTPFS_LINKED
#define DUCKDB_EXTENSION_HTTPFS_LINKED false
#endif
Expand Down Expand Up @@ -82,10 +78,6 @@
#include "tpcds_extension.hpp"
#endif

#if DUCKDB_EXTENSION_FTS_LINKED
#include "fts_extension.hpp"
#endif

#if DUCKDB_EXTENSION_HTTPFS_LINKED
#include "httpfs_extension.hpp"
#endif
Expand Down Expand Up @@ -116,7 +108,6 @@ static const DefaultExtension internal_extensions[] = {
{"parquet", "Adds support for reading and writing parquet files", DUCKDB_EXTENSION_PARQUET_LINKED},
{"tpch", "Adds TPC-H data generation and query support", DUCKDB_EXTENSION_TPCH_LINKED},
{"tpcds", "Adds TPC-DS data generation and query support", DUCKDB_EXTENSION_TPCDS_LINKED},
{"fts", "Adds support for Full-Text Search Indexes", DUCKDB_EXTENSION_FTS_LINKED},
{"httpfs", "Adds support for reading and writing files over a HTTP(S) connection", DUCKDB_EXTENSION_HTTPFS_LINKED},
{"json", "Adds support for JSON operations", DUCKDB_EXTENSION_JSON_LINKED},
{"jemalloc", "Overwrites system allocator with JEMalloc", DUCKDB_EXTENSION_JEMALLOC_LINKED},
Expand All @@ -134,6 +125,7 @@ static const DefaultExtension internal_extensions[] = {
{"iceberg", "Adds support for Apache Iceberg", false},
{"vss", "Adds indexing support to accelerate Vector Similarity Search", false},
{"delta", "Adds support for Delta Lake", false},
{"fts", "Adds support for Full-Text Search Indexes", false},
{nullptr, nullptr, false}};

idx_t ExtensionHelper::DefaultExtensionCount() {
Expand Down Expand Up @@ -414,8 +406,8 @@ void ExtensionHelper::LoadAllExtensions(DuckDB &db) {
// The in-tree extensions that we check. Non-cmake builds are currently limited to these for static linking
// TODO: rewrite package_build.py to allow also loading out-of-tree extensions in non-cmake builds, after that
// these can be removed
vector<string> extensions {"parquet", "icu", "tpch", "tpcds", "fts", "httpfs",
"json", "excel", "inet", "jemalloc", "autocomplete", "core_functions"};
vector<string> extensions {"parquet", "icu", "tpch", "tpcds", "httpfs", "json",
"excel", "inet", "jemalloc", "autocomplete", "core_functions"};
for (auto &ext : extensions) {
LoadExtensionInternal(db, ext, true);
}
Expand Down Expand Up @@ -502,13 +494,6 @@ ExtensionLoadResult ExtensionHelper::LoadExtensionInternal(DuckDB &db, const std
#else
// icu extension required but not build: skip this test
return ExtensionLoadResult::NOT_LOADED;
#endif
} else if (extension == "fts") {
#if DUCKDB_EXTENSION_FTS_LINKED
// db.LoadStaticExtension<FtsExtension>();
#else
// fts extension required but not build: skip this test
return ExtensionLoadResult::NOT_LOADED;
#endif
} else if (extension == "httpfs") {
#if DUCKDB_EXTENSION_HTTPFS_LINKED
Expand Down

0 comments on commit bd87214

Please sign in to comment.