We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d77b92a commit 718f99dCopy full SHA for 718f99d
flowmachine/tests/test_random.py
@@ -234,8 +234,10 @@ def test_system_rows_fail_with_inheritance():
234
Test whether the system row method fails if the subscriber queries for random rows on a parent table.
235
"""
236
with pytest.raises(ValueError):
237
- df = Table(name="events.calls", columns=["msisdn"]).random_sample(
238
- size=8, sampling_method="system_rows"
+ df = (
+ Table(name="events.calls", columns=["msisdn"])
239
+ .random_sample(size=8, sampling_method="system_rows")
240
+ .preflight()
241
)
242
243
0 commit comments