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

[HOTFIX] Ignore testcase for compatibility problem in spark 2.1 #3457

Closed
wants to merge 1 commit into from

Conversation

kevinjmh
Copy link
Member

Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

  • Any interfaces changed?

  • Any backward compatibility impacted?

  • Document update required?

  • Testing done
    Please provide details on
    - Whether new unit test cases have been added or why no new tests are required?
    - How it is tested? Please attach test report.
    - 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.

@CarbonDataQA
Copy link

Build Success with Spark 2.1.0, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.1/853/

@@ -134,7 +134,9 @@ class TestCreateTableLike extends QueryTest with BeforeAndAfterEach with BeforeA
assert(exception.getMessage.contains("already exists in database"))
}

test("command with location") {
// ignore this test case since Spark 2.1 does not support specify location
// and also current implementation in carbon does not use this parameter.
Copy link
Contributor

Choose a reason for hiding this comment

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

If Spark version is 2.2 and above, then also this test will be ignored. Instead you can use 'SparkUtil.isSparkVersionXandAbove("2.2")' in your test case and check for it. You can refer to the test class 'TestCreateTableUsingSparkCarbonFileFormat'.

Copy link
Member Author

@kevinjmh kevinjmh Nov 14, 2019

Choose a reason for hiding this comment

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

actually we ignore the location parameter in carbon now. This parameter will have no effect for spark 2.2+ for current version. Keep it as a reminder.

@CarbonDataQA
Copy link

Build Success with Spark 2.2.1, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.2/859/

@CarbonDataQA
Copy link

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

@akashrn5
Copy link
Contributor

LGTM

2 similar comments
@jackylk
Copy link
Contributor

jackylk commented Nov 23, 2019

LGTM

@jackylk
Copy link
Contributor

jackylk commented Nov 23, 2019

LGTM

@brijoobopanna
Copy link
Contributor

retest this please

@CarbonDataQA1
Copy link

Build Success with Spark 2.2.1, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.2/1039/

@asfgit asfgit closed this in c6f9aad Dec 6, 2019
@kevinjmh kevinjmh deleted the fix_like branch December 9, 2019 01:47
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

7 participants