• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

apache / carbondata / 1698 / 1
76%
master: 76%

Build:
DEFAULT BRANCH: master
Ran 21 May 2019 08:13AM UTC
Files 1054
Run time 53s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 May 2019 08:13AM UTC coverage: 78.468% (+3.4%) from 75.09%
1698.1

push

jenkins

ravipesala
[CARBONDATA-3309] MV datamap supports Spark 2.1

[Problem]
MV datamap doesn't support Spark 2.1 version, so we need to support it

[Solution]
The following is the modification point and all MV test cases are passed on spark 2.1 version

The Class we cann’t access in Spark 2.1 version
(1). org.apache.spark.internal.Logging
(2). org.apache.spark.sql.internal.SQLConf
Solution:Create class extends above classed

The Class that Spark 2.1 version doesn’t have
(1). org.apache.spark.sql.catalyst.plans.logical.Subquery
(2). org.apache.spark.sql.catalyst.catalog.interface.HiveTableRelation
Solution: Use CatalogRelation instead and don’t use (in LogicalPlanSignatureGenerator) Mv the Subquery code to carbon project

The method that we can’t access in Spark 2.1 version
(1). sparkSession.sessionState.catalog.lookupRelation
Solution: Solution:Add this method of SparkSQLUtil

The changes of some class
(1). org.apache.spark.sql.catalyst.expressions.SortOrder
(2). org.apache.spark.sql.catalyst.expressions.Cast
(3). org.apache.spark.sql.catalyst.plans.Statistics
Solution: Adapt the new interface

The method that Spark 2.1 version doesn’t have
(1). normalizeExprId,canonicalized of org.apache.spark.sql.catalyst.plans.QueryPlan
(2). CASE_SENSITIVE of SQLConf
(3). STARSCHEMA_DETECTION of SQLConf
Solution:Don’t use normalize , canonicalize and the CASE_SENSITIVE, STARSCHEMA_DETECTION

Some logicplan optimization rules that Spark 2.1 version doesn’t have
(1). SimplifyCreateMapOps
(2). SimplifyCreateArrayOps
(3). SimplifyCreateStructOps
(4). RemoveRedundantProject
(5). RemoveRedundantAliases
(6). PullupCorrelatedPredicates
(7). ReplaceDeduplicateWithAggregate
(8). EliminateView
Solution: Delete or move the code to carbon project

Generate the instance in SparkSQLUtil to adapt Spark 2.1 version

Query SQL pass the MV check in Spark 2.1 version(CarbonSessionState)

This closes #3150

64010 of 81575 relevant lines covered (78.47%)

1.04 hits per line

Source Files on job 1698.1
  • Tree
  • List 0
  • Changed 211
  • Source Changed 2
  • Coverage Changed 211
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1698
  • 4d7c8ada on github
  • Prev Job for on master (#1697.1)
  • Next Job for on master (#11579.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc