fix: disable json metadata field and key fetching (#1200)

Currently not working well at all. Just disabling for the time being
This commit is contained in:
Aaron Knudtson 2025-09-25 02:01:03 -04:00 committed by GitHub
parent 8f06ce7b33
commit 816f90a392
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
"@hyperdx/common-utils": patch
---
fix: disable json filters for now

View file

@ -347,6 +347,8 @@ export class Metadata {
column: string;
maxKeys?: number;
} & TableConnection) {
// HDX-2480 delete line below to reenable json filters
return []; // Need to disable JSON keys for the time being.
const cacheKey = metricName
? `${databaseName}.${tableName}.${column}.${metricName}.keys`
: `${databaseName}.${tableName}.${column}.keys`;
@ -485,6 +487,8 @@ export class Metadata {
});
for (const c of columns) {
// HDX-2480 delete condition below to reenable json filters
if (c.type === 'JSON') continue;
fields.push({
path: [c.name],
type: c.type,