odd-platform icon indicating copy to clipboard operation
odd-platform copied to clipboard

Blank screen while trying to open a PostgreSQL vector store in Directory Tab

Open amomra opened this issue 1 year ago • 1 comments

Describe the bug

A blank screen is shown when I try to open a PostgreSQL vector store in the Directory Tab. This vector store is a PostgreSQL server version 17 and uses the pgvector extension for vector capabilities.

Set up

I'm testing with the latest tag from ghcr.io/opendatadiscovery/odd-platform image (version: 0.27.5) running in a Kubernetes cluster.

Steps to Reproduce Steps to reproduce the behavior:

  1. Configure a collector to collect data from a PostgreSQL vector database using pgvector
  2. Open Directory tab
  3. Select Postgresql
  4. Select the data source created by the collector

Expected behavior

To directory tab to open correctly.

Screenshots

This is what is shown in the browser console when I try to open the data source in the Directory tab:

image

Further investigation shown that this error occurs because the function get called cannot found the key VECTOR_STORE and returns undefined, which causes the error. The following image shows the correct return for another key:

image

And the next image shows the return for the key VECTOR_STORE:

image

amomra avatar Nov 14 '24 13:11 amomra

@amomra Hello. I have managed to reproduce the issue, you are right it is a bug. Though it is not on collector side and refers only to the Directories tab and vector store source items representation in UI (frontend side). So at least you still can see the entities from Vector store in the "Catalog" section of platform and investigate them.

image image

I have added the "frontend" mark on the bug, we will fix it as soon as we have the capability for frontend tasks. Thanks for your research!

ValeriyWorld avatar Nov 27 '24 05:11 ValeriyWorld