Github user cloud-fan commented on the issue: https://github.com/apache/spark/pull/16552 The overall idea is to use `InsertIntable` to implement appending to hive table, but this approach is too hacky, we should follow the way how we deal with data source table, e.g. `DataFrameWriter.saveAsTable` just build a `CreateTable` plan, rule `AnalyzeCreateTable` do some checking and normalization, and another rule turn `CreateTable` into `CreateDataSourceTableAsSelectCommand`.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org