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

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)