Skip to content

Commit

Permalink
Fix: Ensure diff sample displays when table names have been uppercased (
Browse files Browse the repository at this point in the history
  • Loading branch information
themisvaltinos authored Feb 8, 2025
1 parent e6dff9b commit 76a8c24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sqlmesh/core/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -1297,12 +1297,12 @@ def show_row_diff(
columns: dict[str, list[str]] = {}
source_prefix, source_name = (
(f"{source_name}__", source_name)
if source_name != row_diff.source
if source_name.lower() != row_diff.source.lower()
else ("s__", "SOURCE")
)
target_prefix, target_name = (
(f"{target_name}__", target_name)
if target_name != row_diff.target
if target_name.lower() != row_diff.target.lower()
else ("t__", "TARGET")
)

Expand Down

0 comments on commit 76a8c24

Please sign in to comment.