mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
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:
parent
8f06ce7b33
commit
816f90a392
2 changed files with 9 additions and 0 deletions
5
.changeset/orange-mayflies-lie.md
Normal file
5
.changeset/orange-mayflies-lie.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@hyperdx/common-utils": patch
|
||||
---
|
||||
|
||||
fix: disable json filters for now
|
||||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue