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

Improved Coverage for RichDataType #67

Merged
merged 5 commits into from
Aug 17, 2018

Conversation

himsmittal
Copy link
Contributor

  • Improved Coverage for RichDataType
    Added test case for checking nullability for ArrayType , MapType

@salesforce-cla
Copy link

Thanks for the contribution! Before we can merge this, we need @himsmittal to sign the Salesforce.com Contributor License Agreement.

@codecov
Copy link

codecov bot commented Aug 17, 2018

Codecov Report

Merging #67 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #67   +/-   ##
=======================================
  Coverage   85.79%   85.79%           
=======================================
  Files         298      298           
  Lines        9760     9760           
  Branches      535      535           
=======================================
  Hits         8374     8374           
  Misses       1386     1386

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e5e2073...0f83630. Read the comment docs.

Copy link
Collaborator

@tovbinm tovbinm left a comment

Choose a reason for hiding this comment

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

lgtm! only one minor comment.

@@ -234,6 +234,16 @@ class RichDatasetTest extends FlatSpec with TestSparkContext {
in(ds) noneOf "f2" should ((x: Double) => x > 3.5)
}

it should "only compare types and ignore nullability" in {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Minor correction: lets replace it in this test case with Spec(com.salesforce.op.utils.spark.RichDataType.getClass).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed usage of "it" to reflect RichDataType.
Thanks

@tovbinm tovbinm merged commit 48b2d9e into salesforce:master Aug 17, 2018
ericwayman pushed a commit that referenced this pull request Feb 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants