feat: add span resolver on DatasetExample gql type (#3394)
- Adds `span` resolver on `DatasetExample` type returning optional `Span`. - Makes `span_rowid` a nullable foreign key with an index on the `dataset_examples` table. - Defines a `sqlalchemy` relationship between dataset examples and the span the example came from. - Adds corresponding tests. - Optimizes a few pre-existing queries using `load_only`.
X
Xander Song committed
6c46d50cfe74bfbf1a959d3056a0174a3dd2f194
Parent: b64d78b
Committed by Mikyo King <mikyo@arize.com>
on 7/2/2024, 3:51:14 PM