HiveServer2 can give driver execution logs through thrift api for any operation - available through
This issue is to fetch the logs from HiveServer2 and log them in lens query log segregation context. This user will be able to see the underlying logs from hive for query execution as well.
This should also publish the overhead getting added on query or HiveServe2, if log fetching is enabled. And if the overhead is significant, user should be able turn off log fetching per query.