A new kind of filters has been added:
s3.select(..., [
('foo', '=', 'quux'),
OR(
('bar', '>', 0),
('quz', '<', 0),
)
]
Instead of a dictionary a list can be passed as filters. Each item is either a 3-tuple or an AND or an OR which in turn can consist of 3-tuples or AND and ORs and so on.
The old syntax still works and is easier for simple queries:
s3.select(..., {
'foo': 'quux'
})
The new syntax allows more complex queries with conditions on multiple columns.