{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/5555","labels_url":"https://api.github.com/repos/apache/spark/issues/5555/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/5555/comments","events_url":"https://api.github.com/repos/apache/spark/issues/5555/events","html_url":"https://github.com/apache/spark/pull/5555","id":69115052,"number":5555,"title":"[SPARK-6888][SQL] Make the jdbc driver handling user-definable","user":{"login":"rtreffer","id":61306,"avatar_url":"https://avatars.githubusercontent.com/u/61306?v=3","gravatar_id":"","url":"https://api.github.com/users/rtreffer","html_url":"https://github.com/rtreffer","followers_url":"https://api.github.com/users/rtreffer/followers","following_url":"https://api.github.com/users/rtreffer/following{/other_user}","gists_url":"https://api.github.com/users/rtreffer/gists{/gist_id}","starred_url":"https://api.github.com/users/rtreffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtreffer/subscriptions","organizations_url":"https://api.github.com/users/rtreffer/orgs","repos_url":"https://api.github.com/users/rtreffer/repos","events_url":"https://api.github.com/users/rtreffer/events{/privacy}","received_events_url":"https://api.github.com/users/rtreffer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-04-17T10:46:06Z","updated_at":"2015-04-30T16:43:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/5555","html_url":"https://github.com/apache/spark/pull/5555","diff_url":"https://github.com/apache/spark/pull/5555.diff","patch_url":"https://github.com/apache/spark/pull/5555.patch"},"body":"Replace the DriverQuirks with JdbcDialect(s) (and MySQLDialect/PostgresDialect)\r\nand allow developers to change the dialects on the fly (for new JDBCRRDs only).\r\n\r\nSome types (like an unsigned 64bit number) can be trivially mapped to java.\r\nThe status quo is that the RRD will fail to load.\r\nThis patch makes it possible to overwrite the type mapping to read e.g.\r\n64Bit numbers as strings and handle them afterwards in software.\r\n\r\nJDBCSuite has an example that maps all types to String, which should always\r\nwork (at the cost of extra code afterwards).\r\n\r\nAs a side effect it should now be possible to develop simple dialects\r\nout-of-tree and even with spark-shell."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/97874080","html_url":"https://github.com/apache/spark/pull/5555#issuecomment-97874080","issue_url":"https://api.github.com/repos/apache/spark/issues/5555","id":97874080,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T16:43:02Z","updated_at":"2015-04-30T16:43:02Z","body":"  [Test build #31431 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/31431/consoleFull) for   PR 5555 at commit [`6a528d4`](https://github.com/apache/spark/commit/6a528d460cb1a035d7fc111fa82e0de19e8ffad5)."}}