[ https://issues.apache.org/jira/browse/ARROW-15067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17457319#comment-17457319 ]
David Li commented on ARROW-15067: ---------------------------------- Hmm, we could add a "parent span" or properly "parent span context" option to the scanner options. (That way you could link it up to a Flight span or something too.) You'd have to manually inject it to spans started in the scanner, though. (~2 lines of code or so for each span) > [C++] Add OT spans for the scanner > ---------------------------------- > > Key: ARROW-15067 > URL: https://issues.apache.org/jira/browse/ARROW-15067 > Project: Apache Arrow > Issue Type: Sub-task > Components: C++ > Reporter: Weston Pace > Priority: Major > > There should be one span for each "read batch" and one scan for each "read > file". The batch spans should be children of the file span. > If possible it would be nice if the "read file" spans were children of the > exec plan when the scanner is being used as a source node. I'm not sure if > this is doable though since the scanner is often used outside the exec plan. -- This message was sent by Atlassian Jira (v8.20.1#820001)