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
ORDER BY support #4
Comments
updated above with more detail. |
So it looks like the problem is the table name in the column definition i.e. 'app_MODELindex.date' vs. 'date'. Again, this is valid syntax that Sphinx is choking on. I will file a bug with them, while also removing the table names from the generated SQL. This approach will make things work, the need for the table name in the column definition is in the case of multi-table queries (JOINs), which SphinxQL has no occasion to do anyway. So, we should not really be missing anything with the absence of the table names. |
Add-on to comment above: However, it would be nice if Sphinx simply "ate" these table names and ignored them. That would make it more compatible with SQL syntax. |
Opened issue upstream. |
I have not found the place in the sql api to pluck out the table names for a temporary hack, do you have any insight on this? |
I will take a look and get back to you. I have a couple items to tick off today, after that I can dig into it. |
поддержка aggregate(Sum)
sphinx again has issues with the sql statement.
errors:
i debugged the query sent to sphinx a bit:
This doesn't work:
These do however:
The text was updated successfully, but these errors were encountered: