Skip to content

Comments

use binary float vectors in prepared statemets#4270

Open
klirichek wants to merge 2 commits intomasterfrom
fvec
Open

use binary float vectors in prepared statemets#4270
klirichek wants to merge 2 commits intomasterfrom
fvec

Conversation

@klirichek
Copy link
Contributor

  • New feature

reformat/use switch instead of 'if' to mininize actual changes
this should be pushed via 'send_long_data' (internal mysql type
LONG_BLOB, mysql internal type ID 251). Placeholder should be injected
as "?FVEC?". In this case incoming blob will be regarded as array of
floats (each float = 4 bytes in IEEE 754, LE), and will be used verbatim
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant