mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
fix: Fixed trace table source inference to correctly infer span events column (#1163)
Fixes HDX-2388
This commit is contained in:
parent
fa45875d38
commit
cd5cc7d2c5
2 changed files with 6 additions and 1 deletions
5
.changeset/unlucky-peaches-reply.md
Normal file
5
.changeset/unlucky-peaches-reply.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@hyperdx/app": patch
|
||||
---
|
||||
|
||||
fix: Fixed trace table source inference to correctly infer span events column
|
||||
|
|
@ -281,7 +281,7 @@ export async function inferTableSourceConfig({
|
|||
]);
|
||||
|
||||
// Check if SpanEvents column is available
|
||||
const hasSpanEvents = columns.some(col => col.name === 'Events');
|
||||
const hasSpanEvents = columns.some(col => col.name === 'Events.Timestamp');
|
||||
|
||||
const timestampColumns = filterColumnMetaByType(columns, [JSDataType.Date]);
|
||||
const primaryKeyTimestampColumn = timestampColumns?.find(c =>
|
||||
|
|
|
|||
Loading…
Reference in a new issue