carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuchuanyin <...@git.apache.org>
Subject [GitHub] carbondata pull request #1299: [CARBONDATA-1426] Resolved Split Partition Bu...
Date Wed, 30 Aug 2017 15:34:56 GMT
Github user xuchuanyin commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1299#discussion_r136105752
  
    --- Diff: integration/spark-common/src/main/scala/org/apache/carbondata/spark/util/CommonUtil.scala
---
    @@ -351,7 +351,7 @@ object CommonUtil {
         if (tempList.length != originListInfo.size) {
           sys.error("The total number of elements in new list must equal to original list!")
         }
    -    if (!originListInfo.sameElements(tempList)) {
    +    if (originListInfo.toSet!=tempList.toSet) {
    --- End diff --
    
    According to the error message below, it requires `originListInfo` contains `tempList`,
so the condition should be like `!(tempList diff originListInfo).isEmpty`


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message