Skip to content

PostgreSQL CUBE Data Type example in Milvus #6201

Discussion options

You must be logged in to vote

Milvus is a vector search database. Each vector is a float array like this: [1.0, 2.0, 3.0, ......, 100.0], user can insert million of such kind of vectors into milvus. Then user can give a vector to search, milvus will return the most similar vectors.
The PostgreSQL CUBE is a SQL statement, to group the sql result by column, like this:
SELECT c1, c2, sum(c3) FROM table_name GROUP BY CUBE (c1, c2);

Seem the CUBE result is not like a vector, could you give more information about your scenario?

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@yhmo
Comment options

@batara666
Comment options

@yhmo
Comment options

@batara666
Comment options

@yhmo
Comment options

Answer selected by batara666
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants