{"action":"created","comment":{"url":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/comments/59618643","id":59618643,"diff_hunk":"@@ -34,21 +34,13 @@ class TableWriter[T] private (\n   val columnNames = rowWriter.columnNames diff writeConf.optionPlaceholders\n   val columns = columnNames.map(tableDef.columnByName)\n \n-  val defaultTTL = writeConf.ttl match {","path":"spark-cassandra-connector/src/main/scala/com/datastax/spark/connector/writer/TableWriter.scala","position":4,"original_position":4,"commit_id":"43496d95db2f2b9406264817e6f803a0d0ca68bf","original_commit_id":"43496d95db2f2b9406264817e6f803a0d0ca68bf","user":{"login":"RussellSpitzer","id":413025,"avatar_url":"https://avatars.githubusercontent.com/u/413025?v=3","gravatar_id":"","url":"https://api.github.com/users/RussellSpitzer","html_url":"https://github.com/RussellSpitzer","followers_url":"https://api.github.com/users/RussellSpitzer/followers","following_url":"https://api.github.com/users/RussellSpitzer/following{/other_user}","gists_url":"https://api.github.com/users/RussellSpitzer/gists{/gist_id}","starred_url":"https://api.github.com/users/RussellSpitzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RussellSpitzer/subscriptions","organizations_url":"https://api.github.com/users/RussellSpitzer/orgs","repos_url":"https://api.github.com/users/RussellSpitzer/repos","events_url":"https://api.github.com/users/RussellSpitzer/events{/privacy}","received_events_url":"https://api.github.com/users/RussellSpitzer/received_events","type":"User","site_admin":false},"body":"Thanks for the cleanup, this all looks clean to me. Once the tests pass on our jenkins (those \"continuous-integration\" things below i'll merge","created_at":"2016-04-13T20:24:43Z","updated_at":"2016-04-13T20:24:43Z","html_url":"https://github.com/datastax/spark-cassandra-connector/pull/967#discussion_r59618643","pull_request_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/967","_links":{"self":{"href":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/comments/59618643"},"html":{"href":"https://github.com/datastax/spark-cassandra-connector/pull/967#discussion_r59618643"},"pull_request":{"href":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/967"}}},"pull_request":{"url":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/967","id":66338856,"html_url":"https://github.com/datastax/spark-cassandra-connector/pull/967","diff_url":"https://github.com/datastax/spark-cassandra-connector/pull/967.diff","patch_url":"https://github.com/datastax/spark-cassandra-connector/pull/967.patch","issue_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/issues/967","number":967,"state":"open","locked":false,"title":"SPARKC-362: Added support for INSERT ... IF NOT EXISTS","user":{"login":"randomf","id":2487162,"avatar_url":"https://avatars.githubusercontent.com/u/2487162?v=3","gravatar_id":"","url":"https://api.github.com/users/randomf","html_url":"https://github.com/randomf","followers_url":"https://api.github.com/users/randomf/followers","following_url":"https://api.github.com/users/randomf/following{/other_user}","gists_url":"https://api.github.com/users/randomf/gists{/gist_id}","starred_url":"https://api.github.com/users/randomf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/randomf/subscriptions","organizations_url":"https://api.github.com/users/randomf/orgs","repos_url":"https://api.github.com/users/randomf/repos","events_url":"https://api.github.com/users/randomf/events{/privacy}","received_events_url":"https://api.github.com/users/randomf/received_events","type":"User","site_admin":false},"body":"Added support for IF NOT EXISTS behaviour when inserting data and specifying ifNotExists = true in WriteConf.","created_at":"2016-04-13T15:14:12Z","updated_at":"2016-04-13T20:24:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"18e5f768094a9078a7b20a15f0fc48b886254e45","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/967/commits","review_comments_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/967/comments","review_comment_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/comments{/number}","comments_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/issues/967/comments","statuses_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/statuses/43496d95db2f2b9406264817e6f803a0d0ca68bf","head":{"label":"Mnya:master","ref":"master","sha":"43496d95db2f2b9406264817e6f803a0d0ca68bf","user":{"login":"Mnya","id":18441713,"avatar_url":"https://avatars.githubusercontent.com/u/18441713?v=3","gravatar_id":"","url":"https://api.github.com/users/Mnya","html_url":"https://github.com/Mnya","followers_url":"https://api.github.com/users/Mnya/followers","following_url":"https://api.github.com/users/Mnya/following{/other_user}","gists_url":"https://api.github.com/users/Mnya/gists{/gist_id}","starred_url":"https://api.github.com/users/Mnya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mnya/subscriptions","organizations_url":"https://api.github.com/users/Mnya/orgs","repos_url":"https://api.github.com/users/Mnya/repos","events_url":"https://api.github.com/users/Mnya/events{/privacy}","received_events_url":"https://api.github.com/users/Mnya/received_events","type":"Organization","site_admin":false},"repo":{"id":56149109,"name":"spark-cassandra-connector","full_name":"Mnya/spark-cassandra-connector","owner":{"login":"Mnya","id":18441713,"avatar_url":"https://avatars.githubusercontent.com/u/18441713?v=3","gravatar_id":"","url":"https://api.github.com/users/Mnya","html_url":"https://github.com/Mnya","followers_url":"https://api.github.com/users/Mnya/followers","following_url":"https://api.github.com/users/Mnya/following{/other_user}","gists_url":"https://api.github.com/users/Mnya/gists{/gist_id}","starred_url":"https://api.github.com/users/Mnya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mnya/subscriptions","organizations_url":"https://api.github.com/users/Mnya/orgs","repos_url":"https://api.github.com/users/Mnya/repos","events_url":"https://api.github.com/users/Mnya/events{/privacy}","received_events_url":"https://api.github.com/users/Mnya/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Mnya/spark-cassandra-connector","description":"DataStax Spark Cassandra Connector","fork":true,"url":"https://api.github.com/repos/Mnya/spark-cassandra-connector","forks_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/forks","keys_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/teams","hooks_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/hooks","issue_events_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/issues/events{/number}","events_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/events","assignees_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/assignees{/user}","branches_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/branches{/branch}","tags_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/tags","blobs_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/statuses/{sha}","languages_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/languages","stargazers_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/stargazers","contributors_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/contributors","subscribers_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/subscribers","subscription_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/subscription","commits_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/contents/{+path}","compare_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/merges","archive_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/downloads","issues_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/issues{/number}","pulls_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/pulls{/number}","milestones_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/milestones{/number}","notifications_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/labels{/name}","releases_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/releases{/id}","deployments_url":"https://api.github.com/repos/Mnya/spark-cassandra-connector/deployments","created_at":"2016-04-13T12:17:18Z","updated_at":"2016-04-13T12:17:22Z","pushed_at":"2016-04-13T15:12:11Z","git_url":"git://github.com/Mnya/spark-cassandra-connector.git","ssh_url":"git@github.com:Mnya/spark-cassandra-connector.git","clone_url":"https://github.com/Mnya/spark-cassandra-connector.git","svn_url":"https://github.com/Mnya/spark-cassandra-connector","homepage":"","size":6521,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"datastax:master","ref":"master","sha":"e80c9c4bdcaeb90d367a7c92f6311d65d922aeda","user":{"login":"datastax","id":573369,"avatar_url":"https://avatars.githubusercontent.com/u/573369?v=3","gravatar_id":"","url":"https://api.github.com/users/datastax","html_url":"https://github.com/datastax","followers_url":"https://api.github.com/users/datastax/followers","following_url":"https://api.github.com/users/datastax/following{/other_user}","gists_url":"https://api.github.com/users/datastax/gists{/gist_id}","starred_url":"https://api.github.com/users/datastax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datastax/subscriptions","organizations_url":"https://api.github.com/users/datastax/orgs","repos_url":"https://api.github.com/users/datastax/repos","events_url":"https://api.github.com/users/datastax/events{/privacy}","received_events_url":"https://api.github.com/users/datastax/received_events","type":"Organization","site_admin":false},"repo":{"id":21280887,"name":"spark-cassandra-connector","full_name":"datastax/spark-cassandra-connector","owner":{"login":"datastax","id":573369,"avatar_url":"https://avatars.githubusercontent.com/u/573369?v=3","gravatar_id":"","url":"https://api.github.com/users/datastax","html_url":"https://github.com/datastax","followers_url":"https://api.github.com/users/datastax/followers","following_url":"https://api.github.com/users/datastax/following{/other_user}","gists_url":"https://api.github.com/users/datastax/gists{/gist_id}","starred_url":"https://api.github.com/users/datastax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datastax/subscriptions","organizations_url":"https://api.github.com/users/datastax/orgs","repos_url":"https://api.github.com/users/datastax/repos","events_url":"https://api.github.com/users/datastax/events{/privacy}","received_events_url":"https://api.github.com/users/datastax/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datastax/spark-cassandra-connector","description":"DataStax Spark Cassandra Connector","fork":false,"url":"https://api.github.com/repos/datastax/spark-cassandra-connector","forks_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/forks","keys_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/teams","hooks_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/hooks","issue_events_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/issues/events{/number}","events_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/events","assignees_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/assignees{/user}","branches_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/branches{/branch}","tags_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/tags","blobs_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/git/refs{/sha}","trees_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/statuses/{sha}","languages_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/languages","stargazers_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/stargazers","contributors_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/contributors","subscribers_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/subscribers","subscription_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/subscription","commits_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/commits{/sha}","git_commits_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/git/commits{/sha}","comments_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/comments{/number}","issue_comment_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/issues/comments{/number}","contents_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/contents/{+path}","compare_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/merges","archive_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/downloads","issues_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/issues{/number}","pulls_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls{/number}","milestones_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/milestones{/number}","notifications_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/labels{/name}","releases_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/releases{/id}","deployments_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/deployments","created_at":"2014-06-27T15:45:54Z","updated_at":"2016-04-13T13:24:44Z","pushed_at":"2016-04-13T15:14:12Z","git_url":"git://github.com/datastax/spark-cassandra-connector.git","ssh_url":"git@github.com:datastax/spark-cassandra-connector.git","clone_url":"https://github.com/datastax/spark-cassandra-connector.git","svn_url":"https://github.com/datastax/spark-cassandra-connector","homepage":"","size":10319,"stargazers_count":879,"watchers_count":879,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":355,"mirror_url":null,"open_issues_count":29,"forks":355,"open_issues":29,"watchers":879,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/967"},"html":{"href":"https://github.com/datastax/spark-cassandra-connector/pull/967"},"issue":{"href":"https://api.github.com/repos/datastax/spark-cassandra-connector/issues/967"},"comments":{"href":"https://api.github.com/repos/datastax/spark-cassandra-connector/issues/967/comments"},"review_comments":{"href":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/967/comments"},"review_comment":{"href":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/967/commits"},"statuses":{"href":"https://api.github.com/repos/datastax/spark-cassandra-connector/statuses/43496d95db2f2b9406264817e6f803a0d0ca68bf"}}}}