We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dfddc5 commit 5e0b699Copy full SHA for 5e0b699
1 file changed
packages/cubejs-query-orchestrator/src/orchestrator/QueryCache.ts
@@ -1053,12 +1053,10 @@ export class QueryCache {
1053
return 'empty';
1054
}
1055
1056
- // Create deterministic hash based on operation type and params
1057
const hashData: string[] = [];
1058
1059
switch (operation) {
1060
case MetadataOperation.GET_SCHEMAS:
1061
- // For schemas, we don't have any params to hash
1062
return 'all_schemas';
1063
1064
case MetadataOperation.GET_TABLES_FOR_SCHEMAS:
@@ -1074,7 +1072,6 @@ export class QueryCache {
1074
1072
break;
1075
1073
1076
default:
1077
- // Fallback to JSON serialization for unknown operations
1078
return crypto
1079
.createHash('sha256')
1080
.update(JSON.stringify(params))
0 commit comments