Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.10.0, 0.11.0
-
None
-
None
Description
I'm using a multi table insert like this:
FROM <x>
INSERT INTO TABLE t PARTITION (type='x')
SELECT * WHERE type='x'
INSERT INTO TABLE t PARTITION (type='y')
SELECT * WHERE type='y';
Now when <x> is the name of a table, everything works as expected.
However if I use a subquery as <x>, the query runs but it inserts all results from the subquery into each partition, as if there were no "WHERE" clauses in the selects.
Attachments
Attachments
Issue Links
- is related to
-
HIVE-4293 Predicates following UDTF operator are removed by PPD
- Resolved