Skip to content

Commit

Permalink
fixup! SA14/Tests: Declare column expressions for _score as `litera…
Browse files Browse the repository at this point in the history
…l_column`
  • Loading branch information
amotl committed May 12, 2022
1 parent 99fd3d5 commit 8726c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crate/client/sqlalchemy/tests/match_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def test_match_type_options(self):

def test_score(self):
query = self.session.query(self.Character.name,
sa.column('_score')) \
sa.literal_column('_score')) \
.filter(match(self.Character.name, 'Trillian'))
self.assertSQL(
"SELECT characters.name AS characters_name, _score " +
Expand Down

0 comments on commit 8726c13

Please sign in to comment.