Test fixture failure prevents override of Mixin
griffio opened this issue · comments
Is there a reason that this fixture is designed to fail?
WHERE date1 > CURRENT_TIME; -- Fails because it is an expression.
The test fixture here is valid syntax on sqlite, mysql and postgresql (ofcourse with re-writing dialect specific elements).
Should it be updated?
The problem is that base fixtures in sql-psi are inherited by sql-delight project fixture tests.
If I override the LiteralValueMixin
in, for example, PostgreSql dialect the fixture will still expect to fail.
I have no idea why this valid sql is explicitly disallowed.