Github user wangyum commented on a diff in the pull request: https://github.com/apache/spark/pull/22721#discussion_r226812885 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/InsertIntoHadoopFsRelationCommand.scala --- @@ -189,6 +189,7 @@ case class InsertIntoHadoopFsRelationCommand( sparkSession.catalog.refreshByPath(outputPath.toString) if (catalogTable.nonEmpty) { + sparkSession.catalog.refreshTable(catalogTable.get.identifier.quotedString) --- End diff -- OK, Fixed.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org