carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jackylk <...@git.apache.org>
Subject [GitHub] carbondata pull request #1040: [CARBONDATA-1171] Added support for show part...
Date Mon, 19 Jun 2017 06:30:26 GMT
Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1040#discussion_r122628550
  
    --- Diff: integration/spark-common/src/main/scala/org/apache/carbondata/spark/util/CommonUtil.scala
---
    @@ -435,4 +437,18 @@ object CommonUtil {
         }
       }
     
    +  def getPartitionsBasedOnType(partitionInfo: PartitionInfo): Seq[String] = {
    +    val columnSchema = partitionInfo.getColumnSchemaList.get(0)
    +    partitionInfo.getPartitionType match {
    +      case PartitionType.HASH => Seq(s"${ columnSchema.getColumnName }=HASH_NUMBER(${
partitionInfo
    --- End diff --
    
    And add space before and after `=`


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