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

Bug - Floats cast as Strings cause Sphinx Error #6

Open
Bastlynn opened this issue Feb 11, 2021 · 1 comment
Open

Bug - Floats cast as Strings cause Sphinx Error #6

Bastlynn opened this issue Feb 11, 2021 · 1 comment

Comments

@Bastlynn
Copy link

In Sphinx::quoteValue() - passed in float values will end up getting quoted as strings. Sphinx will then throw an error complaining about the type mismatch between a string and a float column.

@Bastlynn
Copy link
Author

Following up on this - it looks like Sphinx gets picky about the float type not accepting ints for comparison when upgrading from version Sphinx 2.2.11-id64-release to 2.3.1-beta. So this is a bug people are gonna hit when the beta is released.

Relevant builds:
https://launchpad.net/~builds/+archive/ubuntu/sphinxsearch-daily
https://launchpad.net/~builds/+archive/ubuntu/sphinxsearch-beta

I'm testing a fix in my LDE now, when it's ready I'll do a PR and add tests for it.

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