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-3895]Fx FileNotFound exception in query after global sort compaction #3812

Closed
wants to merge 1 commit into from

Conversation

akashrn5
Copy link
Contributor

@akashrn5 akashrn5 commented Jun 28, 2020

Why is this PR needed?

After global sort compaction, if we execute clean files and run the query or update delete operations, we get file not found exceptions and some data loss. This is because we form new load model for global sort compaction and facttimestam is not set, so carbondata files are generated with a timestamp as 0.

What changes were proposed in this PR?

copy the facttimestamp from the incoming loadmodel and set in new load model

Does this PR introduce any user interface change?

  • No

Is any new testcase added?

  • Yes

@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/1505/

@CarbonDataQA1
Copy link

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

@akashrn5 akashrn5 changed the title [wip]fix global sort compaction issue [CARBONDATA-3895]Fx fileNotFound exception in query after global sort compaction Jul 9, 2020
@akashrn5 akashrn5 changed the title [CARBONDATA-3895]Fx fileNotFound exception in query after global sort compaction [CARBONDATA-3895]Fx FileNotFound exception in query after global sort compaction Jul 9, 2020
@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/1596/

@CarbonDataQA1
Copy link

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

@QiangCai
Copy link
Contributor

please rebase it

@akashrn5
Copy link
Contributor Author

@QiangCai rebased, please review.

@CarbonDataQA1
Copy link

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

@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/1703/

@QiangCai
Copy link
Contributor

LGTM

@asfgit asfgit closed this in 59390d0 Jul 21, 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