[HOT-FIX] fixed issue related to generating PDF
[HOT-FIX] fixed issue related to generating PDF

[HOT-FIX] fixed issue related to generating PDF

This closes #2108

manishgupta88/carbondata,jackylk/incubator-carbondata,zzcclp/carbondata,manishgupta88/carbondata,manishgupta88/incubator-carbondata,manishgupta88/incubator-carbondata,manishgupta88/carbondata,ravipesala/incubator-carbondata,ravipesala/incubator-carbondata,manishgupta88/incubator-carbondata,jackylk/incubator-carbondata,ravipesala/incubator-carbondata,sgururajshetty/carbondata,zzcclp/carbondata,ravipesala/incubator-carbondata,manishgupta88/incubator-carbondata,jackylk/incubator-carbondata,jatin9896/incubator-carbondata,jatin9896/incubator-carbondata,manishgupta88/carbondata,jatin9896/incubator-carbondata,zzcclp/carbondata,sgururajshetty/carbondata,zzcclp/carbondata,jackylk/incubator-carbondata,sgururajshetty/carbondata,zzcclp/carbondata