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

Class label test fix #2998

Merged
merged 4 commits into from
Nov 26, 2024
Merged

Class label test fix #2998

merged 4 commits into from
Nov 26, 2024

Conversation

activesoull
Copy link
Contributor

🚀 🚀 Pull Request

Impact

  • Bug fix (non-breaking change which fixes expected existing functionality)
  • Enhancement/New feature (adds functionality without impacting existing logic)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

Things to be aware of

Things to worry about

Additional Context

Copy link

codecov bot commented Nov 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@@ -49,7 +49,8 @@ def test_multi_source_query(hub_cloud_dev_token):
'SELECT * FROM (SELECT * FROM "hub://activeloop/mnist-train" UNION (SELECT images, labels FROM "hub://activeloop/cifar100-train")) WHERE labels == 0',
token=hub_cloud_dev_token,
)
assert len(ds) == 6423
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get why the result of this test was changed. Can you please add the following test too?

ds = deeplake.query(
    'SELECT * FROM "hub://activeloop/mnist-train" WHERE labels == 0 UNION (SELECT images, labels FROM "hub://activeloop/cifar100-train" WHERE labels == 0)',
        token=hub_cloud_dev_token,
    )
assert len(ds) == 6423

@activesoull activesoull requested a review from khustup2 November 26, 2024 13:51
@activesoull activesoull merged commit faacb99 into v3 Nov 26, 2024
8 of 9 checks passed
@activesoull activesoull deleted the class_label_test_fix branch November 26, 2024 18:44
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

Successfully merging this pull request may close these issues.

3 participants