-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Support MariaDB 11.7 in the MariaDB vector store integration #17497
Support MariaDB 11.7 in the MariaDB vector store integration #17497
Conversation
To learn more about the feature, check the [Vector Overview](https://mariadb.com/kb/en/vector-overview/) in the MariaDB docs. | ||
To learn more about the feature in MariaDB, check its [Vector Overview documentation](https://mariadb.com/kb/en/vector-overview/). | ||
|
||
Please note that versions before `0.0.3` of this package are not compatible with MariaDB 11.7 and later. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: 0.3.0*
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but is it possible to check in the class itself the current mariadb version and raise an error as needed?
…ration The complex query we used before is not needed now because the bug MDEV-34774 is fixed in MariaDB 11.7.
dc70a20
to
db6ac68
Compare
Rebased from |
Description
Update the MariaDB vector store integration to work with MariaDB 11.7.
Currently, it is working only for the one-off MariaDB 11.6 Vector Preview release which is not supported further. 11.7 is the next LTS (long-term support) release of MariaDB so with the changes here we should be able to use MariaDB and LlamaIndex for production workloads and not only for investigation purposes.
There are significant differences between the SQL syntax in MariaDB between the vector preview release and 11.7 which means that older version of the integration cannot work with MariaDB 11.7, and the code here doesn't work with the MariaDB 11.6 Vector Preview release. It doesn't make sense to spent time on support since MariaDB 11.6 Vector Preview was a one-off release and is not supported.
Version Bump
Did I bump the version in the
pyproject.toml
file of the package I am updating? (Except for thellama-index-core
package)Type of Change
Please delete options that are not relevant.
How Has This Been Tested?
Your pull-request will likely not be merged unless it is covered by some form of impactful unit testing.
Suggested Checklist:
make format; make lint
to appease the lint gods