Closed jfly closed 7 months ago
This should be addressed at least indirectly by https://github.com/dbcli/mycli/commit/f3f50c81c14a6091057b2234af5d3527a48d1dfa
Yep, that fixed it! I'll re-enable this test back in nixos: https://github.com/NixOS/nixpkgs/pull/305233, but I think this issue can get closed.
test/test_smart_completion_public_schema_only.py::test_auto_escaped_col_names
fails when run under sqlparse 0.4.3, but passes when run under sqlparse 0.4.2:Passes with sqlparse 0.4.2:
Fails with sqlparse 0.4.3:
I dug a bit and this seems to be happening because of this commit https://github.com/andialbrecht/sqlparse/commit/c1a597ee6e8e22c94ca5bdfa1c6665453e0d2c25 that went out in sqlparse 0.4.3.
I'm not entirely sure if this is revealing a bug in mycli (should it be escaping table names like this if necessary?) or if this is a perfectly fine change in behavior, and the test should just be updated to allow the new behavior.