Potential Issue with exact on Fields
cancan101 opened this issue · comments
The docs indicate that exact=True
means no post filtering is needed:
shillelagh/src/shillelagh/fields.py
Lines 121 to 125 in 97197bd
however that value seems to be passed to apsw:
shillelagh/src/shillelagh/backends/apsw/vt.py
Line 305 in 14579e4
and the docs for that indicate that
False
means sqlalachemy won't do any double checking :shillelagh/src/shillelagh/typing.py
Lines 16 to 17 in 14579e4
(also consistent with the apsw docs page)
Am I misunderstanding something here?
Ok this might just be an issue with the apsw docs as from sqlite docs:
If aConstraintUsage[].omit is true, then the constraint is assumed to be fully handled by the virtual table and might not be checked again by the byte code.
I filed this upstream: rogerbinns/apsw#328
Closing this for now as I think the issue is entirely upstream in apsw.