Releases: datacamp/sqlwhat
Releases · datacamp/sqlwhat
Update to latest ANTLR libraries
v3.2.1 Bump version, update changelog, update Travis config
fix issue with multiple state init w/ mssql
Was incorrectly decorating repr method
fix bug causing all mssql SCTs to fail :(
v2.1.2 Update __init__.py
Pull AST selectors into protowhat
functioning of sqlwhat should remain largely unaffected, with the exception that selectors.py
, and checks.check_funcs.py
are moved to protowhat. Also checks.check_logic.py
was erroneously left in sqlwhat and has been removed.
Refactor general components into new package, protowhat
- removed Reporter
- removed Feedback and Test classes
- most logic from sct_syntax.py now in protowhat.sct_syntax
- modified State class to be more general in loading AST dispatchers
fix: round error for columns with NULL values
v1.11.3 Create __init__.py
fix: expose sort_rows in checks
v1.11.2 Create __init__.py
fix: expose test_column_name in checks module
v1.11.1 Update __init__.py
easy importing of state decorated SCTs
from sqlwhat.sct_syntax import *
to get SCTs that don't run unless they receive a state argument.
E.g.
test_student_typed(text = 'something')
Basic messaging system, plus SCT composition with `>>`
Messaging
Now has default messages for check_node
, check_field
, and has_equal_ast
. Uses descriptions like
- "The
WHERE
clause of theSELECT
statement" - "The first entry in the target list of the
SELECT
statement"
Composition
Ex() >> test_student_typed(text = 'blah')
rather than Ex().test_student_typed(text = 'blah')
.