[GitHub] [spark] maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint for sql queries

2019-10-29 Thread GitBox
maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint  for 
sql queries
URL: https://github.com/apache/spark/pull/25464#issuecomment-547674634
 
 
   FYI: I added @ulysses-you in the Spark contributor list.


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:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint for sql queries

2019-10-29 Thread GitBox
maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint  for 
sql queries
URL: https://github.com/apache/spark/pull/25464#issuecomment-547673443
 
 
   Thanks for the contribution, @ulysses-you ! Merged to master.


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:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint for sql queries

2019-10-27 Thread GitBox
maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint  for 
sql queries
URL: https://github.com/apache/spark/pull/25464#issuecomment-546767730
 
 
   retest this please


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:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint for sql queries

2019-10-24 Thread GitBox
maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint  for 
sql queries
URL: https://github.com/apache/spark/pull/25464#issuecomment-546193461
 
 
   retest this please


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:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint for sql queries

2019-10-24 Thread GitBox
maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint  for 
sql queries
URL: https://github.com/apache/spark/pull/25464#issuecomment-545758661
 
 
   Looks ok to me except for the one left point: 
https://github.com/apache/spark/pull/25464/files#r322571702
   I leave it to the more qualified reviewers. @maryannxue 


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:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint for sql queries

2019-09-30 Thread GitBox
maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint  for 
sql queries
URL: https://github.com/apache/spark/pull/25464#issuecomment-536792531
 
 
   retest this please


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:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint for sql queries

2019-09-18 Thread GitBox
maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint  for 
sql queries
URL: https://github.com/apache/spark/pull/25464#issuecomment-532553814
 
 
   retest this please


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:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint for sql queries

2019-09-09 Thread GitBox
maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint  for 
sql queries
URL: https://github.com/apache/spark/pull/25464#issuecomment-529742771
 
 
   Can you check https://github.com/ulysses-you/spark/pull/5?
   I roughly brushed up the code based on your pr. Since I didn't check if the 
tests passed and the logic, can you brush it more based on my pr?


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:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint for sql queries

2019-09-03 Thread GitBox
maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint  for 
sql queries
URL: https://github.com/apache/spark/pull/25464#issuecomment-527742988
 
 
   ```
- df.hint("REPARTITION", 1, $"c".expr)
   ```
   We need `.expr`? I think this is not intuitive for users... Can you support 
`df.hint("REPARTITION", 1, $"c")`?


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:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint for sql queries

2019-08-31 Thread GitBox
maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint  for 
sql queries
URL: https://github.com/apache/spark/pull/25464#issuecomment-526825762
 
 
   One more, please list up all the quries that this pr supports, e.g.,
   ```
   Does this PR introduce any user-facing change?
   This pr intends to support quries below;
- df.hint("REPARTITION", 1, "a")
- df.hint(...
- sql("SELECT /*+ REPARTITION(c) */ * FROM t")
- sql("SELECT /*+ REPARTITION(1, c) */ * FROM t")
- sql("...
   ```
   Also, you need to update the title, too


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:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint for sql queries

2019-08-31 Thread GitBox
maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint  for 
sql queries
URL: https://github.com/apache/spark/pull/25464#issuecomment-526824571
 
 
   And, I personally think the error message is ambiguous to users, so can you 
rethink it again?
   ```
   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:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint for sql queries

2019-08-31 Thread GitBox
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:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint for sql queries

2019-08-27 Thread GitBox
maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint  for 
sql queries
URL: https://github.com/apache/spark/pull/25464#issuecomment-525273146
 
 
   @ulysses-you yea, right.


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:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint for sql queries

2019-08-27 Thread GitBox
maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint  for 
sql queries
URL: https://github.com/apache/spark/pull/25464#issuecomment-525273082
 
 
   retest this please


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:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint for sql queries

2019-08-26 Thread GitBox
maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint  for 
sql queries
URL: https://github.com/apache/spark/pull/25464#issuecomment-525138923
 
 
   retest this please


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:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint for sql queries

2019-08-26 Thread GitBox
maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint  for 
sql queries
URL: https://github.com/apache/spark/pull/25464#issuecomment-525113232
 
 
   oh.. typo..


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:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint for sql queries

2019-08-26 Thread GitBox
maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint  for 
sql queries
URL: https://github.com/apache/spark/pull/25464#issuecomment-524743615
 
 
   ok to test


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:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint for sql queries

2019-08-26 Thread GitBox
maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint  for 
sql queries
URL: https://github.com/apache/spark/pull/25464#issuecomment-524737227
 
 
   retest this please


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:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint for sql queries

2019-08-22 Thread GitBox
maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint  for 
sql queries
URL: https://github.com/apache/spark/pull/25464#issuecomment-524128022
 
 
   ok to test


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:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint for sql queries

2019-08-21 Thread GitBox
maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint  for 
sql queries
URL: https://github.com/apache/spark/pull/25464#issuecomment-523684735
 
 
   Yea, that approach looks more reasonable to me. Could you brush up the code 
based on the suggestion? @ulysses-you 


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:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint for sql queries

2019-08-15 Thread GitBox
maropu commented on issue #25464: [SPARK-28746][SQL] Add partitionby hint  for 
sql queries
URL: https://github.com/apache/spark/pull/25464#issuecomment-521852813
 
 
   @gatorsmile @maryannxue We need this?


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:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org