[GitHub] [spark] LantaoJin edited a comment on pull request #29062: [SPARK-32237][SQL] Resolve hint in CTE

2020-07-22 Thread GitBox
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

[GitHub] [spark] LantaoJin edited a comment on pull request #29062: [SPARK-32237][SQL] Resolve hint in CTE

2020-07-21 Thread GitBox
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

[GitHub] [spark] LantaoJin edited a comment on pull request #29062: [SPARK-32237][SQL] Resolve hint in CTE

2020-07-21 Thread GitBox
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

[GitHub] [spark] LantaoJin edited a comment on pull request #29062: [SPARK-32237][SQL] Resolve hint in CTE

2020-07-21 Thread GitBox
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