Skip to content

Commit 0556b52

Browse files
committed
upd
1 parent 435c2a3 commit 0556b52

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/cubejs-query-orchestrator/src/orchestrator/QueryOrchestrator.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,9 @@ export class QueryOrchestrator {
467467
} = options;
468468

469469
const metadataQuery = this.createMetadataQuery(operation, params);
470-
const cacheKey: CacheKey = [metadataQuery, dataSource, syncJobId];
470+
const cacheKey: CacheKey = syncJobId
471+
? [metadataQuery, dataSource, syncJobId]
472+
: [metadataQuery, dataSource];
471473

472474
return this.queryCache.cacheQueryResult(
473475
metadataQuery,

0 commit comments

Comments
 (0)