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

Slots without blocks will be missing from the dataset #30

Closed
rhyslbw opened this issue Oct 2, 2019 · 1 comment
Closed

Slots without blocks will be missing from the dataset #30

rhyslbw opened this issue Oct 2, 2019 · 1 comment
Labels

Comments

@rhyslbw
Copy link
Contributor

rhyslbw commented Oct 2, 2019

Due to the underlying data structure slots without blocks will not appear in the current query result sets. Initially this was implemented but presented a significant performance tax when joining objects to a view already derived from a recursive CTE.

This is an important domain-specific query relating to Stake Pool performance, so while a natural query expression of:

{
  Slot(where: {block: {id: {_is_null: true}}}) {
    number
  }
}

...will return no results, a specific query for stakePoolPerformance can be implemented without compromising performance, and provide greater value to the consumer

@rhyslbw rhyslbw added the BUG label Oct 2, 2019
@rhyslbw
Copy link
Contributor Author

rhyslbw commented May 29, 2020

No longer relevant

@rhyslbw rhyslbw closed this as completed May 29, 2020
rvl pushed a commit that referenced this issue Dec 14, 2020
[#30] Add `assertEitherIsRight` & `assertEitherIsLeft` functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant