maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint for sql queries URL: https://github.com/apache/spark/pull/25464#issuecomment-526824476 Have you checked the two cases below? ``` scala> df res8: org.apache.spark.sql.DataFrame = [a: bigint, b: bigint] scala> df.hint("repartition", 1, $"a").show org.apache.spark.sql.AnalysisException: Invalid type exprs : WrappedArray(a) expects UnresolvedAttribute type scala> df.hint("repartition", 1, df("a")).show org.apache.spark.sql.AnalysisException: Invalid type exprs : WrappedArray(a) expects UnresolvedAttribute type ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
