fix: Fixed trace table source inference to correctly infer span events column (#1163)

Fixes HDX-2388
This commit is contained in:
Mike Shi 2025-09-12 07:04:03 -07:00 committed by GitHub
parent fa45875d38
commit cd5cc7d2c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
"@hyperdx/app": patch
---
fix: Fixed trace table source inference to correctly infer span events column

View file

@ -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 =>