[GitHub] spark pull request #15014: [SPARK-17429][SQL] use ImplicitCastInputTypes wit...

2016-09-15 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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



[GitHub] spark pull request #15014: [SPARK-17429][SQL] use ImplicitCastInputTypes wit...

2016-09-08 Thread cenyuhai
GitHub user cenyuhai opened a pull request:

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

[SPARK-17429][SQL] use ImplicitCastInputTypes with function Length

## What changes were proposed in this pull request?
select length(11);
select length(2.0);
these sql will return errors, but hive is ok.
this PR will support casting input types implicitly for function length
the correct result is:
select length(11) return 2
select length(2.0) return 3



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

$ git pull https://github.com/cenyuhai/spark SPARK-17429

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

https://github.com/apache/spark/pull/15014.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 #15014


commit 869eaaf23f79eefbc6a8ff7a7b9efbc4a9f8c6b7
Author: 岑玉海 <261810...@qq.com>
Date:   2016-08-21T03:55:04Z

Merge pull request #8 from apache/master

merge latest code to my fork

commit b6b0d0a41c1aa59bc97a0aa438619d903b78b108
Author: 岑玉海 <261810...@qq.com>
Date:   2016-09-06T03:03:08Z

Merge pull request #9 from apache/master

Merge latest code to my fork

commit abd7924eab25b6dfdfd78c23a78dadcb3b9fbe1e
Author: 岑玉海 <261810...@qq.com>
Date:   2016-09-08T17:10:12Z

Merge pull request #10 from apache/master

Merge latest code to my fork

commit 51fe8a1d141f700a2b417878c1c19af25d922198
Author: cenyuhai 
Date:   2016-09-08T17:46:37Z

use ImplicitCastInputTypes for  Length




---
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