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

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

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

    https://github.com/apache/incubator-carbondata/pull/11#discussion_r69341418
  
    --- Diff: 
integration/spark/src/main/scala/org/apache/spark/sql/hive/CarbonStrategies.scala
 ---
    @@ -251,13 +214,11 @@ class CarbonStrategies(sqlContext: SQLContext) 
extends QueryPlanner[SparkPlan] {
             }
           case d: HiveNativeCommand =>
             try {
    -          val resolvedTable = 
sqlContext.executePlan(CarbonHiveSyntax.parse(d.sql)).optimizedPlan
    +          val resolvedTable = 
sqlContext.executePlan(CarbonHiveSyntax.parse(d.sql)).analyzed
    --- End diff --
    
    why is it changed to analyzed?


> Unify definition for SparkContext,CarbonContext,HiveContext,SQLContext
> ----------------------------------------------------------------------
>
>                 Key: CARBONDATA-31
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-31
>             Project: CarbonData
>          Issue Type: Improvement
>            Reporter: ChenLiang
>            Assignee: ChenLiang
>            Priority: Minor
>
> For SparkContext,CarbonContext,HiveContext,SQLContext definition, different 
> places having different definition, for example:
> 1)val sc = new CaronContext, val carboncontext = new CaronContext
> 2)var oc: HiveContext , var context: HiveContext
> ....
> To unify definition for SparkContext,CarbonContext,HiveContext,SQLContext as 
> below:
> CarbonContext : cc
> SQLContext : sqlContext
> SparkContext : sc
> HiveContext : hiveContext



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

Reply via email to