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-649] fix for update with rand function #1296
Conversation
Can one of the admins verify this patch? |
1 similar comment
Can one of the admins verify this patch? |
retest this please |
@@ -841,3 +868,45 @@ case class CarbonDecoderRelation( | |||
|
|||
lazy val dictionaryMap = carbonRelation.carbonRelation.metaData.dictionaryMap | |||
} | |||
|
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.
Move this class dummy class out of this class
retest this please |
SDV Build Success with Spark 2.1, Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/364/ |
@ravipesala please review |
LGTM |
@ashwini-krishnakumar Please amend all comments as single comment. There is an issue while merging to master. |
371262b
to
cac650f
Compare
Can one of the admins verify this patch? |
1 similar comment
Can one of the admins verify this patch? |
SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/596/ |
| BIGINT_COLUMN2,DECIMAL_COLUMN1,DECIMAL_COLUMN2,Double_COLUMN1,Double_COLUMN2,INTEGER_COLUMN1')""" | ||
.stripMargin).collect() | ||
|
||
sql(s"""LOAD DATA INPATH '$resourcesPath/IUD/2000_UniqData.csv' into table rand OPTIONS('DELIMITER'=',' , 'QUOTECHAR'='"','BAD_RECORDS_ACTION'='FORCE','FILEHEADER'='CUST_ID,CUST_NAME,ACTIVE_EMUI_VERSION,DOB,DOJ,BIGINT_COLUMN1,BIGINT_COLUMN2,DECIMAL_COLUMN1,DECIMAL_COLUMN2,Double_COLUMN1,Double_COLUMN2,INTEGER_COLUMN1')""").collect |
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.
Try to use the csv files which are already existed for this testcase. I don't see any reason to add new csv for this simple testcase.
updated testcase to reuse the existing data file
91c593d
to
cac650f
Compare
Updated UpdateCarbonTableTestCase.scala to use an existing csv file |
Can one of the admins verify this patch? |
1 similar comment
Can one of the admins verify this patch? |
SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/653/ |
LGTM |
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:
Make sure the PR title is formatted like:
[CARBONDATA-<Jira issue #>] Description of pull request
Make sure tests pass via
mvn clean verify
. (Even better, enableTravis-CI on your fork and ensure the whole test matrix passes).
Replace
<Jira issue #>
in the title with the actual Jira issuenumber, if there is one.
If this contribution is large, please file an Apache
Individual Contributor License Agreement.
Testing done
For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.