Github user kumarvishal09 commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/88#discussion_r76234490
  
    --- Diff: 
integration/spark/src/main/scala/org/apache/carbondata/spark/util/GlobalDictionaryUtil.scala
 ---
    @@ -489,9 +489,10 @@ object GlobalDictionaryUtil extends Logging {
         val preDictDimensionOption = dimensions.filter(
           _.getColName.equalsIgnoreCase(dimParent))
         if (preDictDimensionOption.length == 0) {
    -      logError(s"No column $dimParent exists in 
${table.getDatabaseName}.${table.getTableName}")
    -      throw new DataLoadingException(s"No column $colName exists " +
    -      s"in ${table.getDatabaseName}.${table.getTableName}")
    +      logError(s"No key column $dimParent exists in 
${table.getDatabaseName}.${table.getTableName}")
    +      throw new DataLoadingException(s"No key column $colName exists in " +
    +        s"${table.getDatabaseName}.${table.getTableName}, please make sure 
" +
    +        s"that $colName can be dictionary.")
    --- End diff --
    
    Please add a message only key column can be part of dictionary 


---
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.
---

Reply via email to