GitHub user TomaszGaweda opened a pull request:
https://github.com/apache/spark/pull/22249
[SPARK-16281][SQL][FOLLOW-UP] Add parse_url to functions.scala
## What changes were proposed in this pull request?
Add `parse_url` function to `functions.scala`. This will allow users to use
this functions without calling `selectExpr` or `spark.sql`
## How was this patch tested?
`testUrl` function was changed to test also this change
Please review http://spark.apache.org/contributing.html before opening a
pull request.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/TomaszGaweda/spark parseUrl
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22249.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 #22249
----
commit 4002cb9c48b608123845b89af9f77e137626f83f
Author: Tomasz Gaweda <tomasz.gaweda@...>
Date: 2018-08-27T20:05:50Z
SPARK-16281 Follow-up: parse_url in functions.scala
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]