Github user KanakaKumar commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2154#discussion_r180655982
--- Diff:
core/src/main/java/org/apache/carbondata/core/util/CarbonSessionInfo.java ---
@@ -60,11 +60,9 @@ public CarbonSessionInfo clone() throws
CloneNotSupportedException {
CarbonSessionInfo newObj = new CarbonSessionInfo();
newObj.setSessionParams(sessionParams.clone());
newObj.setThreadParams(threadParams.clone());
- Map<String, Object> nonSerializableExtraInfo =
getNonSerializableExtraInfo();
- for (Map.Entry<String, Object> entry :
nonSerializableExtraInfo.entrySet()) {
- nonSerializableExtraInfo.put(entry.getKey(), entry.getValue());
+ for (Map.Entry<String, Object> entry :
getNonSerializableExtraInfo().entrySet()) {
+ newObj.nonSerializableExtraInfo.put(entry.getKey(),
entry.getValue());
--- End diff --
Fixed.
---