carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CARBONDATA-336) Align the the name description
Date Mon, 24 Oct 2016 14:29:58 GMT

    [ https://issues.apache.org/jira/browse/CARBONDATA-336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15602143#comment-15602143
] 

ASF GitHub Bot commented on CARBONDATA-336:
-------------------------------------------

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

    https://github.com/apache/incubator-carbondata/pull/255#discussion_r84699713
  
    --- Diff: integration/spark/src/main/scala/org/apache/spark/sql/CarbonSqlParser.scala
---
    @@ -926,14 +926,14 @@ class CarbonSqlParser()
           (INTO ~> TABLE ~> (ident <~ ".").? ~ ident) ~
           (OPTIONS ~> "(" ~> repsep(loadOptions, ",") <~ ")").? <~ opt(";") ^^
{
             case filePath ~ isOverwrite ~ table ~ partionDataOptions =>
    -          val (schema, tablename) = table match {
    +          val (databaseNameOp, tableName) = table match {
                 case databaseName ~ tableName => (databaseName, tableName.toLowerCase())
               }
               if(partionDataOptions.isDefined) {
                 validateOptions(partionDataOptions)
               }
               val patitionOptionsMap = partionDataOptions.getOrElse(List.empty[(String, String)]).toMap
    -          LoadTable(schema, tablename, filePath, Seq(), patitionOptionsMap, isOverwrite.isDefined)
    +          LoadTable(databaseNameOp, tableName, filePath, Seq(), patitionOptionsMap, isOverwrite.isDefined)
    --- End diff --
    
    fixed


> Align the the name description
> ------------------------------
>
>                 Key: CARBONDATA-336
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-336
>             Project: CarbonData
>          Issue Type: Improvement
>    Affects Versions: 0.2.0-incubating
>            Reporter: Liang Chen
>            Assignee: Liang Chen
>            Priority: Minor
>             Fix For: 0.2.0-incubating
>
>
> Align the the name description for databaseNameOp and tableName.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message