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-1304] [IUD Bug] Iud with single pass #1167
[CARBONDATA-1304] [IUD Bug] Iud with single pass #1167
Conversation
Can one of the admins verify this patch? |
1 similar comment
Can one of the admins verify this patch? |
Build Failed with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/3052/ |
7c0c452
to
480b24b
Compare
Build Failed with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/3053/ |
Build Failed with Spark 1.6, Please check CI http://144.76.159.231:8080/job/ApacheCarbonPRBuilder/464/ |
Build Failed with Spark 1.6, Please check CI http://144.76.159.231:8080/job/ApacheCarbonPRBuilder/465/ |
480b24b
to
37ebd26
Compare
retest this please |
Build Failed with Spark 1.6, Please check CI http://144.76.159.231:8080/job/ApacheCarbonPRBuilder/477/ |
Build Failed with Spark 1.6, Please check CI http://144.76.159.231:8080/job/ApacheCarbonPRBuilder/478/ |
Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/3066/ |
Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/3067/ |
37ebd26
to
c128a75
Compare
Build Success with Spark 1.6, Please check CI http://144.76.159.231:8080/job/ApacheCarbonPRBuilder/487/ |
Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/3076/ |
Can one of the admins verify this patch? |
Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/35/ |
SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/1213/ |
c128a75
to
0b6367e
Compare
Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/582/ |
SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/1287/ |
Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/655/ |
0b6367e
to
213202a
Compare
retest this please |
Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/768/ |
Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/770/ |
213202a
to
cfa5571
Compare
Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/882/ |
SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/1494/ |
retest this please |
Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/1537/ |
e2e7b6e
to
b1c5d48
Compare
Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/1579/ |
SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/1974/ |
b1c5d48
to
ca3097e
Compare
Build Failed with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/1848/ |
Build Success with Spark 2.2.0, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/620/ |
ca3097e
to
1cc8e62
Compare
Build Failed with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/1849/ |
Build Success with Spark 2.2.0, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/621/ |
retest this please |
Build Success with Spark 2.2.0, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/637/ |
Build Failed with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/1866/ |
SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/2216/ |
1cc8e62
to
a2c7e93
Compare
Build Success with Spark 2.2.0, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/742/ |
Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/1974/ |
SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/2290/ |
import org.apache.carbondata.core.constants.CarbonCommonConstants | ||
import org.apache.carbondata.core.util.CarbonProperties | ||
|
||
class TestUpdateCarbonTableWithPersistFalse extends QueryTest with BeforeAndAfterAll { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dont add a new test case. Add this test case in the existing update table test case class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@manishgupta88 Thanks for the review Fixed
import org.apache.carbondata.core.constants.{CarbonCommonConstants, CarbonLoadOptionConstants} | ||
import org.apache.carbondata.core.util.CarbonProperties | ||
|
||
class TestUpdateCarbonTableWithSinglePass extends QueryTest with BeforeAndAfterAll { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dont add a new test case. Add this test case in the existing update table test case class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@manishgupta88 Thanks for the review Fixed
@@ -314,14 +315,19 @@ case class CarbonLoadDataCommand( | |||
} else { | |||
None | |||
} | |||
var loadDataFrame = dataFrame |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modify the code to make the variable as Val
val loadDataFrame = if (updateModel.isDefined) {
Some(getDataFrameWithTupleID)
} else {
dataFrame
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@manishgupta88 Thanks for the review Fixed
a2c7e93
to
d8d408f
Compare
Build Success with Spark 2.2.0, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/774/ |
SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/2319/ |
Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/2013/ |
LGTM |
The Update on carbon table is failing with single pass. In case of single pass the tupleId is not being arranged in the end. In case of single pass the tupleId should be retrieved using SegIdUDF function and should be arranged in the end. This closes apache#1167
The Update on carbon table is failing with single pass. In case of single pass the tupleId is not being arranged in the end. In case of single pass the tupleId should be retrieved using SegIdUDF function and should be arranged in the end. This closes apache#1167
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:
Problem:
- The Update on carbon table is failing with single pass. In case of single pass the tupleId is not being
arranged in the end.
solution:
- In case of single pass the tupleId should be retrieved using SegIdUDF function and should be
arranged in the end.
Any interfaces changed?
None
Any backward compatibility impacted?
None
Document update required?
None
Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required? Yes
- How it is tested? Please attach test report.
Added the Functional Test case for update with persist false.
Added functional test case for update with single pass true
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.
For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
None