Advertisement
Guest User

Untitled

a guest
Sep 20th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.23 KB | None | 0 0
  1. Text 'unparsable' could not be parsed at index 0
  2. java.lang.RuntimeException: Text 'unparsable' could not be parsed at index 0
  3. at com.deloitte.preparation.utils.ErrorUtils$class.withUserFriendlyError(ErrorUtils.scala:16)
  4. at com.deloitte.preparation.PreparationJob$.withUserFriendlyError(PreparationJob.scala:28)
  5. at com.deloitte.preparation.PreparationJob$.run(PreparationJob.scala:49)
  6. at com.deloitte.preparation.JobBaseTest$$anonfun$runJob$1.apply(JobBaseTest.scala:95)
  7. at com.deloitte.preparation.JobBaseTest$$anonfun$runJob$1.apply(JobBaseTest.scala:95)
  8. at org.scalactic.Good.map(Or.scala:1207)
  9. at com.deloitte.preparation.JobBaseTest.runJob(JobBaseTest.scala:95)
  10. at com.deloitte.preparation.jobs.columns.ConvertToDateJobTest$$anonfun$3.apply(ConvertToDateJobTest.scala:78)
  11. at com.deloitte.preparation.jobs.columns.ConvertToDateJobTest$$anonfun$3.apply(ConvertToDateJobTest.scala:71)
  12. at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
  13. at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
  14. at org.scalatest.Transformer.apply(Transformer.scala:22)
  15. at org.scalatest.Transformer.apply(Transformer.scala:20)
  16. at org.scalatest.FlatSpecLike$$anon$1.apply(FlatSpecLike.scala:1682)
  17. at org.scalatest.TestSuite$class.withFixture(TestSuite.scala:196)
  18. at org.scalatest.FlatSpec.withFixture(FlatSpec.scala:1685)
  19. at org.scalatest.FlatSpecLike$class.invokeWithFixture$1(FlatSpecLike.scala:1679)
  20. at org.scalatest.FlatSpecLike$$anonfun$runTest$1.apply(FlatSpecLike.scala:1692)
  21. at org.scalatest.FlatSpecLike$$anonfun$runTest$1.apply(FlatSpecLike.scala:1692)
  22. at org.scalatest.SuperEngine.runTestImpl(Engine.scala:289)
  23. at org.scalatest.FlatSpecLike$class.runTest(FlatSpecLike.scala:1692)
  24. at com.deloitte.preparation.JobBaseTest.org$scalatest$BeforeAndAfterEach$$super$runTest(JobBaseTest.scala:24)
  25. at org.scalatest.BeforeAndAfterEach$class.runTest(BeforeAndAfterEach.scala:221)
  26. at com.deloitte.preparation.JobBaseTest.runTest(JobBaseTest.scala:24)
  27. at org.scalatest.FlatSpecLike$$anonfun$runTests$1.apply(FlatSpecLike.scala:1750)
  28. at org.scalatest.FlatSpecLike$$anonfun$runTests$1.apply(FlatSpecLike.scala:1750)
  29. at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:396)
  30. at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:384)
  31. at scala.collection.immutable.List.foreach(List.scala:381)
  32. at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:384)
  33. at org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:373)
  34. at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:410)
  35. at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:384)
  36. at scala.collection.immutable.List.foreach(List.scala:381)
  37. at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:384)
  38. at org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:379)
  39. at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:461)
  40. at org.scalatest.FlatSpecLike$class.runTests(FlatSpecLike.scala:1750)
  41. at org.scalatest.FlatSpec.runTests(FlatSpec.scala:1685)
  42. at org.scalatest.Suite$class.run(Suite.scala:1147)
  43. at org.scalatest.FlatSpec.org$scalatest$FlatSpecLike$$super$run(FlatSpec.scala:1685)
  44. at org.scalatest.FlatSpecLike$$anonfun$run$1.apply(FlatSpecLike.scala:1795)
  45. at org.scalatest.FlatSpecLike$$anonfun$run$1.apply(FlatSpecLike.scala:1795)
  46. at org.scalatest.SuperEngine.runImpl(Engine.scala:521)
  47. at org.scalatest.FlatSpecLike$class.run(FlatSpecLike.scala:1795)
  48. at com.deloitte.preparation.JobBaseTest.org$scalatest$BeforeAndAfterAll$$super$run(JobBaseTest.scala:24)
  49. at org.scalatest.BeforeAndAfterAll$class.liftedTree1$1(BeforeAndAfterAll.scala:213)
  50. at org.scalatest.BeforeAndAfterAll$class.run(BeforeAndAfterAll.scala:210)
  51. at com.deloitte.preparation.JobBaseTest.run(JobBaseTest.scala:24)
  52. at org.scalatest.tools.SuiteRunner.run(SuiteRunner.scala:45)
  53. at org.scalatest.tools.Runner$$anonfun$doRunRunRunDaDoRunRun$1.apply(Runner.scala:1340)
  54. at org.scalatest.tools.Runner$$anonfun$doRunRunRunDaDoRunRun$1.apply(Runner.scala:1334)
  55. at scala.collection.immutable.List.foreach(List.scala:381)
  56. at org.scalatest.tools.Runner$.doRunRunRunDaDoRunRun(Runner.scala:1334)
  57. at org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:1011)
  58. at org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:1010)
  59. at org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:1500)
  60. at org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:1010)
  61. at org.scalatest.tools.Runner$.run(Runner.scala:850)
  62. at org.scalatest.tools.Runner.run(Runner.scala)
  63. at org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.runScalaTest2(ScalaTestRunner.java:131)
  64. at org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.main(ScalaTestRunner.java:28)
  65. Caused by: org.apache.spark.SparkException: Failed to execute user defined function(anonfun$toTimestampStrict$1: (string) => timestamp)
  66. at org.apache.spark.sql.catalyst.expressions.ScalaUDF.eval(ScalaUDF.scala:1066)
  67. at org.apache.spark.sql.catalyst.expressions.Alias.eval(namedExpressions.scala:151)
  68. at org.apache.spark.sql.catalyst.expressions.InterpretedProjection.apply(Projection.scala:50)
  69. at org.apache.spark.sql.catalyst.expressions.InterpretedProjection.apply(Projection.scala:32)
  70. at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
  71. at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
  72. at scala.collection.immutable.List.foreach(List.scala:381)
  73. at scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
  74. at scala.collection.immutable.List.map(List.scala:285)
  75. at org.apache.spark.sql.catalyst.optimizer.ConvertToLocalRelation$$anonfun$apply$24.applyOrElse(Optimizer.scala:1364)
  76. at org.apache.spark.sql.catalyst.optimizer.ConvertToLocalRelation$$anonfun$apply$24.applyOrElse(Optimizer.scala:1359)
  77. at org.apache.spark.sql.catalyst.trees.TreeNode$$anonfun$2.apply(TreeNode.scala:256)
  78. at org.apache.spark.sql.catalyst.trees.TreeNode$$anonfun$2.apply(TreeNode.scala:256)
  79. at org.apache.spark.sql.catalyst.trees.CurrentOrigin$.withOrigin(TreeNode.scala:70)
  80. at org.apache.spark.sql.catalyst.trees.TreeNode.transformDown(TreeNode.scala:255)
  81. at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.org$apache$spark$sql$catalyst$plans$logical$AnalysisHelper$$super$transformDown(LogicalPlan.scala:29)
  82. at org.apache.spark.sql.catalyst.plans.logical.AnalysisHelper$class.transformDown(AnalysisHelper.scala:149)
  83. at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.transformDown(LogicalPlan.scala:29)
  84. at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.transformDown(LogicalPlan.scala:29)
  85. at org.apache.spark.sql.catalyst.trees.TreeNode.transform(TreeNode.scala:245)
  86. at org.apache.spark.sql.catalyst.optimizer.ConvertToLocalRelation$.apply(Optimizer.scala:1359)
  87. at org.apache.spark.sql.catalyst.optimizer.ConvertToLocalRelation$.apply(Optimizer.scala:1358)
  88. at org.apache.spark.sql.catalyst.rules.RuleExecutor$$anonfun$execute$1$$anonfun$apply$1.apply(RuleExecutor.scala:87)
  89. at org.apache.spark.sql.catalyst.rules.RuleExecutor$$anonfun$execute$1$$anonfun$apply$1.apply(RuleExecutor.scala:84)
  90. at scala.collection.IndexedSeqOptimized$class.foldl(IndexedSeqOptimized.scala:57)
  91. at scala.collection.IndexedSeqOptimized$class.foldLeft(IndexedSeqOptimized.scala:66)
  92. at scala.collection.mutable.WrappedArray.foldLeft(WrappedArray.scala:35)
  93. at org.apache.spark.sql.catalyst.rules.RuleExecutor$$anonfun$execute$1.apply(RuleExecutor.scala:84)
  94. at org.apache.spark.sql.catalyst.rules.RuleExecutor$$anonfun$execute$1.apply(RuleExecutor.scala:76)
  95. at scala.collection.immutable.List.foreach(List.scala:381)
  96. at org.apache.spark.sql.catalyst.rules.RuleExecutor.execute(RuleExecutor.scala:76)
  97. at org.apache.spark.sql.execution.QueryExecution.optimizedPlan$lzycompute(QueryExecution.scala:66)
  98. at org.apache.spark.sql.execution.QueryExecution.optimizedPlan(QueryExecution.scala:66)
  99. at org.apache.spark.sql.execution.QueryExecution.sparkPlan$lzycompute(QueryExecution.scala:72)
  100. at org.apache.spark.sql.execution.QueryExecution.sparkPlan(QueryExecution.scala:68)
  101. at com.deloitte.preparation.response.ResponsePreparer$$anon$1.com$deloitte$preparation$response$ResponsePreparer$$anon$$checkForCheckpoint(ResponsePreparer.scala:133)
  102. at com.deloitte.preparation.response.ResponsePreparer$$anon$1$$anonfun$8.apply(ResponsePreparer.scala:151)
  103. at com.deloitte.preparation.response.ResponsePreparer$$anon$1$$anonfun$8.apply(ResponsePreparer.scala:151)
  104. at com.deloitte.preparation.response.ResponsePreparer$$anon$1$$anonfun$9.apply(ResponsePreparer.scala:153)
  105. at com.deloitte.preparation.response.ResponsePreparer$$anon$1$$anonfun$9.apply(ResponsePreparer.scala:152)
  106. at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124)
  107. at scala.collection.immutable.List.foldLeft(List.scala:84)
  108. at com.deloitte.preparation.response.ResponsePreparer$$anon$1.apply(ResponsePreparer.scala:152)
  109. at com.deloitte.preparation.response.ResponsePreparer$$anon$1.apply(ResponsePreparer.scala:53)
  110. at com.deloitte.preparation.jobs.BaseJob.runJobAndPrepareResponse(BaseJob.scala:65)
  111. at com.deloitte.preparation.PreparationJob$$anonfun$1.apply(PreparationJob.scala:50)
  112. at com.deloitte.preparation.PreparationJob$$anonfun$1.apply(PreparationJob.scala:50)
  113. at com.deloitte.preparation.utils.ErrorUtils$class.withUserFriendlyError(ErrorUtils.scala:14)
  114. ... 61 more
  115. Caused by: java.time.format.DateTimeParseException: Text 'unparsable' could not be parsed at index 0
  116. at java.time.format.DateTimeFormatter.parseResolved0(DateTimeFormatter.java:1949)
  117. at java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1851)
  118. at java.time.LocalDateTime.parse(LocalDateTime.java:492)
  119. at com.deloitte.preparation.udfs.package$$anonfun$toTimestampStrict$1.apply(package.scala:380)
  120. at com.deloitte.preparation.udfs.package$$anonfun$toTimestampStrict$1.apply(package.scala:375)
  121. at org.apache.spark.sql.catalyst.expressions.ScalaUDF$$anonfun$2.apply(ScalaUDF.scala:108)
  122. at org.apache.spark.sql.catalyst.expressions.ScalaUDF$$anonfun$2.apply(ScalaUDF.scala:107)
  123. at org.apache.spark.sql.catalyst.expressions.ScalaUDF.eval(ScalaUDF.scala:1063)
  124. ... 108 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement