MaxGekk edited a comment on issue #27552: [SPARK-30808][SQL] Enable Java 8 time API in Thrift server URL: https://github.com/apache/spark/pull/27552#issuecomment-586947271 While debugging the `test ambiguousReferences resolved as hive` test from `org.apache.spark.sql.hive.execution.HiveResolutionSuite`, I see CreateDataSourceTableCommand is invoke twice for the same table name **t1** : 1. In `lazy val dataset = Dataset.ofRows(sparkSession, logical)` inside of `TestHiveQueryExecution` 2. In `hiveResultString()`: ```scala val result: Seq[Seq[Any]] = Dataset.ofRows(ds.sparkSession, ds.queryExecution.logical) .queryExecution .executedPlan .executeCollectPublic().map(_.toSeq).toSeq ``` This causes side effects here: https://github.com/apache/spark/blob/e2d3983de78f5c80fac066b7ee8bedd0987110dd/sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala#L226
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
