LantaoJin edited a comment on pull request #29062:
URL: https://github.com/apache/spark/pull/29062#issuecomment-662354861
```
WITH cte AS (SELECT /*+ REPARTITION(3) */ * FROM t) SELECT * FROM cte
```
throws `java.lang.IllegalStateException: Internal error: logical hint
operator
LantaoJin edited a comment on pull request #29062:
URL: https://github.com/apache/spark/pull/29062#issuecomment-662233804
> I checked the order of analysis rules in branch-2.4. Substitution batch is
after Hints too, like branch-3.0. Is there any change causing this issue?
@viirya I
LantaoJin edited a comment on pull request #29062:
URL: https://github.com/apache/spark/pull/29062#issuecomment-662233804
> I checked the order of analysis rules in branch-2.4. Substitution batch is
after Hints too, like branch-3.0. Is there any change causing this issue?
@viirya I
LantaoJin edited a comment on pull request #29062:
URL: https://github.com/apache/spark/pull/29062#issuecomment-662233804
> I checked the order of analysis rules in branch-2.4. Substitution batch is
after Hints too, like branch-3.0. Is there any change causing this issue?
I found