kunal642 commented on a change in pull request #4088:
URL: https://github.com/apache/carbondata/pull/4088#discussion_r576143690
##########
File path:
integration/spark/src/main/scala/org/apache/carbondata/indexserver/IndexServer.scala
##########
@@ -128,6 +128,10 @@ object IndexServer extends ServerInterface {
def getCount(request: IndexInputFormat): LongWritable = {
doAs {
val sparkSession = SparkSQLUtil.getSparkSession
+ var currentUser: String = null
+ if (!request.isFallbackJob && Server.getRemoteUser != null) {
+ currentUser = Server.getRemoteUser.getShortUserName
Review comment:
what happens if the RemoteUser is null?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]