Github user adrian-ionescu commented on the issue:
https://github.com/apache/spark/pull/18159
[Here](https://gist.github.com/adrian-ionescu/bc68783e01071419ec483bd8216757e8#file-gistfile1-txt-L20)'s
a small test that shows that your `writingTime` metric actually includes the
whole query processing time. It would be more useful if it only showed actual
write time.
I suggest you just wrap calls to `currentWriter.write()` from
`FileFormatWriter.scala`, where you've already added some instrumentation.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]