From afcfbc87d9b1e88fc248391117227d4e23496483 Mon Sep 17 00:00:00 2001 From: chiangchenghsin-hash Date: Thu, 23 Jul 2026 20:05:25 +0800 Subject: [PATCH] fix: accept STANDALONE_TABLE_FUNCTION_ENTRY in bindInQueryCall Fixes CREATE_VECTOR_INDEX returning "not a table or algorithm function" from Node.js API. The function is registered as STANDALONE_TABLE_FUNCTION_ENTRY but bindInQueryCall only matched TABLE_FUNCTION_ENTRY. --- src/binder/bind/read/bind_in_query_call.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/binder/bind/read/bind_in_query_call.cpp b/src/binder/bind/read/bind_in_query_call.cpp index 61cd586e19..a0d88c2579 100644 --- a/src/binder/bind/read/bind_in_query_call.cpp +++ b/src/binder/bind/read/bind_in_query_call.cpp @@ -25,7 +25,8 @@ std::unique_ptr Binder::bindInQueryCall(const ReadingClause& auto transaction = transaction::Transaction::Get(*clientContext); auto entry = Catalog::Get(*clientContext)->getFunctionEntry(transaction, functionName); switch (entry->getType()) { - case CatalogEntryType::TABLE_FUNCTION_ENTRY: { + case CatalogEntryType::TABLE_FUNCTION_ENTRY: + case CatalogEntryType::STANDALONE_TABLE_FUNCTION_ENTRY: { auto boundTableFunction = bindTableFunc(functionName, *functionExpr, call.getYieldVariables()); boundReadingClause =