Github user qiuchenjian commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2961#discussion_r237335152
--- Diff:
integration/spark2/src/main/scala/org/apache/spark/sql/CarbonSession.scala ---
@@ -248,7 +248,7 @@ object CarbonSession {
session = new CarbonSession(sparkContext, None, !enableInMemCatlog)
val carbonProperties = CarbonProperties.getInstance()
- if (storePath != null) {
+ if (storePath != null && !storePath.trim.isEmpty) {
--- End diff --
such as StringUtils.isNotEmpty
---