Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
- Given a complicated view with a select statement that has subquery containing "NOT IN"
- Hive fails to create a simple view as SELECT * FROM complicated_view
- (with CBO disabled).
The unparse replacements of the complicated view will be applied to the text of the simple view, resulting in IllegalArgumentException: replace: range invalid exceptions from org.antlr.runtime.TokenRewriteStream.replace.