Github user ravipesala commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2623#discussion_r212868174
--- Diff:
integration/presto/src/test/scala/org/apache/carbondata/presto/server/PrestoServer.scala
---
@@ -98,6 +99,7 @@ object PrestoServer {
def executeQuery(query: String): List[Map[String, Any]] = {
Try {
+ ThreadLocalSessionInfo.getOrCreateCarbonSessionInfo()
--- End diff --
why it is needed?---
