GitHub user bogdanrdc opened a pull request:

    https://github.com/apache/spark/pull/18086

    [SPARK-20854][SQL] Extend hint syntax to support expressions

    ## What changes were proposed in this pull request?
    
    SQL hint syntax:
    * support expressions such as strings, numbers, etc. instead of only 
identifiers as it is currently.
    * support multiple hints, which was missing compared to the DataFrame 
syntax.
    
    DataFrame API:
    * support any parameters in DataFrame.hint instead of just strings
    
    ## How was this patch tested?
    Existing tests. New tests in PlanParserSuite. New suite DataFrameHintSuite.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bogdanrdc/spark SPARK-20854

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/18086.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #18086
    
----
commit 03a4281751e02acd2b97ceff6cf8e1621e83eb93
Author: Bogdan Raducanu <bog...@databricks.com>
Date:   2017-04-20T10:59:49Z

    fix + test

commit 72cf1d117890abe45aa30c6b91a7e2c527fc4969
Author: Bogdan Raducanu <bog...@databricks.com>
Date:   2017-04-20T11:01:40Z

    reverted mistake commit

commit 2c96a8d65059db3b808e05241b870ccd17937095
Author: Bogdan Raducanu <bog...@databricks.com>
Date:   2017-05-12T15:24:57Z

    erge remote-tracking branch 'upstream/master'

commit fa11b0b97b38bb98b599a8edf1d43e01b067a926
Author: Bogdan Raducanu <bog...@databricks.com>
Date:   2017-05-23T11:28:34Z

    Merge remote-tracking branch 'upstream/master'

commit 21ad3aa4468b58aa4e552e2922e1bceda61097f7
Author: Bogdan Raducanu <bog...@databricks.com>
Date:   2017-05-23T11:28:57Z

    Merge remote-tracking branch 'upstream/master'

commit 84c0746d3d71c5a7f7e99c427ab68b72871817a3
Author: Bogdan Raducanu <bog...@databricks.com>
Date:   2017-05-24T09:14:30Z

    new syntax + tests

commit dff75c854a972bc2a61eb752971faa208f9ccb84
Author: Bogdan Raducanu <bog...@databricks.com>
Date:   2017-05-24T09:25:28Z

    merged

commit 5439468f85c01dc2c5ae36a4c1a0fceb210d9852
Author: Bogdan Raducanu <bog...@databricks.com>
Date:   2017-05-24T11:11:57Z

    multiple hints syntaxes + more tests

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to