Skip to content
Snippets Groups Projects
Commit a7d65d38 authored by Prashant Sharma's avatar Prashant Sharma
Browse files

[HOTFIX] [SQL] Fix compilation for scala 2.11.

Author: Prashant Sharma <prashant.s@imaginea.com>

Closes #5652 from ScrapCodes/hf/compilation-fix-scala-2.11 and squashes the following commits:

819ff06 [Prashant Sharma] [HOTFIX] Fix compilation for scala 2.11.
parent f60bece1
No related branches found
No related tags found
No related merge requests found
...@@ -162,7 +162,7 @@ public class JavaDataFrameSuite { ...@@ -162,7 +162,7 @@ public class JavaDataFrameSuite {
Buffer<Integer> outputBuffer = (Buffer<Integer>) first.getJavaMap(2).get("hello"); Buffer<Integer> outputBuffer = (Buffer<Integer>) first.getJavaMap(2).get("hello");
Assert.assertArrayEquals( Assert.assertArrayEquals(
bean.getC().get("hello"), bean.getC().get("hello"),
Ints.toArray(JavaConversions.asJavaList(outputBuffer))); Ints.toArray(JavaConversions.bufferAsJavaList(outputBuffer)));
Seq<String> d = first.getAs(3); Seq<String> d = first.getAs(3);
Assert.assertEquals(bean.getD().size(), d.length()); Assert.assertEquals(bean.getD().size(), d.length());
for (int i = 0; i < d.length(); i++) { for (int i = 0; i < d.length(); i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment