243839 {
243840 auto table_name = ReplacementScan::GetFullPath(input);
243845 return nullptr;
243846 }
243847 auto table_function = make_uniq<TableFunctionRef>();
243848 vector<unique_ptr<ParsedExpression>> children;
243849 children.push_back(make_uniq<ConstantExpression>(Value(table_name)));
243850 table_function->function = make_uniq<FunctionExpression>("read_duckdb", std::move(children));
243851
243853 auto &fs = FileSystem::GetFileSystem(context);
243854 table_function->alias = fs.ExtractBaseName(table_name);
243855 }
243856 return std::move(table_function);
243857}
static DUCKDB_API bool HasGlob(const string &str)
Whether there is a glob in the string.
Definition duckdb.cpp:74130
static DUCKDB_API bool Contains(const string &haystack, const string &needle)
Returns true if the needle string exists in the haystack.
Definition duckdb.cpp:109323
static DUCKDB_API string Lower(const string &str)
Convert a string to lowercase.
Definition duckdb.cpp:109630
static DUCKDB_API bool EndsWith(const string &str, const string &suffix)
Returns true if the target string ends with the given suffix.
Definition duckdb.cpp:109384