Details
-
New Feature
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
Like ST_GeomFromText(), VEC_FromText() take a string with N floating point numbers (comma separated or not, in square brackets or not) and will return a binary string of N floats.
will return VECTOR(N) value, when we'll have such a type.
Like ST_AsText(), VEC_AsText() will take a binary string of N floats (or a VECTOR(N) value) and will return a text representation of it
Attachments
Issue Links
- is part of
-
MDEV-34939 vector search in 11.7
- Closed
- relates to
-
MDEV-32885 VEC_DISTANCE() function
- Closed
-
MDEV-32887 vector search
- Stalled
-
MDEV-33410 VECTOR data type
- Closed
It seems like it would be cleaner if instead of calling text2binary and binary2text functions all the time the default input / output format is a string that conforms to a JSON array. The internal representation can of course be binary. So in clients, like Connector/J, you can just set/get a string for the values.