Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CARBONDATA-3889] Cleanup code typo in carbondata-spark module #3867

Closed
wants to merge 3 commits into from

Conversation

QiangCai
Copy link
Contributor

Why is this PR needed?

There are many typos in carbondata-spark module.

What changes were proposed in this PR?

Cleanup code typo in carbondata-spark module

Does this PR introduce any user interface change?

  • No, not change interface name

Is any new testcase added?

  • No, not impact function.

@CarbonDataQA1
Copy link

Build Success with Spark 2.3.4, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.3/3526/

@CarbonDataQA1
Copy link

Build Failed with Spark 2.4.5, Please check CI http://121.244.95.60:12545/job/ApacheCarbon_PR_Builder_2.4.5/1785/

val lock: ICarbonLock = segmentStatusManager.getTableStatusLock
val segmentMapping: util.Map[String, util.List[String]] =
new util.HashMap[String, util.List[String]]
val viewManager = MVManagerInSpark.get(session)
try if (lock.lockWithRetries) {
LOGGER.info("Acquired lock for mv " + viewIdentifier + " for table status updation")
LOGGER.info("Acquired lock for mv " + viewIdentifier + " for table status te")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done, change to 'update'

@@ -50,7 +50,7 @@ import org.apache.carbondata.events.{IndexServerLoadEvent, OperationContext, Ope
import org.apache.carbondata.hadoop.api.{CarbonInputFormat, CarbonTableInputFormat}
import org.apache.carbondata.processing.exception.MultipleMatchingException
import org.apache.carbondata.processing.loading.FailureCauses
import org.apache.carbondata.spark.DeleteDelataResultImpl
import org.apache.carbondata.spark.DeleteDelateResultImpl
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delta

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@@ -266,9 +266,9 @@ object DeleteExecution {
CarbonUpdateUtil.getRequiredFieldFromTID(TID, TupleIdEnum.BLOCK_ID) +
CarbonCommonConstants.FACT_FILE_EXT)
}
val deleteDeletaPath = CarbonUpdateUtil
val deleteDeletePath = CarbonUpdateUtil
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done, change to 'delta'

@@ -693,10 +693,10 @@ class CarbonSecondaryIndexOptimizer(sparkSession: SparkSession) {
case sort@Sort(order, global, plan) =>
addProjection = true
(sort, true)
case filter@Filter(condition, logicalRelation@MatchIndexableRelation(indexableRelation))
case filter@Filter(condition, logicalRelation@MatchIndexTableRelation(indexTableRelation))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename is changing meaning. And actual code is to match CarbonDatasourceHadoopRelation

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted the change.

@CarbonDataQA1
Copy link

Build Success with Spark 2.3.4, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.3/3552/

@CarbonDataQA1
Copy link

Build Success with Spark 2.4.5, Please check CI http://121.244.95.60:12545/job/ApacheCarbon_PR_Builder_2.4.5/1812/

@kevinjmh
Copy link
Member

LGTM

@asfgit asfgit closed this in e92348e Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants