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

Scanning views crashes when offset is of a different type #16

Open
swankjesse opened this issue Sep 23, 2020 · 1 comment
Open

Scanning views crashes when offset is of a different type #16

swankjesse opened this issue Sep 23, 2020 · 1 comment

Comments

@swankjesse
Copy link
Contributor

I created a heterogeneous table of albums and tracks.

I scanned tracks and it crashed because one of the results was an album INFO_ item. So I added a filter expression.

Then I scanned and it crashed because the offset was an album INFO_, but scan attempted to convert it to a track key.

@zhxnlai
Copy link
Collaborator

zhxnlai commented Jan 17, 2021

IIRC, the solution was to create a view that is a union of both types and has empty string prefix. You will need to explicitly convert this union type to albums or tracks.

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

2 participants