Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/17832#discussion_r114413847
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/JdbcUtils.scala
---
@@ -223,6 +223,9 @@ object JdbcUtils extends Logging {
case java.sql.Types.STRUCT => StringType
case java.sql.Types.TIME => TimestampType
case java.sql.Types.TIMESTAMP => TimestampType
+ case java.sql.Types.TIMESTAMP_WITH_TIMEZONE
+ => TimestampType
+ case -101 => TimestampType
--- End diff --
I did a try. The fix works in my local docker test environment. Below is
the way how we run docker integration test.
```
build/mvn -Pyarn -Phadoop-2.6 -Dhadoop.version=2.6.0 -Phive-thriftserver
-Phive -DskipTests install
Before running dockers test . You need to set the docker env variabled.
Following does the magic:
eval $(docker-machine env default)
build/mvn -Pdocker-integration-tests -pl
:spark-docker-integration-tests_2.11 compile test
```
Feel free to ping me if you hit any issue.
---
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]