Skip to content

Commit

Permalink
[SDV] Fix SDV testcase failures
Browse files Browse the repository at this point in the history
problem: Dictionary Include test cases were failing because the plan was incorrect.

solution: Updated the plan in the QueryTest.

This closes #3081
  • Loading branch information
shivamasn authored and ravipesala committed Jan 21, 2019
1 parent 9f13d2b commit e485e14
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -44,8 +44,6 @@ class QueryTest extends PlanTest with Suite {

// Add Locale setting
Locale.setDefault(Locale.US)
CarbonProperties.getInstance()
.addProperty(CarbonCommonConstants.VALIDATE_DIRECT_QUERY_ON_DATAMAP, "false")

/**
* Runs the plan and makes sure the answer contains all of the keywords, or the
Expand Down Expand Up @@ -139,7 +137,7 @@ class QueryTest extends PlanTest with Suite {

val sqlContext: SQLContext = TestQueryExecutor.INSTANCE.sqlContext

sqlContext.sparkSession.experimental.extraOptimizations = Seq(new CarbonFileIndexReplaceRule)
sqlContext.sparkSession.experimental.extraOptimizations :+ Seq(new CarbonFileIndexReplaceRule)

val resourcesPath = TestQueryExecutor.resourcesPath

Expand Down

0 comments on commit e485e14

Please sign in to comment.