[GitHub] carbondata pull request #1367: [CARBONDATA-1398] [WIP] Support query from sp...

classic Classic list List threaded Threaded
65 messages Options
1234
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1367: [CARBONDATA-1398] Support query from specified segme...

qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1367
 
    Build Success with Spark 1.6, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/148/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1367: [CARBONDATA-1398] Support query from specified segme...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/1367
 
    SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/904/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1367: [CARBONDATA-1398] Support query from specified segme...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1367
 
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/307/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1367: [CARBONDATA-1398] Support query from specified segme...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1367
 
    Build Success with Spark 1.6, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/182/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1367: [CARBONDATA-1398] Support query from specified segme...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1367
 
    Build Success with Spark 1.6, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/183/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1367: [CARBONDATA-1398] Support query from specified segme...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1367
 
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/308/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1367: [CARBONDATA-1398] Support query from specified segme...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/1367
 
    SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/938/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1367: [CARBONDATA-1398] Support query from specified segme...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/1367
 
    SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/939/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1367: [CARBONDATA-1398] Support query from specified segme...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1367
 
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/365/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1367: [CARBONDATA-1398] Support query from specified segme...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1367
 
    Build Success with Spark 1.6, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/241/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1367: [CARBONDATA-1398] Support query from specified segme...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/1367
 
    SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/993/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1367: [CARBONDATA-1398] Support query from specified segme...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1367
 
    Build Success with Spark 1.6, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/332/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1367: [CARBONDATA-1398] Support query from specified segme...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1367
 
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/457/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1367: [CARBONDATA-1398] Support query from specified segme...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/1367
 
    SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/1085/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1367: [CARBONDATA-1398] Support query from specified segme...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/1367
 
    SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/1192/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1367: [CARBONDATA-1398] Support query from specified segme...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1367
 
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/561/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata pull request #1367: [CARBONDATA-1398] Support query from specifie...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1367#discussion_r149945420
 
    --- Diff: hadoop/src/main/java/org/apache/carbondata/hadoop/CarbonInputFormat.java ---
    @@ -449,14 +449,14 @@ private BitSet setMatchedPartitions(String partitionIds, CarbonTable carbonTable
     
         //for each segment fetch blocks matching filter in Driver BTree
         for (String segmentNo : getSegmentsToAccess(job)) {
    -      List<DataRefNode> dataRefNodes = getDataBlocksOfSegment(job, filterExpressionProcessor,
    -          absoluteTableIdentifier, filterResolver, matchedPartitions, segmentNo,
    -          cacheClient, updateStatusManager, partitionInfo);
           // Get the UpdateVO for those tables on which IUD operations being performed.
           if (isIUDTable) {
             invalidBlockVOForSegmentId =
                 updateStatusManager.getInvalidTimestampRange(segmentNo);
           }
    +      List<DataRefNode> dataRefNodes = getDataBlocksOfSegment(job, filterExpressionProcessor,
    --- End diff --
   
    Not using CarbonInputFormat.java class, please use CarbonTableInputFormat.java


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata pull request #1367: [CARBONDATA-1398] Support query from specifie...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1367#discussion_r149945858
 
    --- Diff: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/mutation/UDUtil.scala ---
    @@ -0,0 +1,71 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one or more
    + * contributor license agreements.  See the NOTICE file distributed with
    + * this work for additional information regarding copyright ownership.
    + * The ASF licenses this file to You under the Apache License, Version 2.0
    + * (the "License"); you may not use this file except in compliance with
    + * the License.  You may obtain a copy of the License at
    + *
    + *    http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +
    +package org.apache.spark.sql.execution.command.mutation
    +
    +import org.apache.spark.sql._
    +import org.apache.spark.sql.catalyst.analysis.UnresolvedRelation
    +import org.apache.spark.sql.catalyst.plans.logical.{Filter, LogicalPlan}
    +import org.apache.spark.sql.execution.datasources.LogicalRelation
    +import org.apache.spark.sql.hive.HiveSessionCatalog
    +
    +import org.apache.carbondata.core.constants.CarbonCommonConstants
    +import org.apache.carbondata.core.util.CarbonProperties
    +import org.apache.carbondata.spark.exception.MalformedCarbonCommandException
    +
    +/**
    + * Created by rahul on 27/9/17.
    --- End diff --
   
    remove the name and add comments.


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata pull request #1367: [CARBONDATA-1398] Support query from specifie...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1367#discussion_r149945893
 
    --- Diff: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/mutation/UDUtil.scala ---
    @@ -0,0 +1,71 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one or more
    + * contributor license agreements.  See the NOTICE file distributed with
    + * this work for additional information regarding copyright ownership.
    + * The ASF licenses this file to You under the Apache License, Version 2.0
    + * (the "License"); you may not use this file except in compliance with
    + * the License.  You may obtain a copy of the License at
    + *
    + *    http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +
    +package org.apache.spark.sql.execution.command.mutation
    +
    +import org.apache.spark.sql._
    +import org.apache.spark.sql.catalyst.analysis.UnresolvedRelation
    +import org.apache.spark.sql.catalyst.plans.logical.{Filter, LogicalPlan}
    +import org.apache.spark.sql.execution.datasources.LogicalRelation
    +import org.apache.spark.sql.hive.HiveSessionCatalog
    +
    +import org.apache.carbondata.core.constants.CarbonCommonConstants
    +import org.apache.carbondata.core.util.CarbonProperties
    +import org.apache.carbondata.spark.exception.MalformedCarbonCommandException
    +
    +/**
    + * Created by rahul on 27/9/17.
    + */
    +object UDUtil {
    --- End diff --
   
    Please give proper name


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata pull request #1367: [CARBONDATA-1398] Support query from specifie...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1367#discussion_r149946001
 
    --- Diff: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/mutation/UDUtil.scala ---
    @@ -0,0 +1,71 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one or more
    + * contributor license agreements.  See the NOTICE file distributed with
    + * this work for additional information regarding copyright ownership.
    + * The ASF licenses this file to You under the Apache License, Version 2.0
    + * (the "License"); you may not use this file except in compliance with
    + * the License.  You may obtain a copy of the License at
    + *
    + *    http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +
    +package org.apache.spark.sql.execution.command.mutation
    +
    +import org.apache.spark.sql._
    +import org.apache.spark.sql.catalyst.analysis.UnresolvedRelation
    +import org.apache.spark.sql.catalyst.plans.logical.{Filter, LogicalPlan}
    +import org.apache.spark.sql.execution.datasources.LogicalRelation
    +import org.apache.spark.sql.hive.HiveSessionCatalog
    +
    +import org.apache.carbondata.core.constants.CarbonCommonConstants
    +import org.apache.carbondata.core.util.CarbonProperties
    +import org.apache.carbondata.spark.exception.MalformedCarbonCommandException
    +
    +/**
    + * Created by rahul on 27/9/17.
    + */
    +object UDUtil {
    +  def checkIfSegmentListIsSet(sparkSession: SparkSession, logicalPlan: LogicalPlan): Unit = {
    --- End diff --
   
    add comment


---
1234