Github user manishgupta88 commented on a diff in the pull request: https://github.com/apache/carbondata/pull/1032#discussion_r124182621 --- Diff: integration/spark-common/src/main/scala/org/apache/carbondata/spark/util/CommonUtil.scala --- @@ -288,6 +297,69 @@ object CommonUtil { result } + def validateForOverLappingRangeValues(desType: Option[String], + rangeInfoArray: Array[String]): Boolean = { --- End diff -- @QiangCai ....Please correct me if I am wrong. Scala has already a predefined method for comparing different array elements. I think for writing a Comparator class we will have to write our own logic which will be an extra overhead to maintain.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---