MCPcopy Create free account
hub / github.com/dask/dask / test_limits

Function test_limits

dask/dataframe/io/tests/test_sql.py:342–345  ·  view source on GitHub ↗
(db)

Source from the content-addressed store, hash-verified

340
341
342def test_limits(db):
343 data = read_sql_table("test", db, npartitions=2, index_col="number", limits=[1, 4])
344 assert data.index.min().compute() == 1
345 assert data.index.max().compute() == 4
346
347
348def test_datetimes():

Callers

nothing calls this directly

Calls 4

read_sql_tableFunction · 0.90
computeMethod · 0.45
minMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected