Dask Bag read_text() line order

2019-09-07 04:59发布

Does dask.bag.read_text() preserve the line order? Is it still preserved when reading from multiple files?

bag = db.read_text('program.log')
bag = db.read_text(['program.log', 'program.log.1'])

1条回答
不美不萌又怎样
2楼-- · 2019-09-07 05:27

Informally, yes, most Dask.bag operations do preserve order.

This behavior is not strictly guaranteed, however I don't see any reason to anticipate a change in the near future.

查看更多
登录 后发表回答