Skip to content

Commit 758cde9

Browse files
rusackasclaude
andcommitted
fix(deck-multi): use result_type 'results' for layer fetches, not 'full'
Multi.tsx posts directly with SupersetClient.post and never registers a listener for the async job GLOBAL_ASYNC_QUERIES hands back for result_type 'full' with a cold cache, so a layer just never renders. 'results' returns the same data/colnames/coltypes each layer's transformProps reads, and skips the async handoff entirely. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent c487c00 commit 758cde9

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

  • superset-frontend/plugins/preset-chart-deckgl/src/Multi

superset-frontend/plugins/preset-chart-deckgl/src/Multi/Multi.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,13 @@ const DeckMulti = (props: DeckMultiProps) => {
386386
jsonPayload: {
387387
...queryContext,
388388
result_format: 'json',
389-
result_type: 'full',
389+
// 'full' takes the async-query handoff under
390+
// GLOBAL_ASYNC_QUERIES, and this call never registers a
391+
// listener to follow that job, so a cold cache means the
392+
// layer just never renders. 'results' returns the same
393+
// data/colnames/coltypes this reads, skips the async path
394+
// entirely.
395+
result_type: 'results',
390396
},
391397
}).then(({ json }) => {
392398
// A newer loadLayers call (deck_slices or the visibility filter

0 commit comments

Comments
 (0)