From 7a9bc960aa48d189ad0d82b427df53540aad36d0 Mon Sep 17 00:00:00 2001 From: oraviv Date: Tue, 7 Nov 2017 20:47:08 +0200 Subject: [PATCH] fixed "File line length exceeds 100 characters" --- .../sql/catalyst/parser/PlanParserSuite.scala | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/PlanParserSuite.scala b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/PlanParserSuite.scala index 88d24afd8bf2b..234974f025550 100644 --- a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/PlanParserSuite.scala +++ b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/PlanParserSuite.scala @@ -276,7 +276,8 @@ class PlanParserSuite extends AnalysisTest { assertEqual( "select * from t lateral view explode(x) expl as x", table("t") - .generate(explode, join = true, outer = false, omitGeneratorChild = false, Some("expl"), Seq("x")) + .generate(explode, join = true, outer = false, omitGeneratorChild = false, + Some("expl"), Seq("x")) .select(star())) // Multiple lateral views @@ -286,12 +287,15 @@ class PlanParserSuite extends AnalysisTest { |lateral view explode(x) expl |lateral view outer json_tuple(x, y) jtup q, z""".stripMargin, table("t") - .generate(explode, join = true, outer = false, omitGeneratorChild = false, Some("expl"), Seq.empty) - .generate(jsonTuple, join = true, outer = true, omitGeneratorChild = false, Some("jtup"), Seq("q", "z")) + .generate(explode, join = true, outer = false, omitGeneratorChild = false, + Some("expl"), Seq.empty) + .generate(jsonTuple, join = true, outer = true, omitGeneratorChild = false, + Some("jtup"), Seq("q", "z")) .select(star())) // Multi-Insert lateral views. - val from = table("t1").generate(explode, join = true, outer = false, omitGeneratorChild = false, Some("expl"), Seq("x")) + val from = table("t1").generate(explode, join = true, outer = false, + omitGeneratorChild = false, Some("expl"), Seq("x")) assertEqual( """from t1 |lateral view explode(x) expl as x @@ -303,7 +307,8 @@ class PlanParserSuite extends AnalysisTest { |where s < 10 """.stripMargin, Union(from - .generate(jsonTuple, join = true, outer = false, omitGeneratorChild = false, Some("jtup"), Seq("q", "z")) + .generate(jsonTuple, join = true, outer = false, omitGeneratorChild = false, + Some("jtup"), Seq("q", "z")) .select(star()) .insertInto("t2"), from.where('s < 10).select(star()).insertInto("t3")))