Skip to content

Commit cd5cc7d

Browse files
authored
fix: Fixed trace table source inference to correctly infer span events column (#1163)
Fixes HDX-2388
1 parent fa45875 commit cd5cc7d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@hyperdx/app": patch
3+
---
4+
5+
fix: Fixed trace table source inference to correctly infer span events column

packages/app/src/source.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ export async function inferTableSourceConfig({
281281
]);
282282

283283
// Check if SpanEvents column is available
284-
const hasSpanEvents = columns.some(col => col.name === 'Events');
284+
const hasSpanEvents = columns.some(col => col.name === 'Events.Timestamp');
285285

286286
const timestampColumns = filterColumnMetaByType(columns, [JSDataType.Date]);
287287
const primaryKeyTimestampColumn = timestampColumns?.find(c =>

0 commit comments

Comments
 (0)