Github user dongjoon-hyun commented on the issue: https://github.com/apache/spark/pull/19911 @bolkedebruin , @srowen , @gatorsmile . PostgreSQL has `inheritance` between tables. Due to the following side effects, I'm not sure about this PR. Any thoughts? ```sql postgres=# CREATE TABLE parent(a INT); CREATE TABLE postgres=# CREATE TABLE child(b INT) INHERITS (parent); CREATE TABLE postgres=# INSERT INTO parent VALUES(1); INSERT 0 1 postgres=# SELECT * FROM parent; a --- 1 (1 row) postgres=# INSERT INTO child VALUES(2); INSERT 0 1 postgres=# SELECT * FROM parent; a --- 1 2 (2 rows) postgres=# SELECT * FROM child; a | b ---+--- 2 | (1 row) postgres=# TRUNCATE TABLE parent; TRUNCATE TABLE postgres=# SELECT * FROM parent; a --- (0 rows) postgres=# SELECT * FROM child; a | b ---+--- (0 rows) ```
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org