From 033fd37ff9d9fc39fb6b5909ec7933b9e982ef41 Mon Sep 17 00:00:00 2001 From: Christie Villanueva Date: Tue, 19 Dec 2023 12:52:46 -0800 Subject: [PATCH] [FE-17444][Linemap][Joins] Correct table isn't used for size measure (#663) --- dist/charting.js | 2 +- src/mixins/raster-layer-line-mixin.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/charting.js b/dist/charting.js index c84aaf90..5e58d533 100644 --- a/dist/charting.js +++ b/dist/charting.js @@ -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 { diff --git a/src/mixins/raster-layer-line-mixin.js b/src/mixins/raster-layer-line-mixin.js index fe5e0b51..b5270c75 100644 --- a/src/mixins/raster-layer-line-mixin.js +++ b/src/mixins/raster-layer-line-mixin.js @@ -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 {