From 242bbe1897e83befe3cbbdf925fd4ee30b6b8bf8 Mon Sep 17 00:00:00 2001 From: ayush chaurasia Date: Mon, 24 Jun 2024 16:39:03 +0530 Subject: [PATCH] use promote_options with concat_tables --- python/python/lancedb/rerankers/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/python/lancedb/rerankers/base.py b/python/python/lancedb/rerankers/base.py index d3881741..d4ed14ed 100644 --- a/python/python/lancedb/rerankers/base.py +++ b/python/python/lancedb/rerankers/base.py @@ -119,7 +119,7 @@ class Reranker(ABC): fts_results : pa.Table The results from the FTS search """ - combined = pa.concat_tables([vector_results, fts_results], promote=True) + combined = pa.concat_tables([vector_results, fts_results], promote_options=u"default") row_id = combined.column("_rowid") # deduplicate