[KongchangAI]
· 2 min read· 1,493 words

Lakegres: Vector Search on Existing Open Table Formats

Lakegres: Vector Search on Existing Open Table Formats

Lakegres attempts to provide vector search directly on open table formats like Hudi and Iceberg, eliminating data movement.

Lakegres is an early project on Hacker News that advocates not migrating data, but directly providing vector retrieval on open lakehouse tables such as Open Table Format, Hudi, and Iceberg. The article notes that current RAG pipelines generally require moving data from the data lake to dedicated vector databases, incurring hidden costs like data copies, synchronization pipelines, and consistency windows. Lakegres treats vectors as ordinary columns, reusing lakehouse metadata and file layout to build indexes, positioning itself closer to a query layer than a storage layer, thus offering advantages in hybrid retrieval and index rebuild flexibility. However, it cannot replace dedicated vector databases in high-concurrency low-latency scenarios, and the project is still early with performance metrics not yet public.

Data lake table formats (Open Table Format) are becoming the default choice for modern data architectures. Open standards like Hudi, Iceberg, and Delta allow massive amounts of data to exist independently of any specific compute engine. But a long-overlooked problem remains: when AI applications need vector retrieval, data stored in the data lake often has to be moved through an extra step before it can enter a dedicated vector database.

Lakegres attempts to solve this gap. The project was published on Hacker News under the title "Vector search on existing Open/Hudi/Iceberg tables," and its core proposition is straightforward—no data migration, providing vector search capabilities directly on top of existing open table formats.

The "Data Movement Tax" of Vector Databases

Current mainstream RAG and semantic retrieval solutions generally follow the same pipeline: raw data is written to a data lake or object storage, then ETL jobs clean and chunk it, call embedding models to generate vectors, and finally write them to a dedicated vector database. This process works, but the costs are clear: an extra data copy, an additional synchronization pipeline that needs maintenance, and an unavoidable consistency window between the lakehouse and the vector database.

For enterprises that have already built data governance systems on Hudi and Iceberg, adding a vector database means redrawing data lineage, permission controls, and audit boundaries. Lakegres targets exactly this hidden cost.

Open Table Format refers to table-layer abstractions defined by open specifications, such as Iceberg, Hudi, and Delta Lake. They maintain metadata on top of data files (usually Parquet/ORC), recording file manifests, partition structures, snapshots, and commit logs. It is this metadata layer that allows different engines like Spark, Trino, and Flink to recognize a consistent view of the same table, and supports time travel and incremental reads. Therefore, when new query capabilities (such as vector retrieval) want to integrate, in principle they only need to understand this metadata layer and file layout to locate data files, without copying the underlying data—this is exactly the feasibility basis for solutions like Lakegres. Understanding this helps judge its capability boundaries: how fast vector index construction can be depends largely on whether it can efficiently consume snapshots and file manifests, rather than relying solely on brute-force scanning.

Treating Vectors as Part of the Table

Lakegres's design approach is to make vectors an ordinary column in the open table format, rather than a separate independent storage system. This way, vector retrieval and structured filtering can be completed on the same dataset within the same table, avoiding the problem of assembling results from cross-system queries. For hybrid retrieval scenarios that require "first filter by business fields, then sort by similarity," this native positional advantage is quite obvious.

Hybrid Search refers to applying both structured conditions (such as tenant ID, time range, status fields) and vector similarity ranking in a single query, usually accompanied by keyword search, and then fusing or reranking the multiple result sets. In a separated architecture, such queries often require first issuing filters to the data lake to get candidate primary keys, then issuing nearest-neighbor searches to the vector database, and finally intersecting or merging at the application layer—a long pipeline affected by consistency windows. If vectors are stored as ordinary columns in the same table as business fields, filtering and nearest-neighbor ranking can be executed on the same dataset, and the optimizer has the opportunity to first prune partitions and files, then compute distances on the candidate set, reducing wasted computation and cross-system round trips. This is also the main source of benefit for "vectors as part of the table" compared to independent vector databases in analytical scenarios.

Lakegres's Technical Path and Positioning

Reusing Lakehouse Metadata Instead of Rebuilding Indexes

From the information revealed in the project title, the key to Lakegres lies in directly reading the metadata and file layout of Open/Hudi/Iceberg tables and building vector indexes on that basis. This means it is closer to a "query layer" than a "storage layer"—data is still managed by the existing lakehouse ecosystem, and Lakegres is responsible for providing vector capabilities during retrieval.

The advantage of this layered design is strong reversibility: if the vector index fails or the embedding model needs to be changed, the underlying data is unaffected, and the cost of rebuilding the index is confined to the retrieval layer. This is more flexible than hardcoding vectors into an independent database.

Vector indexes commonly take forms such as HNSW and IVF-PQ, which are approximate nearest neighbor (ANN) structures. They typically need to build graphs or cluster centers in memory or on local disk, trading a small amount of recall for orders-of-magnitude lower query latency. Placing such indexes on object storage faces obvious constraints: object storage is characterized by high throughput, high latency, and per-request billing, lacks random-read optimization, and index structures are difficult to access randomly as frequently as local SSDs. Therefore, implementing vector retrieval on lakehouse files usually requires additional caching layers, externalized indexes (placing indexes on compute nodes locally or in independent cache services), or partition-level coarse filtering strategies. This also explains why such solutions are better suited for scenarios with moderate query frequency and tolerance for higher P99 latency, while high-concurrency low-latency workloads still require careful evaluation.

Boundaries with Dedicated Vector Databases

It should be viewed objectively that solutions like Lakegres cannot fully replace dedicated vector databases. Dedicated vector databases have deep engineering accumulation in high-concurrency, low-latency retrieval and large-scale index optimization, while directly querying lakehouse files is naturally constrained by the IO characteristics of object storage. Lakegres is better suited for analytical or internal AI applications where the data is already on the lake, query frequency is moderate, and additional data copies are undesirable.

The discussion heat of this post on Hacker News (9 points, 2 comments) indicates it is still in an early attention stage, and the community still needs to verify its actual performance and index construction methods.

Implications for the AI Data Stack

"Don't Move Data" Is Becoming a Consensus Direction

Lakegres reflects a broader trend: the AI data stack is shifting from "building a dedicated database for each workload" to "layering multiple query capabilities on unified storage." Vector retrieval, once considered a workload that must have its own dedicated database, is now beginning to be treated as part of lakehouse capabilities. This is in line with the long-standing database principle of "avoiding unnecessary data movement."

The Value of Open Table Formats Is Amplified Again

Open formats like Hudi and Iceberg initially solved the problem of compute engine lock-in, allowing Spark, Trino, Flink, and others to share the same data. When vector search also integrates into this layer, open table formats become the data foundation for AI applications—data is written once and read by multiple workloads. For teams already heavily invested in lakehouse architectures, the migration cost of this evolutionary path is significantly lower than building a vector database from scratch.

Of course, the information currently disclosed about Lakegres is limited. Key questions such as index construction strategy, query latency, and the degree of support for incremental writes have no public data support yet. It is worth watching, but for now it is better evaluated as an alternative direction in architecture selection rather than an immediately usable production solution.

FAQ

Which table formats does Lakegres support? From the project title, it covers Open Table Format as well as Hudi and Iceberg, making it a vector retrieval solution for open lakehouse formats.

What is its relationship with dedicated vector databases? It is positioned more as a query layer on top of the lakehouse, suitable for scenarios where data movement is undesirable; dedicated vector databases still have advantages in high-concurrency low-latency scenarios, so the two are more likely complementary than replacements.

Can it be used in production now? The project is still early, community discussion is limited, and key performance metrics are not public. It is recommended to track it as a technical direction.

One-line Summary

Lakegres attempts to provide vector search directly on open table formats like Hudi and Iceberg, eliminating data movement.

Paragraph Summary

Lakegres is an early project published on Hacker News that advocates not migrating data, but directly providing vector retrieval capabilities on open lakehouse tables such as Open Table Format, Hudi, and Iceberg. The article points out that current RAG pipelines generally require moving data from the data lake to dedicated vector databases, bringing hidden costs such as data copies, synchronization pipelines, and consistency windows. Lakegres treats vectors as ordinary columns in the table, reusing lakehouse metadata and file layout to build indexes, positioning itself closer to a query layer than a storage layer, thus offering advantages in hybrid retrieval and index rebuild flexibility. However, it is unlikely to replace the engineering accumulation of dedicated vector databases in high-concurrency low-latency scenarios, and the project is still early, with index construction methods and performance metrics not yet public.

#Lakegres#vector search#open table format#Hudi#Iceberg#vector database#data lake#RAG#hybrid search
Share:

Related articles