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

[Minor] Improve some code in BroadcastTest for short #3750

Closed
wants to merge 1 commit into from

Conversation

SaintBacchus
Copy link
Contributor

Using
val arr1 = (0 until num).toArray
instead of
val arr1 = new ArrayInt
for (i <- 0 until arr1.length) {
arr1(i) = i
}
for short.

@SparkQA
Copy link

SparkQA commented Dec 20, 2014

Test build #24667 has finished for PR 3750 at commit 43adb70.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SaintBacchus
Copy link
Contributor Author

Test Failing was caused by #3749

@srowen
Copy link
Member

srowen commented Dec 20, 2014

Very minor but LGTM

@andrewor14
Copy link
Contributor

retest this please

@andrewor14
Copy link
Contributor

Looks good, I believe this is not actually being tested so I'll just merge this into master and 1.2 thanks!

@asfgit asfgit closed this in 1d9788e Dec 22, 2014
asfgit pushed a commit that referenced this pull request Dec 22, 2014
Using
    val arr1 = (0 until num).toArray
instead of
    val arr1 = new Array[Int](num)
    for (i <- 0 until arr1.length) {
      arr1(i) = i
    }
for short.

Author: carlmartin <[email protected]>

Closes #3750 from SaintBacchus/BroadcastTest and squashes the following commits:

43adb70 [carlmartin] Improve some code in BroadcastTest for short
@SaintBacchus SaintBacchus deleted the BroadcastTest branch December 26, 2015 06:27
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.

4 participants