question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE] Check if a dataset already exists

See original GitHub issue

🚨🚨 Feature Request

  • Related to an existing Issue
  • A new implementation (Improvement, Extension)

If your feature will improve HUB

Need a way to check if a dataset already exists.

hub.empty throws an error if a dataset exists and hub.load throws an error if the dataset does not exist.

Need a way to check if a dataset already exists without throwing an error.

Description of the possible solution

Suggested API:

hub.exists(path)   # Returns True if a dataset exists in path, else False

Difficulty: Medium-easy

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:17 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
sparkingdarkcommented, Oct 26, 2021

Yeah you can work on it, dighant unassign me please, little busy these days

On Tue, 26 Oct, 2021, 17:15 ChandanChainani, @.***> wrote:

@dhiganthrao https://github.com/dhiganthrao Is the task finished or can i work on it if no one is working?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/activeloopai/Hub/issues/1182#issuecomment-951852466, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL7XHCAGX32II3AQFYEMHIDUI2IERANCNFSM5D5N3NQQ .

0reactions
dhiganthraocommented, Mar 1, 2022

Hey @AbhinavTuli, thanks! I’ve opened a PR (#1517). Hopefully that solves the issue!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Check dataset existence | BigQuery - Google Cloud
A function to check whether a dataset exists.
Read more >
How to Check if Dataset Exists in SAS (With Example)
This tutorial explains how to check if a dataset exists in SAS, including an example.
Read more >
How to check if a dataset exists in BigQuery? - Stack Overflow
The docs recommend using get_dataset to determine if a dataset exists. from google.cloud.exceptions import NotFound dataset_id ...
Read more >
Check a dataset exist or not - Programming - SAS Communities
Hi all,. I would like to check whether a dataset exist first then join the dataset with another dataset. Below is my code:...
Read more >
Checking for the existence of data—ArcGIS Pro | Documentation
To check for the existence of data in a script, use the Exists function. Exists(dataset). Tests for the existence of feature classes, tables,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found