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

Function test_limits

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

Source from the content-addressed store, hash-verified

341
342
343def test_limits(db):
344 data = read_sql_table("test", db, npartitions=2, index_col="number", limits=[1, 4])
345 assert data.index.min().compute() == 1
346 assert data.index.max().compute() == 4
347
348
349def 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