Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Text 'unparsable' could not be parsed at index 0
- java.lang.RuntimeException: Text 'unparsable' could not be parsed at index 0
- at com.deloitte.preparation.utils.ErrorUtils$class.withUserFriendlyError(ErrorUtils.scala:16)
- at com.deloitte.preparation.PreparationJob$.withUserFriendlyError(PreparationJob.scala:28)
- at com.deloitte.preparation.PreparationJob$.run(PreparationJob.scala:49)
- at com.deloitte.preparation.JobBaseTest$$anonfun$runJob$1.apply(JobBaseTest.scala:95)
- at com.deloitte.preparation.JobBaseTest$$anonfun$runJob$1.apply(JobBaseTest.scala:95)
- at org.scalactic.Good.map(Or.scala:1207)
- at com.deloitte.preparation.JobBaseTest.runJob(JobBaseTest.scala:95)
- at com.deloitte.preparation.jobs.columns.ConvertToDateJobTest$$anonfun$3.apply(ConvertToDateJobTest.scala:78)
- at com.deloitte.preparation.jobs.columns.ConvertToDateJobTest$$anonfun$3.apply(ConvertToDateJobTest.scala:71)
- at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
- 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.FlatSpecLike$$anon$1.apply(FlatSpecLike.scala:1682)
- at org.scalatest.TestSuite$class.withFixture(TestSuite.scala:196)
- at org.scalatest.FlatSpec.withFixture(FlatSpec.scala:1685)
- at org.scalatest.FlatSpecLike$class.invokeWithFixture$1(FlatSpecLike.scala:1679)
- at org.scalatest.FlatSpecLike$$anonfun$runTest$1.apply(FlatSpecLike.scala:1692)
- at org.scalatest.FlatSpecLike$$anonfun$runTest$1.apply(FlatSpecLike.scala:1692)
- at org.scalatest.SuperEngine.runTestImpl(Engine.scala:289)
- at org.scalatest.FlatSpecLike$class.runTest(FlatSpecLike.scala:1692)
- at com.deloitte.preparation.JobBaseTest.org$scalatest$BeforeAndAfterEach$$super$runTest(JobBaseTest.scala:24)
- at org.scalatest.BeforeAndAfterEach$class.runTest(BeforeAndAfterEach.scala:221)
- at com.deloitte.preparation.JobBaseTest.runTest(JobBaseTest.scala:24)
- at org.scalatest.FlatSpecLike$$anonfun$runTests$1.apply(FlatSpecLike.scala:1750)
- at org.scalatest.FlatSpecLike$$anonfun$runTests$1.apply(FlatSpecLike.scala:1750)
- at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:396)
- at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:384)
- at scala.collection.immutable.List.foreach(List.scala:381)
- at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:384)
- at org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:373)
- at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:410)
- at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:384)
- at scala.collection.immutable.List.foreach(List.scala:381)
- at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:384)
- at org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:379)
- at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:461)
- at org.scalatest.FlatSpecLike$class.runTests(FlatSpecLike.scala:1750)
- at org.scalatest.FlatSpec.runTests(FlatSpec.scala:1685)
- at org.scalatest.Suite$class.run(Suite.scala:1147)
- at org.scalatest.FlatSpec.org$scalatest$FlatSpecLike$$super$run(FlatSpec.scala:1685)
- at org.scalatest.FlatSpecLike$$anonfun$run$1.apply(FlatSpecLike.scala:1795)
- at org.scalatest.FlatSpecLike$$anonfun$run$1.apply(FlatSpecLike.scala:1795)
- at org.scalatest.SuperEngine.runImpl(Engine.scala:521)
- at org.scalatest.FlatSpecLike$class.run(FlatSpecLike.scala:1795)
- at com.deloitte.preparation.JobBaseTest.org$scalatest$BeforeAndAfterAll$$super$run(JobBaseTest.scala:24)
- at org.scalatest.BeforeAndAfterAll$class.liftedTree1$1(BeforeAndAfterAll.scala:213)
- at org.scalatest.BeforeAndAfterAll$class.run(BeforeAndAfterAll.scala:210)
- at com.deloitte.preparation.JobBaseTest.run(JobBaseTest.scala:24)
- at org.scalatest.tools.SuiteRunner.run(SuiteRunner.scala:45)
- at org.scalatest.tools.Runner$$anonfun$doRunRunRunDaDoRunRun$1.apply(Runner.scala:1340)
- at org.scalatest.tools.Runner$$anonfun$doRunRunRunDaDoRunRun$1.apply(Runner.scala:1334)
- at scala.collection.immutable.List.foreach(List.scala:381)
- at org.scalatest.tools.Runner$.doRunRunRunDaDoRunRun(Runner.scala:1334)
- at org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:1011)
- at org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:1010)
- at org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:1500)
- at org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:1010)
- at org.scalatest.tools.Runner$.run(Runner.scala:850)
- at org.scalatest.tools.Runner.run(Runner.scala)
- at org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.runScalaTest2(ScalaTestRunner.java:131)
- at org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.main(ScalaTestRunner.java:28)
- Caused by: org.apache.spark.SparkException: Failed to execute user defined function(anonfun$toTimestampStrict$1: (string) => timestamp)
- at org.apache.spark.sql.catalyst.expressions.ScalaUDF.eval(ScalaUDF.scala:1066)
- at org.apache.spark.sql.catalyst.expressions.Alias.eval(namedExpressions.scala:151)
- at org.apache.spark.sql.catalyst.expressions.InterpretedProjection.apply(Projection.scala:50)
- at org.apache.spark.sql.catalyst.expressions.InterpretedProjection.apply(Projection.scala:32)
- at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
- at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
- at scala.collection.immutable.List.foreach(List.scala:381)
- at scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
- at scala.collection.immutable.List.map(List.scala:285)
- at org.apache.spark.sql.catalyst.optimizer.ConvertToLocalRelation$$anonfun$apply$24.applyOrElse(Optimizer.scala:1364)
- at org.apache.spark.sql.catalyst.optimizer.ConvertToLocalRelation$$anonfun$apply$24.applyOrElse(Optimizer.scala:1359)
- at org.apache.spark.sql.catalyst.trees.TreeNode$$anonfun$2.apply(TreeNode.scala:256)
- at org.apache.spark.sql.catalyst.trees.TreeNode$$anonfun$2.apply(TreeNode.scala:256)
- at org.apache.spark.sql.catalyst.trees.CurrentOrigin$.withOrigin(TreeNode.scala:70)
- at org.apache.spark.sql.catalyst.trees.TreeNode.transformDown(TreeNode.scala:255)
- at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.org$apache$spark$sql$catalyst$plans$logical$AnalysisHelper$$super$transformDown(LogicalPlan.scala:29)
- at org.apache.spark.sql.catalyst.plans.logical.AnalysisHelper$class.transformDown(AnalysisHelper.scala:149)
- at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.transformDown(LogicalPlan.scala:29)
- at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.transformDown(LogicalPlan.scala:29)
- at org.apache.spark.sql.catalyst.trees.TreeNode.transform(TreeNode.scala:245)
- at org.apache.spark.sql.catalyst.optimizer.ConvertToLocalRelation$.apply(Optimizer.scala:1359)
- at org.apache.spark.sql.catalyst.optimizer.ConvertToLocalRelation$.apply(Optimizer.scala:1358)
- at org.apache.spark.sql.catalyst.rules.RuleExecutor$$anonfun$execute$1$$anonfun$apply$1.apply(RuleExecutor.scala:87)
- at org.apache.spark.sql.catalyst.rules.RuleExecutor$$anonfun$execute$1$$anonfun$apply$1.apply(RuleExecutor.scala:84)
- at scala.collection.IndexedSeqOptimized$class.foldl(IndexedSeqOptimized.scala:57)
- at scala.collection.IndexedSeqOptimized$class.foldLeft(IndexedSeqOptimized.scala:66)
- at scala.collection.mutable.WrappedArray.foldLeft(WrappedArray.scala:35)
- at org.apache.spark.sql.catalyst.rules.RuleExecutor$$anonfun$execute$1.apply(RuleExecutor.scala:84)
- at org.apache.spark.sql.catalyst.rules.RuleExecutor$$anonfun$execute$1.apply(RuleExecutor.scala:76)
- at scala.collection.immutable.List.foreach(List.scala:381)
- at org.apache.spark.sql.catalyst.rules.RuleExecutor.execute(RuleExecutor.scala:76)
- at org.apache.spark.sql.execution.QueryExecution.optimizedPlan$lzycompute(QueryExecution.scala:66)
- at org.apache.spark.sql.execution.QueryExecution.optimizedPlan(QueryExecution.scala:66)
- at org.apache.spark.sql.execution.QueryExecution.sparkPlan$lzycompute(QueryExecution.scala:72)
- at org.apache.spark.sql.execution.QueryExecution.sparkPlan(QueryExecution.scala:68)
- at com.deloitte.preparation.response.ResponsePreparer$$anon$1.com$deloitte$preparation$response$ResponsePreparer$$anon$$checkForCheckpoint(ResponsePreparer.scala:133)
- at com.deloitte.preparation.response.ResponsePreparer$$anon$1$$anonfun$8.apply(ResponsePreparer.scala:151)
- at com.deloitte.preparation.response.ResponsePreparer$$anon$1$$anonfun$8.apply(ResponsePreparer.scala:151)
- at com.deloitte.preparation.response.ResponsePreparer$$anon$1$$anonfun$9.apply(ResponsePreparer.scala:153)
- at com.deloitte.preparation.response.ResponsePreparer$$anon$1$$anonfun$9.apply(ResponsePreparer.scala:152)
- at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124)
- at scala.collection.immutable.List.foldLeft(List.scala:84)
- at com.deloitte.preparation.response.ResponsePreparer$$anon$1.apply(ResponsePreparer.scala:152)
- at com.deloitte.preparation.response.ResponsePreparer$$anon$1.apply(ResponsePreparer.scala:53)
- at com.deloitte.preparation.jobs.BaseJob.runJobAndPrepareResponse(BaseJob.scala:65)
- at com.deloitte.preparation.PreparationJob$$anonfun$1.apply(PreparationJob.scala:50)
- at com.deloitte.preparation.PreparationJob$$anonfun$1.apply(PreparationJob.scala:50)
- at com.deloitte.preparation.utils.ErrorUtils$class.withUserFriendlyError(ErrorUtils.scala:14)
- ... 61 more
- Caused by: java.time.format.DateTimeParseException: Text 'unparsable' could not be parsed at index 0
- at java.time.format.DateTimeFormatter.parseResolved0(DateTimeFormatter.java:1949)
- at java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1851)
- at java.time.LocalDateTime.parse(LocalDateTime.java:492)
- at com.deloitte.preparation.udfs.package$$anonfun$toTimestampStrict$1.apply(package.scala:380)
- at com.deloitte.preparation.udfs.package$$anonfun$toTimestampStrict$1.apply(package.scala:375)
- at org.apache.spark.sql.catalyst.expressions.ScalaUDF$$anonfun$2.apply(ScalaUDF.scala:108)
- at org.apache.spark.sql.catalyst.expressions.ScalaUDF$$anonfun$2.apply(ScalaUDF.scala:107)
- at org.apache.spark.sql.catalyst.expressions.ScalaUDF.eval(ScalaUDF.scala:1063)
- ... 108 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement