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

option to fail a read if not all series are found #231

Open
HomoCodens opened this issue Oct 12, 2020 · 2 comments
Open

option to fail a read if not all series are found #231

HomoCodens opened this issue Oct 12, 2020 · 2 comments
Milestone

Comments

@HomoCodens
Copy link
Collaborator

In a couple of projects now I've seen code fail after a db_ts_read(con, some_keys) because not all series in some_keys are present in the resulting list.

Rather than have each piece of code that relies on all series being read having to do a check we could add a "fail_if_missing" kind of option to db_ts_read that stops with a meaningful error if not all the requested keys can be read (because of access rights, release dates, missing altogether etc.).

@HomoCodens
Copy link
Collaborator Author

Or alternatively at least always give a warning so the error is easier to track down.

@HomoCodens HomoCodens added this to the CRAN milestone Jul 15, 2021
@omuelle
Copy link

omuelle commented Aug 6, 2021

Yes, I had similar issues. At least a warning would be nice. The reason should be given, e.g. insufficient access rights.

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

2 participants