Skip to content

Commit 76a8c24

Browse files
Fix: Ensure diff sample displays when table names have been uppercased (#3806)
1 parent e6dff9b commit 76a8c24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sqlmesh/core/console.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1297,12 +1297,12 @@ def show_row_diff(
12971297
columns: dict[str, list[str]] = {}
12981298
source_prefix, source_name = (
12991299
(f"{source_name}__", source_name)
1300-
if source_name != row_diff.source
1300+
if source_name.lower() != row_diff.source.lower()
13011301
else ("s__", "SOURCE")
13021302
)
13031303
target_prefix, target_name = (
13041304
(f"{target_name}__", target_name)
1305-
if target_name != row_diff.target
1305+
if target_name.lower() != row_diff.target.lower()
13061306
else ("t__", "TARGET")
13071307
)
13081308

0 commit comments

Comments
 (0)