Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
style: Fix ruff 0.14.10 formatting for test file
Signed-off-by: yassinnouh21 <yassinnouh21@gmail.com>
  • Loading branch information
YassinNouh21 committed Jan 4, 2026
commit 8f81119c489d2b38fd16a98383261d911d43463d
Original file line number Diff line number Diff line change
Expand Up @@ -1057,9 +1057,9 @@ def test_sql_query_without_alias_fails_in_postgres(self):
# This produces: SELECT id, ts FROM (SELECT id, ts FROM raw_data)
# which is invalid in PostgreSQL (subquery needs alias)
# sqlglot is lenient and may parse it, but PostgreSQL would reject it
assert (
"AS" not in entity_sql_without_alias
), "get_table_query_string() should not add alias"
assert "AS" not in entity_sql_without_alias, (
"get_table_query_string() should not add alias"
)

# Using the new method (with alias) produces valid SQL
entity_sql_with_alias = (
Expand Down
Loading