&#010;Failed to execute query using catalyst:&#010;Error: execute, tree:&#010;Exchange rangepartitioning(i#204195 ASC NULLS FIRST, n#204187 ASC NULLS FIRST, 5), true, [id=#151627]&#010;+- *(2) Project [i#204195, n#204187]&#010; +- Window [ntile(10) windowspecdefinition(s#204200, i#204195 ASC NULLS FIRST, specifiedwindowframe(RowFrame, unboundedpreceding$(), currentrow$())) AS n#204187], [s#204200], [i#204195 ASC NULLS FIRST]&#010; +- *(1) Sort [s#204200 ASC NULLS FIRST, i#204195 ASC NULLS FIRST], false, 0&#010; +- Exchange hashpartitioning(s#204200, 5), true, [id=#151613]&#010; +- Scan hive default.over1k [i#204195, s#204200], HiveTableRelation `default`.`over1k`, org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, [t#204193, si#204194, i#204195, b#204196L, f#204197, d#204198, bo#204199, s#204200, ts#204201, dec#204202, bin#204203]&#010;&#010;org.apache.spark.sql.catalyst.errors.package$TreeNodeException: execute, tree:&#010;Exchange rangepartitioning(i#204195 ASC NULLS FIRST, n#204187 ASC NULLS FIRST, 5), true, [id=#151627]&#010;+- *(2) Project [i#204195, n#204187]&#010; +- Window [ntile(10) windowspecdefinition(s#204200, i#204195 ASC NULLS FIRST, specifiedwindowframe(RowFrame, unboundedpreceding$(), currentrow$())) AS n#204187], [s#204200], [i#204195 ASC NULLS FIRST]&#010; +- *(1) Sort [s#204200 ASC NULLS FIRST, i#204195 ASC NULLS FIRST], false, 0&#010; +- Exchange hashpartitioning(s#204200, 5), true, [id=#151613]&#010; +- Scan hive default.over1k [i#204195, s#204200], HiveTableRelation `default`.`over1k`, org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, [t#204193, si#204194, i#204195, b#204196L, f#204197, d#204198, bo#204199, s#204200, ts#204201, dec#204202, bin#204203]&#010;&#010; at org.apache.spark.sql.catalyst.errors.package$.attachTree(package.scala:56)&#010; at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.doExecute(ShuffleExchangeExec.scala:90)&#010; at org.apache.spark.sql.execution.SparkPlan.$anonfun$execute$1(SparkPlan.scala:189)&#010; at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(SparkPlan.scala:227)&#010; at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)&#010; at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:224)&#010; at org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:185)&#010; at org.apache.spark.sql.execution.InputAdapter.inputRDD(WholeStageCodegenExec.scala:524)&#010; at org.apache.spark.sql.execution.InputRDDCodegen.inputRDDs(WholeStageCodegenExec.scala:452)&#010; at org.apache.spark.sql.execution.InputRDDCodegen.inputRDDs$(WholeStageCodegenExec.scala:451)&#010; at org.apache.spark.sql.execution.InputAdapter.inputRDDs(WholeStageCodegenExec.scala:495)&#010; at org.apache.spark.sql.execution.SortExec.inputRDDs(SortExec.scala:124)&#010; at org.apache.spark.sql.execution.WholeStageCodegenExec.doExecute(WholeStageCodegenExec.scala:717)&#010; at org.apache.spark.sql.execution.SparkPlan.$anonfun$execute$1(SparkPlan.scala:189)&#010; at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(SparkPlan.scala:227)&#010; at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)&#010; at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:224)&#010; at org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:185)&#010; at org.apache.spark.sql.execution.SparkPlan.getByteArrayRdd(SparkPlan.scala:329)&#010; at org.apache.spark.sql.execution.SparkPlan.executeCollect(SparkPlan.scala:378)&#010; at org.apache.spark.sql.execution.SparkPlan.executeCollectPublic(SparkPlan.scala:408)&#010; at org.apache.spark.sql.execution.HiveResult$.hiveResultString(HiveResult.scala:52)&#010; at org.apache.spark.sql.hive.execution.HiveComparisonTest.$anonfun$createQueryTest$32(HiveComparisonTest.scala:351)&#010; at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withNewExecutionId$4(SQLExecution.scala:100)&#010; at org.apache.spark.sql.execution.SQLExecution$.withSQLConfPropagated(SQLExecution.scala:160)&#010; at org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId(SQLExecution.scala:87)&#010; at org.apache.spark.sql.hive.execution.HiveComparisonTest.getResult$1(HiveComparisonTest.scala:351)&#010; at org.apache.spark.sql.hive.execution.HiveComparisonTest.$anonfun$createQueryTest$31(HiveComparisonTest.scala:353)&#010; at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:237)&#010; at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)&#010; at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)&#010; at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)&#010; at scala.collection.TraversableLike.map(TraversableLike.scala:237)&#010; at scala.collection.TraversableLike.map$(TraversableLike.scala:230)&#010; at scala.collection.AbstractTraversable.map(Traversable.scala:108)&#010; at org.apache.spark.sql.hive.execution.HiveComparisonTest.doTest$1(HiveComparisonTest.scala:347)&#010; at org.apache.spark.sql.hive.execution.HiveComparisonTest.$anonfun$createQueryTest$10(HiveComparisonTest.scala:467)&#010; at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)&#010; at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)&#010; at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)&#010; at org.scalatest.Transformer.apply(Transformer.scala:22)&#010; at org.scalatest.Transformer.apply(Transformer.scala:20)&#010; at org.scalatest.FunSuiteLike$$anon$1.apply(FunSuiteLike.scala:186)&#010; at org.apache.spark.SparkFunSuite.withFixture(SparkFunSuite.scala:149)&#010; at org.scalatest.FunSuiteLike.invokeWithFixture$1(FunSuiteLike.scala:184)&#010; at org.scalatest.FunSuiteLike.$anonfun$runTest$1(FunSuiteLike.scala:196)&#010; at org.scalatest.SuperEngine.runTestImpl(Engine.scala:289)&#010; at org.scalatest.FunSuiteLike.runTest(FunSuiteLike.scala:196)&#010; at org.scalatest.FunSuiteLike.runTest$(FunSuiteLike.scala:178)&#010; at org.apache.spark.SparkFunSuite.org$scalatest$BeforeAndAfterEach$$super$runTest(SparkFunSuite.scala:56)&#010; at org.scalatest.BeforeAndAfterEach.runTest(BeforeAndAfterEach.scala:221)&#010; at org.scalatest.BeforeAndAfterEach.runTest$(BeforeAndAfterEach.scala:214)&#010; at org.apache.spark.sql.hive.execution.HiveWindowFunctionQuerySuite.org$scalatest$BeforeAndAfter$$super$runTest(HiveWindowFunctionQuerySuite.scala:35)&#010; at org.scalatest.BeforeAndAfter.runTest(BeforeAndAfter.scala:203)&#010; at org.scalatest.BeforeAndAfter.runTest$(BeforeAndAfter.scala:192)&#010; at org.apache.spark.sql.hive.execution.HiveWindowFunctionQuerySuite.runTest(HiveWindowFunctionQuerySuite.scala:35)&#010; at org.scalatest.FunSuiteLike.$anonfun$runTests$1(FunSuiteLike.scala:229)&#010; at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:396)&#010; at scala.collection.immutable.List.foreach(List.scala:392)&#010; at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:384)&#010; at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:379)&#010; at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:461)&#010; at org.scalatest.FunSuiteLike.runTests(FunSuiteLike.scala:229)&#010; at org.scalatest.FunSuiteLike.runTests$(FunSuiteLike.scala:228)&#010; at org.scalatest.FunSuite.runTests(FunSuite.scala:1560)&#010; at org.scalatest.Suite.run(Suite.scala:1147)&#010; at org.scalatest.Suite.run$(Suite.scala:1129)&#010; at org.scalatest.FunSuite.org$scalatest$FunSuiteLike$$super$run(FunSuite.scala:1560)&#010; at org.scalatest.FunSuiteLike.$anonfun$run$1(FunSuiteLike.scala:233)&#010; at org.scalatest.SuperEngine.runImpl(Engine.scala:521)&#010; at org.scalatest.FunSuiteLike.run(FunSuiteLike.scala:233)&#010; at org.scalatest.FunSuiteLike.run$(FunSuiteLike.scala:232)&#010; at org.apache.spark.SparkFunSuite.org$scalatest$BeforeAndAfterAll$$super$run(SparkFunSuite.scala:56)&#010; at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)&#010; at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)&#010; at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)&#010; at org.apache.spark.sql.hive.execution.HiveWindowFunctionQuerySuite.org$scalatest$BeforeAndAfter$$super$run(HiveWindowFunctionQuerySuite.scala:35)&#010; at org.scalatest.BeforeAndAfter.run(BeforeAndAfter.scala:258)&#010; at org.scalatest.BeforeAndAfter.run$(BeforeAndAfter.scala:256)&#010; at org.apache.spark.sql.hive.execution.HiveWindowFunctionQuerySuite.run(HiveWindowFunctionQuerySuite.scala:35)&#010; at org.scalatest.Suite.callExecuteOnSuite$1(Suite.scala:1210)&#010; at org.scalatest.Suite.$anonfun$runNestedSuites$1(Suite.scala:1257)&#010; at scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:36)&#010; at scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:33)&#010; at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:198)&#010; at org.scalatest.Suite.runNestedSuites(Suite.scala:1255)&#010; at org.scalatest.Suite.runNestedSuites$(Suite.scala:1189)&#010; at org.scalatest.tools.DiscoverySuite.runNestedSuites(DiscoverySuite.scala:30)&#010; at org.scalatest.Suite.run(Suite.scala:1144)&#010; at org.scalatest.Suite.run$(Suite.scala:1129)&#010; at org.scalatest.tools.DiscoverySuite.run(DiscoverySuite.scala:30)&#010; at org.scalatest.tools.SuiteRunner.run(SuiteRunner.scala:45)&#010; at org.scalatest.tools.Runner$.$anonfun$doRunRunRunDaDoRunRun$13(Runner.scala:1346)&#010; at org.scalatest.tools.Runner$.$anonfun$doRunRunRunDaDoRunRun$13$adapted(Runner.scala:1340)&#010; at scala.collection.immutable.List.foreach(List.scala:392)&#010; at org.scalatest.tools.Runner$.doRunRunRunDaDoRunRun(Runner.scala:1340)&#010; at org.scalatest.tools.Runner$.$anonfun$runOptionallyWithPassFailReporter$24(Runner.scala:1031)&#010; at org.scalatest.tools.Runner$.$anonfun$runOptionallyWithPassFailReporter$24$adapted(Runner.scala:1010)&#010; at org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:1506)&#010; at org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:1010)&#010; at org.scalatest.tools.Runner$.main(Runner.scala:827)&#010; at org.scalatest.tools.Runner.main(Runner.scala)&#010;Caused by: org.apache.spark.sql.catalyst.errors.package$TreeNodeException: execute, tree:&#010;Exchange hashpartitioning(s#204200, 5), true, [id=#151613]&#010;+- Scan hive default.over1k [i#204195, s#204200], HiveTableRelation `default`.`over1k`, org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, [t#204193, si#204194, i#204195, b#204196L, f#204197, d#204198, bo#204199, s#204200, ts#204201, dec#204202, bin#204203]&#010;&#010; at org.apache.spark.sql.catalyst.errors.package$.attachTree(package.scala:56)&#010; at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.doExecute(ShuffleExchangeExec.scala:90)&#010; at org.apache.spark.sql.execution.SparkPlan.$anonfun$execute$1(SparkPlan.scala:189)&#010; at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(SparkPlan.scala:227)&#010; at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)&#010; at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:224)&#010; at org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:185)&#010; at org.apache.spark.sql.execution.InputAdapter.inputRDD(WholeStageCodegenExec.scala:524)&#010; at org.apache.spark.sql.execution.InputRDDCodegen.inputRDDs(WholeStageCodegenExec.scala:452)&#010; at org.apache.spark.sql.execution.InputRDDCodegen.inputRDDs$(WholeStageCodegenExec.scala:451)&#010; at org.apache.spark.sql.execution.InputAdapter.inputRDDs(WholeStageCodegenExec.scala:495)&#010; at org.apache.spark.sql.execution.SortExec.inputRDDs(SortExec.scala:124)&#010; at org.apache.spark.sql.execution.WholeStageCodegenExec.doExecute(WholeStageCodegenExec.scala:717)&#010; at org.apache.spark.sql.execution.SparkPlan.$anonfun$execute$1(SparkPlan.scala:189)&#010; at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(SparkPlan.scala:227)&#010; at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)&#010; at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:224)&#010; at org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:185)&#010; at org.apache.spark.sql.execution.window.WindowExec.doExecute(WindowExec.scala:115)&#010; at org.apache.spark.sql.execution.SparkPlan.$anonfun$execute$1(SparkPlan.scala:189)&#010; at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(SparkPlan.scala:227)&#010; at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)&#010; at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:224)&#010; at org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:185)&#010; at org.apache.spark.sql.execution.InputAdapter.inputRDD(WholeStageCodegenExec.scala:524)&#010; at org.apache.spark.sql.execution.InputRDDCodegen.inputRDDs(WholeStageCodegenExec.scala:452)&#010; at org.apache.spark.sql.execution.InputRDDCodegen.inputRDDs$(WholeStageCodegenExec.scala:451)&#010; at org.apache.spark.sql.execution.InputAdapter.inputRDDs(WholeStageCodegenExec.scala:495)&#010; at org.apache.spark.sql.execution.ProjectExec.inputRDDs(basicPhysicalOperators.scala:45)&#010; at org.apache.spark.sql.execution.WholeStageCodegenExec.doExecute(WholeStageCodegenExec.scala:717)&#010; at org.apache.spark.sql.execution.SparkPlan.$anonfun$execute$1(SparkPlan.scala:189)&#010; at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(SparkPlan.scala:227)&#010; at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)&#010; at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:224)&#010; at org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:185)&#010; at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.inputRDD$lzycompute(ShuffleExchangeExec.scala:64)&#010; at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.inputRDD(ShuffleExchangeExec.scala:64)&#010; at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.shuffleDependency$lzycompute(ShuffleExchangeExec.scala:74)&#010; at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.shuffleDependency(ShuffleExchangeExec.scala:72)&#010; at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.createShuffledRDD(ShuffleExchangeExec.scala:82)&#010; at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.$anonfun$doExecute$1(ShuffleExchangeExec.scala:93)&#010; at org.apache.spark.sql.catalyst.errors.package$.attachTree(package.scala:52)&#010; ... 101 more&#010;Caused by: java.lang.IllegalStateException: Cannot call methods on a stopped SparkContext.&#010;This stopped SparkContext was created at:&#010;&#010;org.apache.spark.sql.hive.StatisticsSuite.<init>(StatisticsSuite.scala:46)&#010;sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&#010;sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)&#010;sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)&#010;java.lang.reflect.Constructor.newInstance(Constructor.java:423)&#010;java.lang.Class.newInstance(Class.java:442)&#010;org.scalatest.tools.DiscoverySuite$.getSuiteInstance(DiscoverySuite.scala:66)&#010;org.scalatest.tools.DiscoverySuite.$anonfun$nestedSuites$1(DiscoverySuite.scala:38)&#010;scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:237)&#010;scala.collection.Iterator.foreach(Iterator.scala:941)&#010;scala.collection.Iterator.foreach$(Iterator.scala:941)&#010;scala.collection.AbstractIterator.foreach(Iterator.scala:1429)&#010;scala.collection.IterableLike.foreach(IterableLike.scala:74)&#010;scala.collection.IterableLike.foreach$(IterableLike.scala:73)&#010;scala.collection.AbstractIterable.foreach(Iterable.scala:56)&#010;scala.collection.TraversableLike.map(TraversableLike.scala:237)&#010;scala.collection.TraversableLike.map$(TraversableLike.scala:230)&#010;scala.collection.AbstractTraversable.map(Traversable.scala:108)&#010;org.scalatest.tools.DiscoverySuite.<init>(DiscoverySuite.scala:37)&#010;org.scalatest.tools.Runner$.genDiscoSuites$1(Runner.scala:1165)&#010;&#010;The currently active SparkContext was created at:&#010;&#010;(No active SparkContext.)&#010; &#010; at org.apache.spark.SparkContext.assertNotStopped(SparkContext.scala:109)&#010; at org.apache.spark.SparkContext.broadcast(SparkContext.scala:1466)&#010; at org.apache.spark.sql.hive.HadoopTableReader.<init>(TableReader.scala:90)&#010; at org.apache.spark.sql.hive.execution.HiveTableScanExec.hadoopReader$lzycompute(HiveTableScanExec.scala:110)&#010; at org.apache.spark.sql.hive.execution.HiveTableScanExec.hadoopReader(HiveTableScanExec.scala:105)&#010; at org.apache.spark.sql.hive.execution.HiveTableScanExec.$anonfun$doExecute$1(HiveTableScanExec.scala:188)&#010; at org.apache.spark.util.Utils$.withDummyCallSite(Utils.scala:2488)&#010; at org.apache.spark.sql.hive.execution.HiveTableScanExec.doExecute(HiveTableScanExec.scala:188)&#010; at org.apache.spark.sql.execution.SparkPlan.$anonfun$execute$1(SparkPlan.scala:189)&#010; at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(SparkPlan.scala:227)&#010; at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)&#010; at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:224)&#010; at org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:185)&#010; at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.inputRDD$lzycompute(ShuffleExchangeExec.scala:64)&#010; at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.inputRDD(ShuffleExchangeExec.scala:64)&#010; at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.shuffleDependency$lzycompute(ShuffleExchangeExec.scala:74)&#010; at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.shuffleDependency(ShuffleExchangeExec.scala:72)&#010; at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.createShuffledRDD(ShuffleExchangeExec.scala:82)&#010; at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.$anonfun$doExecute$1(ShuffleExchangeExec.scala:93)&#010; at org.apache.spark.sql.catalyst.errors.package$.attachTree(package.scala:52)&#010; ... 142 more&#010;&#010;select i, ntile(10) over (partition by s order by i) n from over1k&#010;order by i, n&#010;== Parsed Logical Plan ==&#010;'Sort ['i ASC NULLS FIRST, 'n ASC NULLS FIRST], true&#010;+- 'Project ['i, 'ntile(10) windowspecdefinition('s, 'i ASC NULLS FIRST, unspecifiedframe$()) AS n#204187]&#010; +- 'UnresolvedRelation [over1k]&#010;&#010;== Analyzed Logical Plan ==&#010;i: int, n: int&#010;Sort [i#204195 ASC NULLS FIRST, n#204187 ASC NULLS FIRST], true&#010;+- Project [i#204195, n#204187]&#010; +- Project [i#204195, s#204200, n#204187, n#204187]&#010; +- Window [ntile(10) windowspecdefinition(s#204200, i#204195 ASC NULLS FIRST, specifiedwindowframe(RowFrame, unboundedpreceding$(), currentrow$())) AS n#204187], [s#204200], [i#204195 ASC NULLS FIRST]&#010; +- Project [i#204195, s#204200]&#010; +- SubqueryAlias `default`.`over1k`&#010; +- HiveTableRelation `default`.`over1k`, org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, [t#204193, si#204194, i#204195, b#204196L, f#204197, d#204198, bo#204199, s#204200, ts#204201, dec#204202, bin#204203]&#010;&#010;== Optimized Logical Plan ==&#010;Sort [i#204195 ASC NULLS FIRST, n#204187 ASC NULLS FIRST], true&#010;+- Project [i#204195, n#204187]&#010; +- Window [ntile(10) windowspecdefinition(s#204200, i#204195 ASC NULLS FIRST, specifiedwindowframe(RowFrame, unboundedpreceding$(), currentrow$())) AS n#204187], [s#204200], [i#204195 ASC NULLS FIRST]&#010; +- Project [i#204195, s#204200]&#010; +- HiveTableRelation `default`.`over1k`, org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, [t#204193, si#204194, i#204195, b#204196L, f#204197, d#204198, bo#204199, s#204200, ts#204201, dec#204202, bin#204203]&#010;&#010;== Physical Plan ==&#010;*(3) Sort [i#204195 ASC NULLS FIRST, n#204187 ASC NULLS FIRST], true, 0&#010;+- Exchange rangepartitioning(i#204195 ASC NULLS FIRST, n#204187 ASC NULLS FIRST, 5), true, [id=#151627]&#010; +- *(2) Project [i#204195, n#204187]&#010; +- Window [ntile(10) windowspecdefinition(s#204200, i#204195 ASC NULLS FIRST, specifiedwindowframe(RowFrame, unboundedpreceding$(), currentrow$())) AS n#204187], [s#204200], [i#204195 ASC NULLS FIRST]&#010; +- *(1) Sort [s#204200 ASC NULLS FIRST, i#204195 ASC NULLS FIRST], false, 0&#010; +- Exchange hashpartitioning(s#204200, 5), true, [id=#151613]&#010; +- Scan hive default.over1k [i#204195, s#204200], HiveTableRelation `default`.`over1k`, org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, [t#204193, si#204194, i#204195, b#204196L, f#204197, d#204198, bo#204199, s#204200, ts#204201, dec#204202, bin#204203]&#010;&#010;== HIVE - 1049 row(s) ==&#010;65536 1&#010;65536 1&#010;65536 1&#010;65536 1&#010;65536 1&#010;65536 1&#010;65536 1&#010;65537 1&#010;65537 1&#010;65537 1&#010;65537 1&#010;65537 1&#010;65538 1&#010;65538 1&#010;65538 1&#010;65539 1&#010;65539 1&#010;65539 1&#010;65540 1&#010;65541 1&#010;65541 1&#010;65541 1&#010;65541 1&#010;65541 1&#010;65541 1&#010;65541 1&#010;65541 1&#010;65541 1&#010;65542 1&#010;65542 1&#010;65542 1&#010;65542 1&#010;65542 1&#010;65543 1&#010;65543 1&#010;65544 1&#010;65544 1&#010;65544 1&#010;65544 1&#010;65544 1&#010;65544 1&#010;65544 1&#010;65544 2&#010;65545 1&#010;65545 1&#010;65545 1&#010;65546 2&#010;65547 1&#010;65547 1&#010;65547 1&#010;65547 1&#010;65548 1&#010;65548 1&#010;65548 1&#010;65548 1&#010;65548 1&#010;65548 1&#010;65548 2&#010;65549 1&#010;65549 1&#010;65549 1&#010;65549 1&#010;65549 1&#010;65549 1&#010;65549 1&#010;65549 3&#010;65550 1&#010;65550 1&#010;65550 1&#010;65550 1&#010;65550 1&#010;65550 1&#010;65550 2&#010;65551 1&#010;65551 1&#010;65551 1&#010;65552 1&#010;65552 1&#010;65552 1&#010;65552 1&#010;65552 2&#010;65553 1&#010;65553 1&#010;65553 1&#010;65553 1&#010;65553 1&#010;65554 1&#010;65554 1&#010;65555 2&#010;65556 1&#010;65556 1&#010;65556 1&#010;65556 1&#010;65556 1&#010;65557 1&#010;65557 1&#010;65558 1&#010;65559 1&#010;65559 1&#010;65559 1&#010;65559 1&#010;65559 1&#010;65560 1&#010;65560 1&#010;65560 1&#010;65560 2&#010;65560 2&#010;65561 1&#010;65561 2&#010;65561 2&#010;65562 1&#010;65562 1&#010;65562 1&#010;65562 1&#010;65562 1&#010;65562 2&#010;65563 1&#010;65563 1&#010;65563 1&#010;65563 1&#010;65564 1&#010;65564 1&#010;65564 1&#010;65564 1&#010;65564 2&#010;65564 2&#010;65564 2&#010;65565 1&#010;65565 1&#010;65566 1&#010;65566 2&#010;65567 1&#010;65568 1&#010;65568 1&#010;65568 1&#010;65569 1&#010;65570 1&#010;65570 1&#010;65570 1&#010;65570 1&#010;65570 1&#010;65570 2&#010;65571 1&#010;65571 1&#010;65571 1&#010;65571 2&#010;65572 1&#010;65572 1&#010;65572 1&#010;65572 1&#010;65572 1&#010;65573 1&#010;65573 1&#010;65573 3&#010;65574 1&#010;65574 1&#010;65574 1&#010;65575 1&#010;65575 1&#010;65575 1&#010;65575 2&#010;65576 1&#010;65576 1&#010;65576 1&#010;65576 3&#010;65577 1&#010;65578 1&#010;65578 1&#010;65578 1&#010;65578 1&#010;65578 1&#010;65578 1&#010;65578 2&#010;65579 1&#010;65579 1&#010;65579 1&#010;65579 1&#010;65579 3&#010;65580 1&#010;65580 2&#010;65580 2&#010;65581 1&#010;65581 1&#010;65581 1&#010;65581 1&#010;65581 2&#010;65581 2&#010;65582 1&#010;65582 1&#010;65582 1&#010;65582 1&#010;65583 1&#010;65583 1&#010;65583 2&#010;65583 2&#010;65584 1&#010;65584 1&#010;65584 1&#010;65585 1&#010;65585 1&#010;65585 1&#010;65585 1&#010;65585 2&#010;65586 1&#010;65586 1&#010;65586 1&#010;65586 1&#010;65586 2&#010;65587 1&#010;65587 1&#010;65587 1&#010;65587 2&#010;65587 3&#010;65588 1&#010;65588 1&#010;65588 1&#010;65588 1&#010;65588 2&#010;65589 1&#010;65589 1&#010;65589 1&#010;65589 1&#010;65589 2&#010;65590 1&#010;65590 1&#010;65590 1&#010;65590 1&#010;65590 1&#010;65591 1&#010;65591 1&#010;65591 2&#010;65591 3&#010;65592 1&#010;65593 1&#010;65593 1&#010;65594 1&#010;65594 1&#010;65594 1&#010;65594 3&#010;65595 1&#010;65595 1&#010;65595 1&#010;65595 2&#010;65595 2&#010;65595 4&#010;65596 1&#010;65596 1&#010;65596 1&#010;65596 2&#010;65596 2&#010;65597 1&#010;65597 1&#010;65597 2&#010;65598 1&#010;65598 2&#010;65599 1&#010;65599 1&#010;65599 1&#010;65599 1&#010;65599 3&#010;65600 1&#010;65600 1&#010;65600 2&#010;65600 2&#010;65601 1&#010;65601 2&#010;65601 2&#010;65602 1&#010;65602 1&#010;65602 1&#010;65602 1&#010;65602 1&#010;65602 2&#010;65603 1&#010;65603 1&#010;65603 1&#010;65603 2&#010;65603 2&#010;65604 1&#010;65604 2&#010;65604 2&#010;65604 3&#010;65605 2&#010;65606 1&#010;65606 1&#010;65606 1&#010;65606 1&#010;65606 2&#010;65606 2&#010;65607 1&#010;65607 1&#010;65607 1&#010;65607 1&#010;65607 2&#010;65607 3&#010;65608 1&#010;65608 1&#010;65608 1&#010;65608 2&#010;65609 1&#010;65610 1&#010;65610 1&#010;65610 3&#010;65610 4&#010;65610 5&#010;65611 1&#010;65611 1&#010;65611 1&#010;65611 1&#010;65612 1&#010;65612 2&#010;65612 2&#010;65612 3&#010;65613 1&#010;65614 1&#010;65614 1&#010;65614 2&#010;65615 1&#010;65615 1&#010;65615 2&#010;65615 2&#010;65616 1&#010;65616 2&#010;65617 1&#010;65617 2&#010;65617 2&#010;65617 2&#010;65618 1&#010;65618 1&#010;65618 2&#010;65618 2&#010;65618 2&#010;65619 1&#010;65619 1&#010;65619 1&#010;65619 1&#010;65619 2&#010;65619 2&#010;65620 1&#010;65620 1&#010;65620 1&#010;65620 1&#010;65620 1&#010;65620 3&#010;65621 1&#010;65621 1&#010;65622 1&#010;65622 1&#010;65622 1&#010;65622 3&#010;65622 3&#010;65622 4&#010;65623 1&#010;65623 1&#010;65623 1&#010;65623 1&#010;65623 1&#010;65623 2&#010;65623 4&#010;65624 1&#010;65624 2&#010;65624 2&#010;65624 2&#010;65624 4&#010;65625 1&#010;65625 1&#010;65625 1&#010;65625 1&#010;65626 1&#010;65626 1&#010;65626 1&#010;65626 2&#010;65627 1&#010;65627 1&#010;65627 2&#010;65627 3&#010;65628 1&#010;65628 1&#010;65628 1&#010;65628 2&#010;65628 2&#010;65628 3&#010;65629 1&#010;65629 1&#010;65629 1&#010;65629 3&#010;65630 1&#010;65630 2&#010;65631 1&#010;65632 2&#010;65632 2&#010;65633 1&#010;65633 2&#010;65633 2&#010;65633 2&#010;65634 1&#010;65634 1&#010;65634 1&#010;65634 2&#010;65635 1&#010;65635 2&#010;65635 3&#010;65636 1&#010;65636 1&#010;65636 2&#010;65637 1&#010;65637 1&#010;65637 1&#010;65637 1&#010;65637 1&#010;65637 1&#010;65637 2&#010;65637 3&#010;65638 1&#010;65638 1&#010;65638 2&#010;65639 1&#010;65640 2&#010;65641 1&#010;65641 1&#010;65641 1&#010;65641 5&#010;65642 4&#010;65643 1&#010;65643 1&#010;65643 2&#010;65643 2&#010;65643 2&#010;65643 2&#010;65643 2&#010;65643 2&#010;65643 4&#010;65644 1&#010;65644 1&#010;65644 1&#010;65644 1&#010;65644 2&#010;65644 2&#010;65644 3&#010;65645 1&#010;65645 1&#010;65645 1&#010;65646 1&#010;65646 1&#010;65646 1&#010;65647 1&#010;65647 2&#010;65648 1&#010;65648 1&#010;65648 2&#010;65648 2&#010;65649 1&#010;65649 1&#010;65649 2&#010;65649 2&#010;65650 1&#010;65650 1&#010;65650 1&#010;65650 1&#010;65650 2&#010;65650 2&#010;65651 1&#010;65651 1&#010;65651 2&#010;65651 2&#010;65651 3&#010;65652 1&#010;65652 1&#010;65652 2&#010;65653 1&#010;65653 2&#010;65653 2&#010;65653 3&#010;65654 1&#010;65654 1&#010;65654 1&#010;65654 1&#010;65654 1&#010;65654 1&#010;65654 2&#010;65654 2&#010;65654 2&#010;65655 1&#010;65655 1&#010;65656 1&#010;65656 1&#010;65656 1&#010;65656 1&#010;65656 2&#010;65656 3&#010;65657 1&#010;65657 2&#010;65657 2&#010;65657 2&#010;65657 2&#010;65658 1&#010;65658 1&#010;65658 1&#010;65658 1&#010;65658 1&#010;65658 2&#010;65658 2&#010;65658 2&#010;65658 2&#010;65658 2&#010;65659 1&#010;65659 1&#010;65659 1&#010;65659 1&#010;65659 1&#010;65659 2&#010;65659 2&#010;65659 3&#010;65660 1&#010;65660 1&#010;65660 2&#010;65661 1&#010;65661 2&#010;65661 2&#010;65661 2&#010;65661 3&#010;65662 1&#010;65662 1&#010;65662 2&#010;65662 2&#010;65662 2&#010;65662 2&#010;65663 2&#010;65663 2&#010;65663 2&#010;65663 3&#010;65664 1&#010;65664 1&#010;65664 1&#010;65664 1&#010;65664 1&#010;65664 2&#010;65664 2&#010;65664 2&#010;65665 2&#010;65666 1&#010;65666 1&#010;65666 2&#010;65667 1&#010;65667 1&#010;65667 1&#010;65667 1&#010;65668 3&#010;65669 1&#010;65669 1&#010;65669 1&#010;65669 1&#010;65669 1&#010;65669 3&#010;65670 1&#010;65670 1&#010;65670 2&#010;65670 2&#010;65670 3&#010;65671 2&#010;65671 2&#010;65671 3&#010;65672 1&#010;65672 1&#010;65672 1&#010;65672 2&#010;65672 2&#010;65673 2&#010;65673 2&#010;65673 3&#010;65673 4&#010;65673 4&#010;65674 1&#010;65675 1&#010;65675 1&#010;65675 2&#010;65675 2&#010;65675 2&#010;65675 2&#010;65675 3&#010;65675 3&#010;65676 1&#010;65676 1&#010;65676 2&#010;65676 3&#010;65677 1&#010;65677 1&#010;65677 1&#010;65677 2&#010;65677 3&#010;65677 4&#010;65678 1&#010;65678 1&#010;65678 1&#010;65679 1&#010;65679 2&#010;65680 1&#010;65680 1&#010;65680 2&#010;65680 2&#010;65680 2&#010;65680 5&#010;65681 1&#010;65681 2&#010;65681 2&#010;65681 2&#010;65681 4&#010;65681 4&#010;65682 1&#010;65682 2&#010;65682 2&#010;65683 1&#010;65683 1&#010;65683 2&#010;65684 1&#010;65684 1&#010;65684 2&#010;65685 2&#010;65685 2&#010;65685 2&#010;65685 3&#010;65685 3&#010;65685 4&#010;65686 1&#010;65686 2&#010;65686 3&#010;65686 3&#010;65687 1&#010;65687 1&#010;65687 2&#010;65687 3&#010;65688 1&#010;65688 2&#010;65689 1&#010;65689 3&#010;65690 2&#010;65690 2&#010;65691 1&#010;65691 1&#010;65691 1&#010;65691 1&#010;65691 1&#010;65691 2&#010;65691 3&#010;65691 3&#010;65692 1&#010;65692 2&#010;65693 1&#010;65693 2&#010;65693 2&#010;65693 2&#010;65693 2&#010;65693 3&#010;65693 5&#010;65694 1&#010;65694 2&#010;65694 2&#010;65694 3&#010;65695 1&#010;65695 2&#010;65695 2&#010;65695 3&#010;65696 1&#010;65696 2&#010;65696 2&#010;65696 4&#010;65697 1&#010;65697 1&#010;65697 1&#010;65697 1&#010;65697 2&#010;65697 5&#010;65698 1&#010;65698 2&#010;65699 1&#010;65699 1&#010;65699 1&#010;65699 2&#010;65699 2&#010;65699 2&#010;65700 1&#010;65700 2&#010;65700 2&#010;65701 1&#010;65701 2&#010;65701 3&#010;65702 2&#010;65702 2&#010;65702 2&#010;65702 3&#010;65703 1&#010;65703 2&#010;65703 3&#010;65703 3&#010;65704 1&#010;65704 1&#010;65704 2&#010;65704 2&#010;65704 3&#010;65704 3&#010;65705 1&#010;65705 1&#010;65705 3&#010;65705 4&#010;65706 1&#010;65706 1&#010;65706 1&#010;65706 3&#010;65706 4&#010;65707 2&#010;65707 2&#010;65708 2&#010;65708 3&#010;65709 1&#010;65709 1&#010;65709 2&#010;65710 1&#010;65710 2&#010;65711 1&#010;65711 2&#010;65711 2&#010;65711 2&#010;65711 2&#010;65711 2&#010;65712 1&#010;65712 2&#010;65712 3&#010;65712 3&#010;65712 4&#010;65713 1&#010;65713 2&#010;65713 3&#010;65713 3&#010;65713 6&#010;65714 1&#010;65714 1&#010;65714 2&#010;65715 1&#010;65715 1&#010;65715 2&#010;65715 2&#010;65715 4&#010;65716 1&#010;65716 2&#010;65716 2&#010;65716 2&#010;65716 4&#010;65716 4&#010;65717 1&#010;65717 2&#010;65717 2&#010;65717 2&#010;65717 5&#010;65718 1&#010;65718 2&#010;65718 3&#010;65718 3&#010;65719 1&#010;65719 1&#010;65719 2&#010;65719 3&#010;65720 1&#010;65720 2&#010;65720 2&#010;65720 3&#010;65720 4&#010;65721 1&#010;65721 1&#010;65721 1&#010;65721 1&#010;65721 3&#010;65721 3&#010;65721 3&#010;65722 2&#010;65722 3&#010;65722 5&#010;65723 2&#010;65723 3&#010;65724 1&#010;65724 1&#010;65724 2&#010;65724 2&#010;65724 3&#010;65724 3&#010;65725 1&#010;65726 2&#010;65726 2&#010;65726 4&#010;65727 1&#010;65727 1&#010;65727 3&#010;65727 3&#010;65727 4&#010;65728 1&#010;65728 2&#010;65729 2&#010;65730 1&#010;65730 1&#010;65730 2&#010;65730 4&#010;65731 1&#010;65731 1&#010;65731 1&#010;65731 3&#010;65732 1&#010;65732 2&#010;65732 2&#010;65733 1&#010;65733 1&#010;65733 2&#010;65733 3&#010;65733 3&#010;65733 6&#010;65734 2&#010;65734 2&#010;65735 1&#010;65735 4&#010;65735 4&#010;65736 1&#010;65736 2&#010;65736 2&#010;65736 3&#010;65737 1&#010;65737 1&#010;65737 2&#010;65737 3&#010;65737 4&#010;65738 3&#010;65738 3&#010;65738 4&#010;65738 4&#010;65739 1&#010;65739 2&#010;65739 3&#010;65740 2&#010;65740 2&#010;65740 3&#010;65741 1&#010;65742 1&#010;65742 2&#010;65742 3&#010;65743 1&#010;65743 1&#010;65743 1&#010;65743 2&#010;65744 1&#010;65744 2&#010;65745 2&#010;65745 2&#010;65745 3&#010;65745 6&#010;65746 1&#010;65746 2&#010;65746 2&#010;65746 2&#010;65746 2&#010;65747 1&#010;65747 1&#010;65747 1&#010;65747 2&#010;65747 2&#010;65747 3&#010;65747 3&#010;65748 1&#010;65748 3&#010;65749 2&#010;65749 3&#010;65749 3&#010;65749 3&#010;65749 4&#010;65750 1&#010;65750 1&#010;65750 2&#010;65750 3&#010;65750 3&#010;65751 1&#010;65751 2&#010;65751 2&#010;65751 3&#010;65751 3&#010;65751 4&#010;65752 1&#010;65752 3&#010;65753 2&#010;65753 3&#010;65754 2&#010;65754 4&#010;65755 1&#010;65755 2&#010;65755 2&#010;65755 3&#010;65755 3&#010;65755 3&#010;65755 3&#010;65755 5&#010;65755 5&#010;65756 2&#010;65756 3&#010;65756 3&#010;65756 5&#010;65757 1&#010;65757 1&#010;65757 1&#010;65757 2&#010;65757 3&#010;65758 1&#010;65758 2&#010;65758 2&#010;65758 3&#010;65758 4&#010;65759 2&#010;65759 2&#010;65759 2&#010;65759 4&#010;65759 4&#010;65760 2&#010;65760 4&#010;65760 5&#010;65760 7&#010;65761 1&#010;65762 1&#010;65762 1&#010;65762 2&#010;65762 4&#010;65762 5&#010;65763 1&#010;65763 2&#010;65763 2&#010;65763 2&#010;65763 4&#010;65764 3&#010;65764 3&#010;65764 4&#010;65765 2&#010;65765 2&#010;65765 3&#010;65766 1&#010;65766 1&#010;65766 3&#010;65766 3&#010;65766 3&#010;65767 2&#010;65767 3&#010;65767 3&#010;65768 3&#010;65769 1&#010;65769 2&#010;65769 2&#010;65769 2&#010;65769 3&#010;65769 5&#010;65770 2&#010;65770 3&#010;65771 2&#010;65771 3&#010;65771 3&#010;65772 2&#010;65773 1&#010;65773 2&#010;65773 2&#010;65773 2&#010;65773 2&#010;65773 3&#010;65773 3&#010;65773 4&#010;65774 2&#010;65774 2&#010;65774 2&#010;65774 2&#010;65774 3&#010;65774 3&#010;65775 1&#010;65775 2&#010;65775 3&#010;65775 3&#010;65775 5&#010;65776 1&#010;65776 3&#010;65776 3&#010;65776 5&#010;65776 6&#010;65777 2&#010;65777 3&#010;65777 4&#010;65777 4&#010;65778 1&#010;65778 2&#010;65778 2&#010;65778 2&#010;65778 3&#010;65778 3&#010;65778 4&#010;65778 5&#010;65779 3&#010;65779 3&#010;65779 3&#010;65779 3&#010;65779 4&#010;65779 4&#010;65779 5&#010;65780 1&#010;65780 2&#010;65780 3&#010;65781 1&#010;65781 3&#010;65781 3&#010;65782 2&#010;65782 2&#010;65782 3&#010;65782 4&#010;65782 5&#010;65783 2&#010;65783 3&#010;65783 3&#010;65783 3&#010;65783 3&#010;65783 3&#010;65784 2&#010;65784 2&#010;65784 2&#010;65784 4&#010;65784 6&#010;65785 2&#010;65785 7&#010;65786 1&#010;65786 2&#010;65786 3&#010;65786 3&#010;65786 4&#010;65787 1&#010;65787 2&#010;65787 3&#010;65787 3&#010;65788 1&#010;65788 1&#010;65788 2&#010;65788 4&#010;65789 1&#010;65789 1&#010;65789 2&#010;65789 2&#010;65789 2&#010;65789 2&#010;65789 4&#010;65790 2&#010;65790 2&#010;65790 4&#010;65791 2&#010;65791 2&#010;


      org.scalatest.exceptions.TestFailedException: 
Failed to execute query using catalyst:
Error: execute, tree:
Exchange rangepartitioning(i#204195 ASC NULLS FIRST, n#204187 ASC NULLS FIRST, 5), true, [id=#151627]
+- *(2) Project [i#204195, n#204187]
   +- Window [ntile(10) windowspecdefinition(s#204200, i#204195 ASC NULLS FIRST, specifiedwindowframe(RowFrame, unboundedpreceding$(), currentrow$())) AS n#204187], [s#204200], [i#204195 ASC NULLS FIRST]
      +- *(1) Sort [s#204200 ASC NULLS FIRST, i#204195 ASC NULLS FIRST], false, 0
         +- Exchange hashpartitioning(s#204200, 5), true, [id=#151613]
            +- Scan hive default.over1k [i#204195, s#204200], HiveTableRelation `default`.`over1k`, org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, [t#204193, si#204194, i#204195, b#204196L, f#204197, d#204198, bo#204199, s#204200, ts#204201, dec#204202, bin#204203]

org.apache.spark.sql.catalyst.errors.package$TreeNodeException: execute, tree:
Exchange rangepartitioning(i#204195 ASC NULLS FIRST, n#204187 ASC NULLS FIRST, 5), true, [id=#151627]
+- *(2) Project [i#204195, n#204187]
   +- Window [ntile(10) windowspecdefinition(s#204200, i#204195 ASC NULLS FIRST, specifiedwindowframe(RowFrame, unboundedpreceding$(), currentrow$())) AS n#204187], [s#204200], [i#204195 ASC NULLS FIRST]
      +- *(1) Sort [s#204200 ASC NULLS FIRST, i#204195 ASC NULLS FIRST], false, 0
         +- Exchange hashpartitioning(s#204200, 5), true, [id=#151613]
            +- Scan hive default.over1k [i#204195, s#204200], HiveTableRelation `default`.`over1k`, org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, [t#204193, si#204194, i#204195, b#204196L, f#204197, d#204198, bo#204199, s#204200, ts#204201, dec#204202, bin#204203]

	at org.apache.spark.sql.catalyst.errors.package$.attachTree(package.scala:56)
	at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.doExecute(ShuffleExchangeExec.scala:90)
	at org.apache.spark.sql.execution.SparkPlan.$anonfun$execute$1(SparkPlan.scala:189)
	at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(SparkPlan.scala:227)
	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
	at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:224)
	at org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:185)
	at org.apache.spark.sql.execution.InputAdapter.inputRDD(WholeStageCodegenExec.scala:524)
	at org.apache.spark.sql.execution.InputRDDCodegen.inputRDDs(WholeStageCodegenExec.scala:452)
	at org.apache.spark.sql.execution.InputRDDCodegen.inputRDDs$(WholeStageCodegenExec.scala:451)
	at org.apache.spark.sql.execution.InputAdapter.inputRDDs(WholeStageCodegenExec.scala:495)
	at org.apache.spark.sql.execution.SortExec.inputRDDs(SortExec.scala:124)
	at org.apache.spark.sql.execution.WholeStageCodegenExec.doExecute(WholeStageCodegenExec.scala:717)
	at org.apache.spark.sql.execution.SparkPlan.$anonfun$execute$1(SparkPlan.scala:189)
	at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(SparkPlan.scala:227)
	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
	at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:224)
	at org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:185)
	at org.apache.spark.sql.execution.SparkPlan.getByteArrayRdd(SparkPlan.scala:329)
	at org.apache.spark.sql.execution.SparkPlan.executeCollect(SparkPlan.scala:378)
	at org.apache.spark.sql.execution.SparkPlan.executeCollectPublic(SparkPlan.scala:408)
	at org.apache.spark.sql.execution.HiveResult$.hiveResultString(HiveResult.scala:52)
	at org.apache.spark.sql.hive.execution.HiveComparisonTest.$anonfun$createQueryTest$32(HiveComparisonTest.scala:351)
	at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withNewExecutionId$4(SQLExecution.scala:100)
	at org.apache.spark.sql.execution.SQLExecution$.withSQLConfPropagated(SQLExecution.scala:160)
	at org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId(SQLExecution.scala:87)
	at org.apache.spark.sql.hive.execution.HiveComparisonTest.getResult$1(HiveComparisonTest.scala:351)
	at org.apache.spark.sql.hive.execution.HiveComparisonTest.$anonfun$createQueryTest$31(HiveComparisonTest.scala:353)
	at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:237)
	at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
	at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
	at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)
	at scala.collection.TraversableLike.map(TraversableLike.scala:237)
	at scala.collection.TraversableLike.map$(TraversableLike.scala:230)
	at scala.collection.AbstractTraversable.map(Traversable.scala:108)
	at org.apache.spark.sql.hive.execution.HiveComparisonTest.doTest$1(HiveComparisonTest.scala:347)
	at org.apache.spark.sql.hive.execution.HiveComparisonTest.$anonfun$createQueryTest$10(HiveComparisonTest.scala:467)
	at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
	at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
	at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
	at org.scalatest.Transformer.apply(Transformer.scala:22)
	at org.scalatest.Transformer.apply(Transformer.scala:20)
	at org.scalatest.FunSuiteLike$$anon$1.apply(FunSuiteLike.scala:186)
	at org.apache.spark.SparkFunSuite.withFixture(SparkFunSuite.scala:149)
	at org.scalatest.FunSuiteLike.invokeWithFixture$1(FunSuiteLike.scala:184)
	at org.scalatest.FunSuiteLike.$anonfun$runTest$1(FunSuiteLike.scala:196)
	at org.scalatest.SuperEngine.runTestImpl(Engine.scala:289)
	at org.scalatest.FunSuiteLike.runTest(FunSuiteLike.scala:196)
	at org.scalatest.FunSuiteLike.runTest$(FunSuiteLike.scala:178)
	at org.apache.spark.SparkFunSuite.org$scalatest$BeforeAndAfterEach$$super$runTest(SparkFunSuite.scala:56)
	at org.scalatest.BeforeAndAfterEach.runTest(BeforeAndAfterEach.scala:221)
	at org.scalatest.BeforeAndAfterEach.runTest$(BeforeAndAfterEach.scala:214)
	at org.apache.spark.sql.hive.execution.HiveWindowFunctionQuerySuite.org$scalatest$BeforeAndAfter$$super$runTest(HiveWindowFunctionQuerySuite.scala:35)
	at org.scalatest.BeforeAndAfter.runTest(BeforeAndAfter.scala:203)
	at org.scalatest.BeforeAndAfter.runTest$(BeforeAndAfter.scala:192)
	at org.apache.spark.sql.hive.execution.HiveWindowFunctionQuerySuite.runTest(HiveWindowFunctionQuerySuite.scala:35)
	at org.scalatest.FunSuiteLike.$anonfun$runTests$1(FunSuiteLike.scala:229)
	at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:396)
	at scala.collection.immutable.List.foreach(List.scala:392)
	at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:384)
	at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:379)
	at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:461)
	at org.scalatest.FunSuiteLike.runTests(FunSuiteLike.scala:229)
	at org.scalatest.FunSuiteLike.runTests$(FunSuiteLike.scala:228)
	at org.scalatest.FunSuite.runTests(FunSuite.scala:1560)
	at org.scalatest.Suite.run(Suite.scala:1147)
	at org.scalatest.Suite.run$(Suite.scala:1129)
	at org.scalatest.FunSuite.org$scalatest$FunSuiteLike$$super$run(FunSuite.scala:1560)
	at org.scalatest.FunSuiteLike.$anonfun$run$1(FunSuiteLike.scala:233)
	at org.scalatest.SuperEngine.runImpl(Engine.scala:521)
	at org.scalatest.FunSuiteLike.run(FunSuiteLike.scala:233)
	at org.scalatest.FunSuiteLike.run$(FunSuiteLike.scala:232)
	at org.apache.spark.SparkFunSuite.org$scalatest$BeforeAndAfterAll$$super$run(SparkFunSuite.scala:56)
	at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
	at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
	at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
	at org.apache.spark.sql.hive.execution.HiveWindowFunctionQuerySuite.org$scalatest$BeforeAndAfter$$super$run(HiveWindowFunctionQuerySuite.scala:35)
	at org.scalatest.BeforeAndAfter.run(BeforeAndAfter.scala:258)
	at org.scalatest.BeforeAndAfter.run$(BeforeAndAfter.scala:256)
	at org.apache.spark.sql.hive.execution.HiveWindowFunctionQuerySuite.run(HiveWindowFunctionQuerySuite.scala:35)
	at org.scalatest.Suite.callExecuteOnSuite$1(Suite.scala:1210)
	at org.scalatest.Suite.$anonfun$runNestedSuites$1(Suite.scala:1257)
	at scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:36)
	at scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:33)
	at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:198)
	at org.scalatest.Suite.runNestedSuites(Suite.scala:1255)
	at org.scalatest.Suite.runNestedSuites$(Suite.scala:1189)
	at org.scalatest.tools.DiscoverySuite.runNestedSuites(DiscoverySuite.scala:30)
	at org.scalatest.Suite.run(Suite.scala:1144)
	at org.scalatest.Suite.run$(Suite.scala:1129)
	at org.scalatest.tools.DiscoverySuite.run(DiscoverySuite.scala:30)
	at org.scalatest.tools.SuiteRunner.run(SuiteRunner.scala:45)
	at org.scalatest.tools.Runner$.$anonfun$doRunRunRunDaDoRunRun$13(Runner.scala:1346)
	at org.scalatest.tools.Runner$.$anonfun$doRunRunRunDaDoRunRun$13$adapted(Runner.scala:1340)
	at scala.collection.immutable.List.foreach(List.scala:392)
	at org.scalatest.tools.Runner$.doRunRunRunDaDoRunRun(Runner.scala:1340)
	at org.scalatest.tools.Runner$.$anonfun$runOptionallyWithPassFailReporter$24(Runner.scala:1031)
	at org.scalatest.tools.Runner$.$anonfun$runOptionallyWithPassFailReporter$24$adapted(Runner.scala:1010)
	at org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:1506)
	at org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:1010)
	at org.scalatest.tools.Runner$.main(Runner.scala:827)
	at org.scalatest.tools.Runner.main(Runner.scala)
Caused by: org.apache.spark.sql.catalyst.errors.package$TreeNodeException: execute, tree:
Exchange hashpartitioning(s#204200, 5), true, [id=#151613]
+- Scan hive default.over1k [i#204195, s#204200], HiveTableRelation `default`.`over1k`, org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, [t#204193, si#204194, i#204195, b#204196L, f#204197, d#204198, bo#204199, s#204200, ts#204201, dec#204202, bin#204203]

	at org.apache.spark.sql.catalyst.errors.package$.attachTree(package.scala:56)
	at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.doExecute(ShuffleExchangeExec.scala:90)
	at org.apache.spark.sql.execution.SparkPlan.$anonfun$execute$1(SparkPlan.scala:189)
	at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(SparkPlan.scala:227)
	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
	at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:224)
	at org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:185)
	at org.apache.spark.sql.execution.InputAdapter.inputRDD(WholeStageCodegenExec.scala:524)
	at org.apache.spark.sql.execution.InputRDDCodegen.inputRDDs(WholeStageCodegenExec.scala:452)
	at org.apache.spark.sql.execution.InputRDDCodegen.inputRDDs$(WholeStageCodegenExec.scala:451)
	at org.apache.spark.sql.execution.InputAdapter.inputRDDs(WholeStageCodegenExec.scala:495)
	at org.apache.spark.sql.execution.SortExec.inputRDDs(SortExec.scala:124)
	at org.apache.spark.sql.execution.WholeStageCodegenExec.doExecute(WholeStageCodegenExec.scala:717)
	at org.apache.spark.sql.execution.SparkPlan.$anonfun$execute$1(SparkPlan.scala:189)
	at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(SparkPlan.scala:227)
	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
	at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:224)
	at org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:185)
	at org.apache.spark.sql.execution.window.WindowExec.doExecute(WindowExec.scala:115)
	at org.apache.spark.sql.execution.SparkPlan.$anonfun$execute$1(SparkPlan.scala:189)
	at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(SparkPlan.scala:227)
	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
	at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:224)
	at org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:185)
	at org.apache.spark.sql.execution.InputAdapter.inputRDD(WholeStageCodegenExec.scala:524)
	at org.apache.spark.sql.execution.InputRDDCodegen.inputRDDs(WholeStageCodegenExec.scala:452)
	at org.apache.spark.sql.execution.InputRDDCodegen.inputRDDs$(WholeStageCodegenExec.scala:451)
	at org.apache.spark.sql.execution.InputAdapter.inputRDDs(WholeStageCodegenExec.scala:495)
	at org.apache.spark.sql.execution.ProjectExec.inputRDDs(basicPhysicalOperators.scala:45)
	at org.apache.spark.sql.execution.WholeStageCodegenExec.doExecute(WholeStageCodegenExec.scala:717)
	at org.apache.spark.sql.execution.SparkPlan.$anonfun$execute$1(SparkPlan.scala:189)
	at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(SparkPlan.scala:227)
	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
	at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:224)
	at org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:185)
	at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.inputRDD$lzycompute(ShuffleExchangeExec.scala:64)
	at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.inputRDD(ShuffleExchangeExec.scala:64)
	at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.shuffleDependency$lzycompute(ShuffleExchangeExec.scala:74)
	at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.shuffleDependency(ShuffleExchangeExec.scala:72)
	at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.createShuffledRDD(ShuffleExchangeExec.scala:82)
	at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.$anonfun$doExecute$1(ShuffleExchangeExec.scala:93)
	at org.apache.spark.sql.catalyst.errors.package$.attachTree(package.scala:52)
	... 101 more
Caused by: java.lang.IllegalStateException: Cannot call methods on a stopped SparkContext.
This stopped SparkContext was created at:

org.apache.spark.sql.hive.StatisticsSuite.<init>(StatisticsSuite.scala:46)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
java.lang.Class.newInstance(Class.java:442)
org.scalatest.tools.DiscoverySuite$.getSuiteInstance(DiscoverySuite.scala:66)
org.scalatest.tools.DiscoverySuite.$anonfun$nestedSuites$1(DiscoverySuite.scala:38)
scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:237)
scala.collection.Iterator.foreach(Iterator.scala:941)
scala.collection.Iterator.foreach$(Iterator.scala:941)
scala.collection.AbstractIterator.foreach(Iterator.scala:1429)
scala.collection.IterableLike.foreach(IterableLike.scala:74)
scala.collection.IterableLike.foreach$(IterableLike.scala:73)
scala.collection.AbstractIterable.foreach(Iterable.scala:56)
scala.collection.TraversableLike.map(TraversableLike.scala:237)
scala.collection.TraversableLike.map$(TraversableLike.scala:230)
scala.collection.AbstractTraversable.map(Traversable.scala:108)
org.scalatest.tools.DiscoverySuite.<init>(DiscoverySuite.scala:37)
org.scalatest.tools.Runner$.genDiscoSuites$1(Runner.scala:1165)

The currently active SparkContext was created at:

(No active SparkContext.)
         
	at org.apache.spark.SparkContext.assertNotStopped(SparkContext.scala:109)
	at org.apache.spark.SparkContext.broadcast(SparkContext.scala:1466)
	at org.apache.spark.sql.hive.HadoopTableReader.<init>(TableReader.scala:90)
	at org.apache.spark.sql.hive.execution.HiveTableScanExec.hadoopReader$lzycompute(HiveTableScanExec.scala:110)
	at org.apache.spark.sql.hive.execution.HiveTableScanExec.hadoopReader(HiveTableScanExec.scala:105)
	at org.apache.spark.sql.hive.execution.HiveTableScanExec.$anonfun$doExecute$1(HiveTableScanExec.scala:188)
	at org.apache.spark.util.Utils$.withDummyCallSite(Utils.scala:2488)
	at org.apache.spark.sql.hive.execution.HiveTableScanExec.doExecute(HiveTableScanExec.scala:188)
	at org.apache.spark.sql.execution.SparkPlan.$anonfun$execute$1(SparkPlan.scala:189)
	at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(SparkPlan.scala:227)
	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
	at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:224)
	at org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:185)
	at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.inputRDD$lzycompute(ShuffleExchangeExec.scala:64)
	at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.inputRDD(ShuffleExchangeExec.scala:64)
	at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.shuffleDependency$lzycompute(ShuffleExchangeExec.scala:74)
	at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.shuffleDependency(ShuffleExchangeExec.scala:72)
	at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.createShuffledRDD(ShuffleExchangeExec.scala:82)
	at org.apache.spark.sql.execution.exchange.ShuffleExchangeExec.$anonfun$doExecute$1(ShuffleExchangeExec.scala:93)
	at org.apache.spark.sql.catalyst.errors.package$.attachTree(package.scala:52)
	... 142 more

select i, ntile(10) over (partition by s order by i) n from over1k
order by i, n
== Parsed Logical Plan ==
'Sort ['i ASC NULLS FIRST, 'n ASC NULLS FIRST], true
+- 'Project ['i, 'ntile(10) windowspecdefinition('s, 'i ASC NULLS FIRST, unspecifiedframe$()) AS n#204187]
   +- 'UnresolvedRelation [over1k]

== Analyzed Logical Plan ==
i: int, n: int
Sort [i#204195 ASC NULLS FIRST, n#204187 ASC NULLS FIRST], true
+- Project [i#204195, n#204187]
   +- Project [i#204195, s#204200, n#204187, n#204187]
      +- Window [ntile(10) windowspecdefinition(s#204200, i#204195 ASC NULLS FIRST, specifiedwindowframe(RowFrame, unboundedpreceding$(), currentrow$())) AS n#204187], [s#204200], [i#204195 ASC NULLS FIRST]
         +- Project [i#204195, s#204200]
            +- SubqueryAlias `default`.`over1k`
               +- HiveTableRelation `default`.`over1k`, org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, [t#204193, si#204194, i#204195, b#204196L, f#204197, d#204198, bo#204199, s#204200, ts#204201, dec#204202, bin#204203]

== Optimized Logical Plan ==
Sort [i#204195 ASC NULLS FIRST, n#204187 ASC NULLS FIRST], true
+- Project [i#204195, n#204187]
   +- Window [ntile(10) windowspecdefinition(s#204200, i#204195 ASC NULLS FIRST, specifiedwindowframe(RowFrame, unboundedpreceding$(), currentrow$())) AS n#204187], [s#204200], [i#204195 ASC NULLS FIRST]
      +- Project [i#204195, s#204200]
         +- HiveTableRelation `default`.`over1k`, org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, [t#204193, si#204194, i#204195, b#204196L, f#204197, d#204198, bo#204199, s#204200, ts#204201, dec#204202, bin#204203]

== Physical Plan ==
*(3) Sort [i#204195 ASC NULLS FIRST, n#204187 ASC NULLS FIRST], true, 0
+- Exchange rangepartitioning(i#204195 ASC NULLS FIRST, n#204187 ASC NULLS FIRST, 5), true, [id=#151627]
   +- *(2) Project [i#204195, n#204187]
      +- Window [ntile(10) windowspecdefinition(s#204200, i#204195 ASC NULLS FIRST, specifiedwindowframe(RowFrame, unboundedpreceding$(), currentrow$())) AS n#204187], [s#204200], [i#204195 ASC NULLS FIRST]
         +- *(1) Sort [s#204200 ASC NULLS FIRST, i#204195 ASC NULLS FIRST], false, 0
            +- Exchange hashpartitioning(s#204200, 5), true, [id=#151613]
               +- Scan hive default.over1k [i#204195, s#204200], HiveTableRelation `default`.`over1k`, org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, [t#204193, si#204194, i#204195, b#204196L, f#204197, d#204198, bo#204199, s#204200, ts#204201, dec#204202, bin#204203]

== HIVE - 1049 row(s) ==
65536	1
65536	1
65536	1
65536	1
65536	1
65536	1
65536	1
65537	1
65537	1
65537	1
65537	1
65537	1
65538	1
65538	1
65538	1
65539	1
65539	1
65539	1
65540	1
65541	1
65541	1
65541	1
65541	1
65541	1
65541	1
65541	1
65541	1
65541	1
65542	1
65542	1
65542	1
65542	1
65542	1
65543	1
65543	1
65544	1
65544	1
65544	1
65544	1
65544	1
65544	1
65544	1
65544	2
65545	1
65545	1
65545	1
65546	2
65547	1
65547	1
65547	1
65547	1
65548	1
65548	1
65548	1
65548	1
65548	1
65548	1
65548	2
65549	1
65549	1
65549	1
65549	1
65549	1
65549	1
65549	1
65549	3
65550	1
65550	1
65550	1
65550	1
65550	1
65550	1
65550	2
65551	1
65551	1
65551	1
65552	1
65552	1
65552	1
65552	1
65552	2
65553	1
65553	1
65553	1
65553	1
65553	1
65554	1
65554	1
65555	2
65556	1
65556	1
65556	1
65556	1
65556	1
65557	1
65557	1
65558	1
65559	1
65559	1
65559	1
65559	1
65559	1
65560	1
65560	1
65560	1
65560	2
65560	2
65561	1
65561	2
65561	2
65562	1
65562	1
65562	1
65562	1
65562	1
65562	2
65563	1
65563	1
65563	1
65563	1
65564	1
65564	1
65564	1
65564	1
65564	2
65564	2
65564	2
65565	1
65565	1
65566	1
65566	2
65567	1
65568	1
65568	1
65568	1
65569	1
65570	1
65570	1
65570	1
65570	1
65570	1
65570	2
65571	1
65571	1
65571	1
65571	2
65572	1
65572	1
65572	1
65572	1
65572	1
65573	1
65573	1
65573	3
65574	1
65574	1
65574	1
65575	1
65575	1
65575	1
65575	2
65576	1
65576	1
65576	1
65576	3
65577	1
65578	1
65578	1
65578	1
65578	1
65578	1
65578	1
65578	2
65579	1
65579	1
65579	1
65579	1
65579	3
65580	1
65580	2
65580	2
65581	1
65581	1
65581	1
65581	1
65581	2
65581	2
65582	1
65582	1
65582	1
65582	1
65583	1
65583	1
65583	2
65583	2
65584	1
65584	1
65584	1
65585	1
65585	1
65585	1
65585	1
65585	2
65586	1
65586	1
65586	1
65586	1
65586	2
65587	1
65587	1
65587	1
65587	2
65587	3
65588	1
65588	1
65588	1
65588	1
65588	2
65589	1
65589	1
65589	1
65589	1
65589	2
65590	1
65590	1
65590	1
65590	1
65590	1
65591	1
65591	1
65591	2
65591	3
65592	1
65593	1
65593	1
65594	1
65594	1
65594	1
65594	3
65595	1
65595	1
65595	1
65595	2
65595	2
65595	4
65596	1
65596	1
65596	1
65596	2
65596	2
65597	1
65597	1
65597	2
65598	1
65598	2
65599	1
65599	1
65599	1
65599	1
65599	3
65600	1
65600	1
65600	2
65600	2
65601	1
65601	2
65601	2
65602	1
65602	1
65602	1
65602	1
65602	1
65602	2
65603	1
65603	1
65603	1
65603	2
65603	2
65604	1
65604	2
65604	2
65604	3
65605	2
65606	1
65606	1
65606	1
65606	1
65606	2
65606	2
65607	1
65607	1
65607	1
65607	1
65607	2
65607	3
65608	1
65608	1
65608	1
65608	2
65609	1
65610	1
65610	1
65610	3
65610	4
65610	5
65611	1
65611	1
65611	1
65611	1
65612	1
65612	2
65612	2
65612	3
65613	1
65614	1
65614	1
65614	2
65615	1
65615	1
65615	2
65615	2
65616	1
65616	2
65617	1
65617	2
65617	2
65617	2
65618	1
65618	1
65618	2
65618	2
65618	2
65619	1
65619	1
65619	1
65619	1
65619	2
65619	2
65620	1
65620	1
65620	1
65620	1
65620	1
65620	3
65621	1
65621	1
65622	1
65622	1
65622	1
65622	3
65622	3
65622	4
65623	1
65623	1
65623	1
65623	1
65623	1
65623	2
65623	4
65624	1
65624	2
65624	2
65624	2
65624	4
65625	1
65625	1
65625	1
65625	1
65626	1
65626	1
65626	1
65626	2
65627	1
65627	1
65627	2
65627	3
65628	1
65628	1
65628	1
65628	2
65628	2
65628	3
65629	1
65629	1
65629	1
65629	3
65630	1
65630	2
65631	1
65632	2
65632	2
65633	1
65633	2
65633	2
65633	2
65634	1
65634	1
65634	1
65634	2
65635	1
65635	2
65635	3
65636	1
65636	1
65636	2
65637	1
65637	1
65637	1
65637	1
65637	1
65637	1
65637	2
65637	3
65638	1
65638	1
65638	2
65639	1
65640	2
65641	1
65641	1
65641	1
65641	5
65642	4
65643	1
65643	1
65643	2
65643	2
65643	2
65643	2
65643	2
65643	2
65643	4
65644	1
65644	1
65644	1
65644	1
65644	2
65644	2
65644	3
65645	1
65645	1
65645	1
65646	1
65646	1
65646	1
65647	1
65647	2
65648	1
65648	1
65648	2
65648	2
65649	1
65649	1
65649	2
65649	2
65650	1
65650	1
65650	1
65650	1
65650	2
65650	2
65651	1
65651	1
65651	2
65651	2
65651	3
65652	1
65652	1
65652	2
65653	1
65653	2
65653	2
65653	3
65654	1
65654	1
65654	1
65654	1
65654	1
65654	1
65654	2
65654	2
65654	2
65655	1
65655	1
65656	1
65656	1
65656	1
65656	1
65656	2
65656	3
65657	1
65657	2
65657	2
65657	2
65657	2
65658	1
65658	1
65658	1
65658	1
65658	1
65658	2
65658	2
65658	2
65658	2
65658	2
65659	1
65659	1
65659	1
65659	1
65659	1
65659	2
65659	2
65659	3
65660	1
65660	1
65660	2
65661	1
65661	2
65661	2
65661	2
65661	3
65662	1
65662	1
65662	2
65662	2
65662	2
65662	2
65663	2
65663	2
65663	2
65663	3
65664	1
65664	1
65664	1
65664	1
65664	1
65664	2
65664	2
65664	2
65665	2
65666	1
65666	1
65666	2
65667	1
65667	1
65667	1
65667	1
65668	3
65669	1
65669	1
65669	1
65669	1
65669	1
65669	3
65670	1
65670	1
65670	2
65670	2
65670	3
65671	2
65671	2
65671	3
65672	1
65672	1
65672	1
65672	2
65672	2
65673	2
65673	2
65673	3
65673	4
65673	4
65674	1
65675	1
65675	1
65675	2
65675	2
65675	2
65675	2
65675	3
65675	3
65676	1
65676	1
65676	2
65676	3
65677	1
65677	1
65677	1
65677	2
65677	3
65677	4
65678	1
65678	1
65678	1
65679	1
65679	2
65680	1
65680	1
65680	2
65680	2
65680	2
65680	5
65681	1
65681	2
65681	2
65681	2
65681	4
65681	4
65682	1
65682	2
65682	2
65683	1
65683	1
65683	2
65684	1
65684	1
65684	2
65685	2
65685	2
65685	2
65685	3
65685	3
65685	4
65686	1
65686	2
65686	3
65686	3
65687	1
65687	1
65687	2
65687	3
65688	1
65688	2
65689	1
65689	3
65690	2
65690	2
65691	1
65691	1
65691	1
65691	1
65691	1
65691	2
65691	3
65691	3
65692	1
65692	2
65693	1
65693	2
65693	2
65693	2
65693	2
65693	3
65693	5
65694	1
65694	2
65694	2
65694	3
65695	1
65695	2
65695	2
65695	3
65696	1
65696	2
65696	2
65696	4
65697	1
65697	1
65697	1
65697	1
65697	2
65697	5
65698	1
65698	2
65699	1
65699	1
65699	1
65699	2
65699	2
65699	2
65700	1
65700	2
65700	2
65701	1
65701	2
65701	3
65702	2
65702	2
65702	2
65702	3
65703	1
65703	2
65703	3
65703	3
65704	1
65704	1
65704	2
65704	2
65704	3
65704	3
65705	1
65705	1
65705	3
65705	4
65706	1
65706	1
65706	1
65706	3
65706	4
65707	2
65707	2
65708	2
65708	3
65709	1
65709	1
65709	2
65710	1
65710	2
65711	1
65711	2
65711	2
65711	2
65711	2
65711	2
65712	1
65712	2
65712	3
65712	3
65712	4
65713	1
65713	2
65713	3
65713	3
65713	6
65714	1
65714	1
65714	2
65715	1
65715	1
65715	2
65715	2
65715	4
65716	1
65716	2
65716	2
65716	2
65716	4
65716	4
65717	1
65717	2
65717	2
65717	2
65717	5
65718	1
65718	2
65718	3
65718	3
65719	1
65719	1
65719	2
65719	3
65720	1
65720	2
65720	2
65720	3
65720	4
65721	1
65721	1
65721	1
65721	1
65721	3
65721	3
65721	3
65722	2
65722	3
65722	5
65723	2
65723	3
65724	1
65724	1
65724	2
65724	2
65724	3
65724	3
65725	1
65726	2
65726	2
65726	4
65727	1
65727	1
65727	3
65727	3
65727	4
65728	1
65728	2
65729	2
65730	1
65730	1
65730	2
65730	4
65731	1
65731	1
65731	1
65731	3
65732	1
65732	2
65732	2
65733	1
65733	1
65733	2
65733	3
65733	3
65733	6
65734	2
65734	2
65735	1
65735	4
65735	4
65736	1
65736	2
65736	2
65736	3
65737	1
65737	1
65737	2
65737	3
65737	4
65738	3
65738	3
65738	4
65738	4
65739	1
65739	2
65739	3
65740	2
65740	2
65740	3
65741	1
65742	1
65742	2
65742	3
65743	1
65743	1
65743	1
65743	2
65744	1
65744	2
65745	2
65745	2
65745	3
65745	6
65746	1
65746	2
65746	2
65746	2
65746	2
65747	1
65747	1
65747	1
65747	2
65747	2
65747	3
65747	3
65748	1
65748	3
65749	2
65749	3
65749	3
65749	3
65749	4
65750	1
65750	1
65750	2
65750	3
65750	3
65751	1
65751	2
65751	2
65751	3
65751	3
65751	4
65752	1
65752	3
65753	2
65753	3
65754	2
65754	4
65755	1
65755	2
65755	2
65755	3
65755	3
65755	3
65755	3
65755	5
65755	5
65756	2
65756	3
65756	3
65756	5
65757	1
65757	1
65757	1
65757	2
65757	3
65758	1
65758	2
65758	2
65758	3
65758	4
65759	2
65759	2
65759	2
65759	4
65759	4
65760	2
65760	4
65760	5
65760	7
65761	1
65762	1
65762	1
65762	2
65762	4
65762	5
65763	1
65763	2
65763	2
65763	2
65763	4
65764	3
65764	3
65764	4
65765	2
65765	2
65765	3
65766	1
65766	1
65766	3
65766	3
65766	3
65767	2
65767	3
65767	3
65768	3
65769	1
65769	2
65769	2
65769	2
65769	3
65769	5
65770	2
65770	3
65771	2
65771	3
65771	3
65772	2
65773	1
65773	2
65773	2
65773	2
65773	2
65773	3
65773	3
65773	4
65774	2
65774	2
65774	2
65774	2
65774	3
65774	3
65775	1
65775	2
65775	3
65775	3
65775	5
65776	1
65776	3
65776	3
65776	5
65776	6
65777	2
65777	3
65777	4
65777	4
65778	1
65778	2
65778	2
65778	2
65778	3
65778	3
65778	4
65778	5
65779	3
65779	3
65779	3
65779	3
65779	4
65779	4
65779	5
65780	1
65780	2
65780	3
65781	1
65781	3
65781	3
65782	2
65782	2
65782	3
65782	4
65782	5
65783	2
65783	3
65783	3
65783	3
65783	3
65783	3
65784	2
65784	2
65784	2
65784	4
65784	6
65785	2
65785	7
65786	1
65786	2
65786	3
65786	3
65786	4
65787	1
65787	2
65787	3
65787	3
65788	1
65788	1
65788	2
65788	4
65789	1
65789	1
65789	2
65789	2
65789	2
65789	2
65789	4
65790	2
65790	2
65790	4
65791	2
65791	2
                
      at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:528)
      at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:527)
      at org.scalatest.FunSuite.newAssertionFailedException(FunSuite.scala:1560)
      at org.scalatest.Assertions.fail(Assertions.scala:1089)
      at org.scalatest.Assertions.fail$(Assertions.scala:1085)
      at org.scalatest.FunSuite.fail(FunSuite.scala:1560)
      at org.apache.spark.sql.hive.execution.HiveComparisonTest.$anonfun$createQueryTest$31(HiveComparisonTest.scala:366)
      at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:237)
      at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
      at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
      at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)
      at scala.collection.TraversableLike.map(TraversableLike.scala:237)
      at scala.collection.TraversableLike.map$(TraversableLike.scala:230)
      at scala.collection.AbstractTraversable.map(Traversable.scala:108)
      at org.apache.spark.sql.hive.execution.HiveComparisonTest.doTest$1(HiveComparisonTest.scala:347)
      at org.apache.spark.sql.hive.execution.HiveComparisonTest.$anonfun$createQueryTest$10(HiveComparisonTest.scala:467)
      at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
      at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
      at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
      at org.scalatest.Transformer.apply(Transformer.scala:22)
      at org.scalatest.Transformer.apply(Transformer.scala:20)
      at org.scalatest.FunSuiteLike$$anon$1.apply(FunSuiteLike.scala:186)
      at org.apache.spark.SparkFunSuite.withFixture(SparkFunSuite.scala:149)
      at org.scalatest.FunSuiteLike.invokeWithFixture$1(FunSuiteLike.scala:184)
      at org.scalatest.FunSuiteLike.$anonfun$runTest$1(FunSuiteLike.scala:196)
      at org.scalatest.SuperEngine.runTestImpl(Engine.scala:289)
      at org.scalatest.FunSuiteLike.runTest(FunSuiteLike.scala:196)
      at org.scalatest.FunSuiteLike.runTest$(FunSuiteLike.scala:178)
      at org.apache.spark.SparkFunSuite.org$scalatest$BeforeAndAfterEach$$super$runTest(SparkFunSuite.scala:56)
      at org.scalatest.BeforeAndAfterEach.runTest(BeforeAndAfterEach.scala:221)
      at org.scalatest.BeforeAndAfterEach.runTest$(BeforeAndAfterEach.scala:214)
      at org.apache.spark.sql.hive.execution.HiveWindowFunctionQuerySuite.org$scalatest$BeforeAndAfter$$super$runTest(HiveWindowFunctionQuerySuite.scala:35)
      at org.scalatest.BeforeAndAfter.runTest(BeforeAndAfter.scala:203)
      at org.scalatest.BeforeAndAfter.runTest$(BeforeAndAfter.scala:192)
      at org.apache.spark.sql.hive.execution.HiveWindowFunctionQuerySuite.runTest(HiveWindowFunctionQuerySuite.scala:35)
      at org.scalatest.FunSuiteLike.$anonfun$runTests$1(FunSuiteLike.scala:229)
      at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:396)
      at scala.collection.immutable.List.foreach(List.scala:392)
      at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:384)
      at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:379)
      at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:461)
      at org.scalatest.FunSuiteLike.runTests(FunSuiteLike.scala:229)
      at org.scalatest.FunSuiteLike.runTests$(FunSuiteLike.scala:228)
      at org.scalatest.FunSuite.runTests(FunSuite.scala:1560)
      at org.scalatest.Suite.run(Suite.scala:1147)
      at org.scalatest.Suite.run$(Suite.scala:1129)
      at org.scalatest.FunSuite.org$scalatest$FunSuiteLike$$super$run(FunSuite.scala:1560)
      at org.scalatest.FunSuiteLike.$anonfun$run$1(FunSuiteLike.scala:233)
      at org.scalatest.SuperEngine.runImpl(Engine.scala:521)
      at org.scalatest.FunSuiteLike.run(FunSuiteLike.scala:233)
      at org.scalatest.FunSuiteLike.run$(FunSuiteLike.scala:232)
      at org.apache.spark.SparkFunSuite.org$scalatest$BeforeAndAfterAll$$super$run(SparkFunSuite.scala:56)
      at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
      at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
      at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
      at org.apache.spark.sql.hive.execution.HiveWindowFunctionQuerySuite.org$scalatest$BeforeAndAfter$$super$run(HiveWindowFunctionQuerySuite.scala:35)
      at org.scalatest.BeforeAndAfter.run(BeforeAndAfter.scala:258)
      at org.scalatest.BeforeAndAfter.run$(BeforeAndAfter.scala:256)
      at org.apache.spark.sql.hive.execution.HiveWindowFunctionQuerySuite.run(HiveWindowFunctionQuerySuite.scala:35)
      at org.scalatest.Suite.callExecuteOnSuite$1(Suite.scala:1210)
      at org.scalatest.Suite.$anonfun$runNestedSuites$1(Suite.scala:1257)
      at scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:36)
      at scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:33)
      at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:198)
      at org.scalatest.Suite.runNestedSuites(Suite.scala:1255)
      at org.scalatest.Suite.runNestedSuites$(Suite.scala:1189)
      at org.scalatest.tools.DiscoverySuite.runNestedSuites(DiscoverySuite.scala:30)
      at org.scalatest.Suite.run(Suite.scala:1144)
      at org.scalatest.Suite.run$(Suite.scala:1129)
      at org.scalatest.tools.DiscoverySuite.run(DiscoverySuite.scala:30)
      at org.scalatest.tools.SuiteRunner.run(SuiteRunner.scala:45)
      at org.scalatest.tools.Runner$.$anonfun$doRunRunRunDaDoRunRun$13(Runner.scala:1346)
      at org.scalatest.tools.Runner$.$anonfun$doRunRunRunDaDoRunRun$13$adapted(Runner.scala:1340)
      at scala.collection.immutable.List.foreach(List.scala:392)
      at org.scalatest.tools.Runner$.doRunRunRunDaDoRunRun(Runner.scala:1340)
      at org.scalatest.tools.Runner$.$anonfun$runOptionallyWithPassFailReporter$24(Runner.scala:1031)
      at org.scalatest.tools.Runner$.$anonfun$runOptionallyWithPassFailReporter$24$adapted(Runner.scala:1010)
      at org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:1506)
      at org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:1010)
      at org.scalatest.tools.Runner$.main(Runner.scala:827)
      at org.scalatest.tools.Runner.main(Runner.scala)