Commit acc4c0d
committed
Honor explicit table_name= when element has same-named column (#620)
When `table_name=` was passed to a render function but the element already
had a column with the same name, the explicit `table_name` was silently
discarded and the element column was used instead.
Fix `_validate_col_for_column_table` to only fall back to the element
column when no explicit table was requested, and update
`_set_color_source_vec` to drop the df origin (and bypass the upstream
multi-origin check in `get_values`) when the user has explicitly chosen
a table.1 parent 13c3cde commit acc4c0d
2 files changed
Lines changed: 56 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1078 | 1078 | | |
1079 | 1079 | | |
1080 | 1080 | | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
1081 | 1087 | | |
1082 | 1088 | | |
1083 | 1089 | | |
| |||
1094 | 1100 | | |
1095 | 1101 | | |
1096 | 1102 | | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
1097 | 1112 | | |
1098 | 1113 | | |
1099 | 1114 | | |
| |||
3170 | 3185 | | |
3171 | 3186 | | |
3172 | 3187 | | |
3173 | | - | |
3174 | | - | |
3175 | | - | |
| 3188 | + | |
| 3189 | + | |
| 3190 | + | |
3176 | 3191 | | |
3177 | 3192 | | |
3178 | 3193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
0 commit comments