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

XQuery: no index rewriting #1097

Closed
ChristianGruen opened this issue Mar 11, 2015 · 1 comment
Closed

XQuery: no index rewriting #1097

ChristianGruen opened this issue Mar 11, 2015 · 1 comment

Comments

@ChristianGruen
Copy link
Member

The following query is not rewritten to utilize the value index. This is probably because the database path information cannot be bound during Expr.compile, but only during Expr.optimize:

let $db := 'factbook'
for $city in db:open($db)//city
where $city/name = 'Berlin'
return $city
@ChristianGruen
Copy link
Member Author

Non-trivial; closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant