Hi all, I would like to propose a new data type VECTOR(dimension, type) for dense numeric vectors such as embeddings. Compared to ARRAY<FLOAT>, the dimension is part of the schema and coordinates cannot be null, NaN, or infinite.
The new type should: - reject malformed vectors on write instead of at query time - map to Parquet's FINITE_VECTOR - improve data integrity for vector search and all vector functions overall More details can be found in SPIP: https://issues.apache.org/jira/browse/SPARK-58787 Your comments and feedback would be greatly appreciated. Best regards, Uros Stankovic Preuzmite Outlook za Android<https://aka.ms/AAb9ysg>
