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

Columns w/ INDEX OFF cannot be aggregated. #790

Closed
jeffnappi opened this issue May 18, 2014 · 3 comments
Closed

Columns w/ INDEX OFF cannot be aggregated. #790

jeffnappi opened this issue May 18, 2014 · 3 comments

Comments

@jeffnappi
Copy link

Just discovered this when attempting to sum() some statistics columns that I had set to INDEX OFF.

At a minimum the documentation should be updated to reflect that this is the case.

@dobe
Copy link
Contributor

dobe commented May 19, 2014

jep, you are right. we'll document it - this issue will be updated once we have this on master.

the background is, that internally fieldcaches are used for aggregation, which only exist for indexed fields.

thanks, bernd

@jeffnappi
Copy link
Author

Great, that makes sense.

@lukasender
Copy link
Contributor

@jeffnappi A new release has just been published. A short section explaining the behaviour of non-indexed fields has been added. https://crate.io/docs/stable/sql/ddl.html#indices-and-fulltext-search

thank you very much for your help! :)

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

3 participants