You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Takeshi Yamamuro (Jira)" <ji...@apache.org> on 2021/06/08 06:10:00 UTC
[jira] [Commented] (SPARK-35673) Spark fails on unrecognized hint
in subquery
[ https://issues.apache.org/jira/browse/SPARK-35673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17359059#comment-17359059 ]
Takeshi Yamamuro commented on SPARK-35673:
------------------------------------------
Since 2.4.x does not have this issue, it is a kind of regressions. (I've checked that the master still has it). cc: [~angerszhuuu] Do you have time to look into this?
> Spark fails on unrecognized hint in subquery
> --------------------------------------------
>
> Key: SPARK-35673
> URL: https://issues.apache.org/jira/browse/SPARK-35673
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 3.0.2, 3.1.1, 3.1.2, 3.2.0
> Reporter: Willi Raschkowski
> Priority: Major
>
> Spark queries to fail on unrecognized hints in subqueries. An example to reproduce:
> {code:sql}
> 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
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org