GitHub user viirya opened a pull request:
https://github.com/apache/spark/pull/17114
[SPARK-19758][SQL] Resolving timezone aware expressions with time zone when
resolving inline table
## What changes were proposed in this pull request?
When we resolve inline tables in analyzer, we will evaluate the expressions
of inline tables.
When it evaluates a `TimeZoneAwareExpression` expression, an error will
happen because the `TimeZoneAwareExpression` is not associated with timezone
yet.
## How was this patch tested?
Jenkins tests.
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/viirya/spark-1
resolve-timeawareexpr-inline-table
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/17114.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 #17114
----
commit b635db529b18404d43df47cf0c789fe22e414165
Author: Liang-Chi Hsieh <[email protected]>
Date: 2017-03-01T06:59:23Z
Resolving timezone aware expressions with time zone when resolving inline
table.
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]