Github user gatorsmile commented on a diff in the pull request: https://github.com/apache/spark/pull/19252#discussion_r139317292 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/command/CommandUtils.scala --- @@ -44,6 +44,7 @@ object CommandUtils extends Logging { } else { catalog.alterTableStats(table.identifier, None) } + catalog.refreshTable(table.identifier) --- End diff -- Add a comment above this line: > Invalidate the table relation cache
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org