|
ANDROID_HOME | /home/android-sdk/ |
AWS_ACCESS_KEY_ID | [*******] |
AWS_SECRET_ACCESS_KEY | [*******] |
BUILD_CAUSE | GHPRBCAUSE |
BUILD_CAUSE_GHPRBCAUSE | true |
BUILD_DISPLAY_NAME | #134302 |
BUILD_ID | 134302 |
BUILD_NUMBER | 134302 |
BUILD_TAG | jenkins-SparkPullRequestBuilder-134302 |
BUILD_URL | https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/134302/ |
CLASSPATH | $CLASSPATH |
EXECUTOR_NUMBER | 2 |
GEM_HOME | /home/jenkins/gems |
GITHUB_OAUTH_KEY | [*******] |
GIT_BRANCH | fix-postgres-dialect-regression |
GIT_COMMIT | f69a43726379e7a5d2f1ef7b1695dc96fea55375 |
GIT_URL | https://github.com/apache/spark.git |
GOPATH | /home/jenkins/go-projects |
GOROOT | /usr/local/go |
HOME | /home/jenkins |
HUDSON_HOME | /var/lib/jenkins |
HUDSON_SERVER_COOKIE | 472906e9832aeb79 |
HUDSON_URL | https://amplab.cs.berkeley.edu/jenkins/ |
JAVA_HOME | /usr/lib/jvm/java-8-oracle |
JENKINS_HOME | /var/lib/jenkins |
JENKINS_SERVER_COOKIE | 472906e9832aeb79 |
JENKINS_URL | https://amplab.cs.berkeley.edu/jenkins/ |
JOB_BASE_NAME | SparkPullRequestBuilder |
JOB_NAME | SparkPullRequestBuilder |
JOB_URL | https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/ |
LANG | en_US.UTF-8 |
LOGNAME | jenkins |
MAIL | /var/mail/jenkins |
NODE_LABELS | amp-jenkins-staging-worker-02 staging staging-02 ubuntu ubuntu-avx2 ubuntu-gpu |
NODE_NAME | amp-jenkins-staging-worker-02 |
OLDPWD | /home/jenkins |
PATH | /home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/:/home/jenkins/gems/bin:/usr/local/go/bin:/home/jenkins/go-projects/bin:/home/jenkins/anaconda2/bin:/home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/:/home/jenkins/gems/bin:/usr/local/go/bin:/home/jenkins/go-projects/bin:/home/jenkins/anaconda2/bin:$PATH |
PWD | /home/jenkins |
ROOT_BUILD_CAUSE | GHPRBCAUSE |
ROOT_BUILD_CAUSE_GHPRBCAUSE | true |
RUN_ARTIFACTS_DISPLAY_URL | https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/134302/display/redirect?page=artifacts |
RUN_CHANGES_DISPLAY_URL | https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/134302/display/redirect?page=changes |
RUN_DISPLAY_URL | https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/134302/display/redirect |
RUN_TESTS_DISPLAY_URL | https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/134302/display/redirect?page=tests |
SHELL | /bin/bash |
SHLVL | 1 |
SPARK_TEST_KEY | [*******] |
SSH_CLIENT | 192.168.10.11 38518 22 |
SSH_CONNECTION | 192.168.10.11 38518 192.168.10.32 22 |
USER | jenkins |
WORKSPACE | /home/jenkins/workspace/SparkPullRequestBuilder@2 |
XDG_RUNTIME_DIR | /run/user/17938 |
XDG_SESSION_ID | 1 |
_ | /usr/lib/jvm/java-8-oracle/bin/java |
ghprbActualCommit | 084fb2db1435bcf9eba6f9516db38ccd1af5b952 |
ghprbActualCommitAuthor | Kousuke Saruta |
ghprbActualCommitAuthorEmail | sarutak@oss.nttdata.com |
ghprbAuthorRepoGitUrl | https://github.com/sarutak/spark.git |
ghprbCommentBody | null |
ghprbCredentialsId | b7d94526-9e9b-435f-9275-d7dbf209f4a3 |
ghprbGhRepository | apache/spark |
ghprbPullAuthorEmail | sarutak@oss.nttdata.com |
ghprbPullAuthorLogin | sarutak |
ghprbPullAuthorLoginMention | @sarutak |
ghprbPullDescription | GitHub pull request #31262 of commit 084fb2db1435bcf9eba6f9516db38ccd1af5b952, no merge conflicts. |
ghprbPullId | 31262 |
ghprbPullLink | https://github.com/apache/spark/pull/31262 |
ghprbPullLongDescription | ### What changes were proposed in this pull request?\r\n<!--\r\nPlease clarify what changes you are proposing. The purpose of this section is to outline the changes and how this PR fixes the issue. \r\nIf possible, please consider writing useful notes for better and faster reviews in your PR. See the examples below.\r\n 1. If you refactor some codes with changing classes, showing the class hierarchy will help reviewers.\r\n 2. If you fix some SQL features, you can provide some references of other DBMSes.\r\n 3. If there is design documentation, please add the link.\r\n 4. If there is a discussion in the mailing list, please add the link.\r\n-->\r\nThis PR fixes the regression bug brought by SPARK-33888 (#30902).\r\nAfter that PR merged, `PostgresDIalect#getCatalystType` throws Exception for array types.\r\n```\r\n[info] - Type mapping for various types *** FAILED *** (551 milliseconds)\r\n[info] java.util.NoSuchElementException: key not found: scale\r\n[info] at scala.collection.immutable.Map$EmptyMap$.apply(Map.scala:106)\r\n[info] at scala.collection.immutable.Map$EmptyMap$.apply(Map.scala:104)\r\n[info] at org.apache.spark.sql.types.Metadata.get(Metadata.scala:111)\r\n[info] at org.apache.spark.sql.types.Metadata.getLong(Metadata.scala:51)\r\n[info] at org.apache.spark.sql.jdbc.PostgresDialect$.getCatalystType(PostgresDialect.scala:43)\r\n[info] at org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$.getSchema(JdbcUtils.scala:321)\r\n```\r\n\r\nThis PR also change the `PostgresIntegrationSuite` because that PR changed the JDBC-Catalyst type mapping for `sql.Types.TIME` from `TimestampType` to `IntegerType`.\r\n\r\n### Why are the changes needed?\r\n<!--\r\nPlease clarify why the changes are needed. For instance,\r\n 1. If you propose a new API, clarify the use case for a new API.\r\n 2. If you fix a bug, you can clarify why it is a bug.\r\n-->\r\nTo fix the regression bug.\r\n\r\n### Does this PR introduce _any_ user-facing change?\r\n<!--\r\nNote that it means *any* user-facing change including all aspects such as the documentation fix.\r\nIf yes, please clarify the previous behavior and the change this PR proposes - provide the console output, description and/or an example to show the behavior difference if possible.\r\nIf possible, please also clarify if this is a user-facing change compared to the released Spark versions or within the unreleased branches such as master.\r\nIf no, write 'No'.\r\n-->\r\nNo.\r\n\r\n### How was this patch tested?\r\n<!--\r\nIf tests were added, say they were added here. Please make sure to add some test cases that check the changes thoroughly including negative and positive cases if possible.\r\nIf it was tested in a way different from regular unit tests, please clarify how you tested step by step, ideally copy and paste-able, so that other reviewers can test and check, and descendants can verify in the future.\r\nIf tests were not added, please describe why they were not added and/or why it was difficult to add.\r\n-->\r\nI confirmed `PostgresIntegrationSuite` passed. |
ghprbPullTitle | [SPARK-34180][SQL] Fix the regression brought by SPARK-33888 for PostgresDialect |
ghprbSourceBranch | fix-postgres-dialect-regression |
ghprbTargetBranch | master |
ghprbTriggerAuthor | |
ghprbTriggerAuthorEmail | |
ghprbTriggerAuthorLogin | |
ghprbTriggerAuthorLoginMention | |
sha1 | origin/pr/31262/merge |