Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve PQ API #288

Open
6 tasks done
Ngalstyan4 opened this issue Feb 19, 2024 · 0 comments
Open
6 tasks done

Improve PQ API #288

Ngalstyan4 opened this issue Feb 19, 2024 · 0 comments

Comments

@Ngalstyan4
Copy link
Contributor

Ngalstyan4 commented Feb 19, 2024

  • Add drop_quantization API that deletes all PQ-quantization resources associated with a table
  • Add relevant hooks to make sure all quantization resources and table hooks are deleted when the lantern extension is deleted (table may already automatically get deleted since they are on _lantern_internal schema. we might need to do something for triggers though)
  • qurrent api has quantize_vector but decompress_vector. switch to quantize/dequantize language
  • make quantize_table work with all kinds of table names and formattings (currently not working when table name has mixed case. This method of quoting fixes regclass literal representation at callsite, but something is not properly escaped within the plpgsql function definition, so the call fails
  • define pqvec casts in sql (pqvec to int array and int array to pqvec)
  • allow quantizing subset of a table - will result in lower quality vectors but will speed up the process
var77 added a commit that referenced this issue Feb 20, 2024
- Add drop_quantization API that deletes all PQ-quantization resources associated with a table
- Make sure all quantization resources and table hooks are deleted when the lantern extension is deleted
- Current api has quantize_vector but decompress_vector. switch to quantize/dequantize language
- Make quantize_table work with all kinds of table names and formattings
- Allow quantizing subset of a table
var77 added a commit that referenced this issue Feb 20, 2024
- Add drop_quantization API that deletes all PQ-quantization resources associated with a table
- Make sure all quantization resources and table hooks are deleted when the lantern extension is deleted
- Current api has quantize_vector but decompress_vector. switch to quantize/dequantize language
- Make quantize_table work with all kinds of table names and formattings
- Allow quantizing subset of a table
var77 added a commit that referenced this issue Feb 21, 2024
- Add drop_quantization API that deletes all PQ-quantization resources associated with a table
- Make sure all quantization resources and table hooks are deleted when the lantern extension is deleted
- Current api has quantize_vector but decompress_vector. switch to quantize/dequantize language
- Make quantize_table work with all kinds of table names and formattings
- Allow quantizing subset of a table
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

No branches or pull requests

1 participant