Github user Zhangshunyu commented on a diff in the pull request:
https://github.com/apache/incubator-carbondata/pull/310#discussion_r87589862
--- Diff:
integration/spark/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchema.scala
---
@@ -1195,9 +1197,11 @@ case class LoadTableUsingKettle(
carbonLoadModel.setColDictFilePath(columnDict)
carbonLoadModel.setDirectLoad(true)
}
- GlobalDictionaryUtil
- .generateGlobalDictionary(sqlContext, carbonLoadModel,
relation.tableMeta.storePath,
- dataFrame)
+ if (carbonLoadModel.getUseOnePass == false) {
--- End diff --
why not use boolen value directlyï¼
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---