Details
Description
Spark queries to fail on unrecognized hints in subqueries. An example to reproduce:
SELECT /*+ use_hash */ 42; -- 21/06/08 01:28:05 WARN HintErrorLogger: Unrecognized hint: use_hash() -- 42 SELECT * FROM ( SELECT /*+ use_hash */ 42 ); -- 21/06/08 01:28:07 WARN HintErrorLogger: Unrecognized hint: use_hash() -- Error in query: unresolved operator 'Project [*]; -- 'Project [*] -- +- SubqueryAlias __auto_generated_subquery_name -- +- Project [42 AS 42#2] -- +- OneRowRelation
Attachments
Issue Links
- is duplicated by
-
SPARK-35795 Cannot resolve column when there is a unrecognized hint in subquery
- Resolved
- links to