[FE-17444][Linemap][Joins] Correct table isn't used for size measure (#663)

This commit is contained in:
Christie Villanueva 2023-12-19 12:52:46 -08:00 committed by GitHub
parent f57d057b05
commit 033fd37ff9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

2
dist/charting.js vendored
View File

@ -101547,7 +101547,7 @@ function rasterLayerLineMixin(_layer) {
}
if (_typeof(size) === "object" && (size.type === "quantitative" || size.type === "custom")) {
if (groupby.length > 0 && size.type === "quantitative") {
fields.push("".concat(state.data[0].table, ".").concat(size.field));
fields.push("".concat(size.table || state.data[0].table, ".").concat(size.field));
alias.push("strokeWidth");
ops.push(size.aggregate);
} else {

View File

@ -199,7 +199,7 @@ export default function rasterLayerLineMixin(_layer) {
(size.type === "quantitative" || size.type === "custom")
) {
if (groupby.length > 0 && size.type === "quantitative") {
fields.push(`${state.data[0].table}.${size.field}`)
fields.push(`${size.table || state.data[0].table}.${size.field}`)
alias.push("strokeWidth")
ops.push(size.aggregate)
} else {