Skip to content

Commit a7d65d3

Browse files
committed
[HOTFIX] [SQL] Fix compilation for scala 2.11.
Author: Prashant Sharma <[email protected]> Closes apache#5652 from ScrapCodes/hf/compilation-fix-scala-2.11 and squashes the following commits: 819ff06 [Prashant Sharma] [HOTFIX] Fix compilation for scala 2.11.
1 parent f60bece commit a7d65d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/core/src/test/java/test/org/apache/spark/sql/JavaDataFrameSuite.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public void testCreateDataFrameFromJavaBeans() {
162162
Buffer<Integer> outputBuffer = (Buffer<Integer>) first.getJavaMap(2).get("hello");
163163
Assert.assertArrayEquals(
164164
bean.getC().get("hello"),
165-
Ints.toArray(JavaConversions.asJavaList(outputBuffer)));
165+
Ints.toArray(JavaConversions.bufferAsJavaList(outputBuffer)));
166166
Seq<String> d = first.getAs(3);
167167
Assert.assertEquals(bean.getD().size(), d.length());
168168
for (int i = 0; i < d.length(); i++) {

0 commit comments

Comments
 (0)