Message 276251 - Python tracker (original) (raw)
It fails in pytest and has a segfault. The pytest issue should probably be separate issue (it could also be a blaze issue).
This is a minimal reproducer for the segfault:
========================================================= from blaze.expr import symbol from blaze.interactive import data from blaze.compute import compute
t = symbol('t', 'var * {amount: int64, id: int64, name: string}')
sql = data('sqlite:///:memory:::accounts', dshape=t.dshape)
expr = t.distinct().nrows x = expr._subs({t: sql}) result = compute(x)
Blaze itself is pure Python, a third part issue could be in sqlite or sqlalchemy (but I think that is also mostly pure Python).