Skip to content

Commit

Permalink
Fix Notebook and Ray testcases at staging (#1274)
Browse files Browse the repository at this point in the history
Fix #1271, Fix #1265, Fix #1266

~~Not able to fix 11-similarity-search-for-motif-mining.ipynb due to
#1275~~
  • Loading branch information
xzdandy authored Oct 11, 2023
1 parent a64d24b commit a3b6c0c
Show file tree
Hide file tree
Showing 8 changed files with 8,777 additions and 3,315 deletions.
3 changes: 3 additions & 0 deletions test/integration_tests/long/test_open.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,7 @@ def test_open_should_open_image(self):
{"testopentable.num": [1, 2], "open.data": [expected_img, expected_img]}
)
)
# We need sort. With ray enabled, the order is not guaranteed.
batch_res.sort_orderby(by=["testopentable.num"])
expected_batch.sort_orderby(by=["testopentable.num"])
self.assertEqual(expected_batch, batch_res)
3 changes: 3 additions & 0 deletions test/integration_tests/long/test_reuse.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ def _verify_reuse_correctness(self, query, reuse_batch):
self.evadb, query, plan_generator=custom_plan_generator
)

self.assertEqual(reuse_batch.columns, reuse_batch.columns)
reuse_batch.sort_orderby(by=[reuse_batch.columns[0]])
without_reuse_batch.sort_orderby(by=[reuse_batch.columns[0]])
# printing the batches so that we can see the mismatch in the logs
self.assertEqual(
without_reuse_batch,
Expand Down
901 changes: 582 additions & 319 deletions tutorials/01-mnist.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit a3b6c0c

Please sign in to comment.