{"action":"created","comment":{"url":"https://api.github.com/repos/datastax/python-driver/pulls/comments/54158528","id":54158528,"diff_hunk":"@@ -492,7 +494,10 @@ def column_family_name(cls, include_keyspace=True):\n     def _raw_column_family_name(cls):\n         if not cls._table_name:\n             if cls.__table_name__:\n-                cls._table_name = cls.__table_name__.lower()\n+                if cls.__table_name_case_sensitive__:\n+                    cls._table_name = cls.__table_name__\n+                else:\n+                    cls._table_name = cls.__table_name__.lower()\n             else:","path":"cassandra/cqlengine/models.py","position":18,"original_position":18,"commit_id":"90c83ba1be762775bfccfab1af42d180580346b9","original_commit_id":"90c83ba1be762775bfccfab1af42d180580346b9","user":{"login":"aholmberg","id":1443722,"avatar_url":"https://avatars.githubusercontent.com/u/1443722?v=3","gravatar_id":"","url":"https://api.github.com/users/aholmberg","html_url":"https://github.com/aholmberg","followers_url":"https://api.github.com/users/aholmberg/followers","following_url":"https://api.github.com/users/aholmberg/following{/other_user}","gists_url":"https://api.github.com/users/aholmberg/gists{/gist_id}","starred_url":"https://api.github.com/users/aholmberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aholmberg/subscriptions","organizations_url":"https://api.github.com/users/aholmberg/orgs","repos_url":"https://api.github.com/users/aholmberg/repos","events_url":"https://api.github.com/users/aholmberg/events{/privacy}","received_events_url":"https://api.github.com/users/aholmberg/received_events","type":"User","site_admin":false},"body":"Just brainstorming -- what would you think of trying to move away from transformed table names in the future?\r\nInstead of transforming names from camelcase to '\\_' delimited, we would always use the names directly. We could transition as follows:\r\n1.) now, introduce a model attribute \"transform table name\" (or whatever you want to call it), defaulted ``True`` to match current behavior.\r\n2.) Warn if transformed name != literal name. This will encourage people to change their model names to match the actual table name in the database\r\n3.) Next major rev, change default \"transform table name\" to ``False``, and remove transform logic -- tables will always be named exactly ``cls.__table_name__`` or ``cls.__name__``.\r\n\r\nlmkwyt","created_at":"2016-02-25T20:25:43Z","updated_at":"2016-02-25T20:25:43Z","html_url":"https://github.com/datastax/python-driver/pull/491#discussion_r54158528","pull_request_url":"https://api.github.com/repos/datastax/python-driver/pulls/491","_links":{"self":{"href":"https://api.github.com/repos/datastax/python-driver/pulls/comments/54158528"},"html":{"href":"https://github.com/datastax/python-driver/pull/491#discussion_r54158528"},"pull_request":{"href":"https://api.github.com/repos/datastax/python-driver/pulls/491"}}},"pull_request":{"url":"https://api.github.com/repos/datastax/python-driver/pulls/491","id":60594728,"html_url":"https://github.com/datastax/python-driver/pull/491","diff_url":"https://github.com/datastax/python-driver/pull/491.diff","patch_url":"https://github.com/datastax/python-driver/pull/491.patch","issue_url":"https://api.github.com/repos/datastax/python-driver/issues/491","number":491,"state":"open","locked":false,"title":"PYTHON-337: case sensitive support for column family name","user":{"login":"aboudreault","id":532356,"avatar_url":"https://avatars.githubusercontent.com/u/532356?v=3","gravatar_id":"","url":"https://api.github.com/users/aboudreault","html_url":"https://github.com/aboudreault","followers_url":"https://api.github.com/users/aboudreault/followers","following_url":"https://api.github.com/users/aboudreault/following{/other_user}","gists_url":"https://api.github.com/users/aboudreault/gists{/gist_id}","starred_url":"https://api.github.com/users/aboudreault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aboudreault/subscriptions","organizations_url":"https://api.github.com/users/aboudreault/orgs","repos_url":"https://api.github.com/users/aboudreault/repos","events_url":"https://api.github.com/users/aboudreault/events{/privacy}","received_events_url":"https://api.github.com/users/aboudreault/received_events","type":"User","site_admin":false},"body":"Only docs is missing","created_at":"2016-02-24T23:01:27Z","updated_at":"2016-02-25T20:25:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3353df9842c69d77fbd7b21cfa2f49eb3c7d6a7f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/datastax/python-driver/pulls/491/commits","review_comments_url":"https://api.github.com/repos/datastax/python-driver/pulls/491/comments","review_comment_url":"https://api.github.com/repos/datastax/python-driver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/datastax/python-driver/issues/491/comments","statuses_url":"https://api.github.com/repos/datastax/python-driver/statuses/90c83ba1be762775bfccfab1af42d180580346b9","head":{"label":"datastax:py337","ref":"py337","sha":"90c83ba1be762775bfccfab1af42d180580346b9","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":11262602,"name":"python-driver","full_name":"datastax/python-driver","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/python-driver","description":"DataStax Python Driver for Apache Cassandra","fork":false,"url":"https://api.github.com/repos/datastax/python-driver","forks_url":"https://api.github.com/repos/datastax/python-driver/forks","keys_url":"https://api.github.com/repos/datastax/python-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datastax/python-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datastax/python-driver/teams","hooks_url":"https://api.github.com/repos/datastax/python-driver/hooks","issue_events_url":"https://api.github.com/repos/datastax/python-driver/issues/events{/number}","events_url":"https://api.github.com/repos/datastax/python-driver/events","assignees_url":"https://api.github.com/repos/datastax/python-driver/assignees{/user}","branches_url":"https://api.github.com/repos/datastax/python-driver/branches{/branch}","tags_url":"https://api.github.com/repos/datastax/python-driver/tags","blobs_url":"https://api.github.com/repos/datastax/python-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datastax/python-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datastax/python-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/datastax/python-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datastax/python-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/datastax/python-driver/languages","stargazers_url":"https://api.github.com/repos/datastax/python-driver/stargazers","contributors_url":"https://api.github.com/repos/datastax/python-driver/contributors","subscribers_url":"https://api.github.com/repos/datastax/python-driver/subscribers","subscription_url":"https://api.github.com/repos/datastax/python-driver/subscription","commits_url":"https://api.github.com/repos/datastax/python-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/datastax/python-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/datastax/python-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/datastax/python-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/datastax/python-driver/contents/{+path}","compare_url":"https://api.github.com/repos/datastax/python-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datastax/python-driver/merges","archive_url":"https://api.github.com/repos/datastax/python-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datastax/python-driver/downloads","issues_url":"https://api.github.com/repos/datastax/python-driver/issues{/number}","pulls_url":"https://api.github.com/repos/datastax/python-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/datastax/python-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/datastax/python-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datastax/python-driver/labels{/name}","releases_url":"https://api.github.com/repos/datastax/python-driver/releases{/id}","deployments_url":"https://api.github.com/repos/datastax/python-driver/deployments","created_at":"2013-07-08T19:02:31Z","updated_at":"2016-02-25T13:29:52Z","pushed_at":"2016-02-25T18:28:09Z","git_url":"git://github.com/datastax/python-driver.git","ssh_url":"git@github.com:datastax/python-driver.git","clone_url":"https://github.com/datastax/python-driver.git","svn_url":"https://github.com/datastax/python-driver","homepage":"","size":14710,"stargazers_count":472,"watchers_count":472,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":223,"mirror_url":null,"open_issues_count":8,"forks":223,"open_issues":8,"watchers":472,"default_branch":"master"}},"base":{"label":"datastax:master","ref":"master","sha":"e9c55a1ad951f61a4d306eadc6235e3b220b598a","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":11262602,"name":"python-driver","full_name":"datastax/python-driver","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/python-driver","description":"DataStax Python Driver for Apache Cassandra","fork":false,"url":"https://api.github.com/repos/datastax/python-driver","forks_url":"https://api.github.com/repos/datastax/python-driver/forks","keys_url":"https://api.github.com/repos/datastax/python-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datastax/python-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datastax/python-driver/teams","hooks_url":"https://api.github.com/repos/datastax/python-driver/hooks","issue_events_url":"https://api.github.com/repos/datastax/python-driver/issues/events{/number}","events_url":"https://api.github.com/repos/datastax/python-driver/events","assignees_url":"https://api.github.com/repos/datastax/python-driver/assignees{/user}","branches_url":"https://api.github.com/repos/datastax/python-driver/branches{/branch}","tags_url":"https://api.github.com/repos/datastax/python-driver/tags","blobs_url":"https://api.github.com/repos/datastax/python-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datastax/python-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datastax/python-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/datastax/python-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datastax/python-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/datastax/python-driver/languages","stargazers_url":"https://api.github.com/repos/datastax/python-driver/stargazers","contributors_url":"https://api.github.com/repos/datastax/python-driver/contributors","subscribers_url":"https://api.github.com/repos/datastax/python-driver/subscribers","subscription_url":"https://api.github.com/repos/datastax/python-driver/subscription","commits_url":"https://api.github.com/repos/datastax/python-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/datastax/python-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/datastax/python-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/datastax/python-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/datastax/python-driver/contents/{+path}","compare_url":"https://api.github.com/repos/datastax/python-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datastax/python-driver/merges","archive_url":"https://api.github.com/repos/datastax/python-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datastax/python-driver/downloads","issues_url":"https://api.github.com/repos/datastax/python-driver/issues{/number}","pulls_url":"https://api.github.com/repos/datastax/python-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/datastax/python-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/datastax/python-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datastax/python-driver/labels{/name}","releases_url":"https://api.github.com/repos/datastax/python-driver/releases{/id}","deployments_url":"https://api.github.com/repos/datastax/python-driver/deployments","created_at":"2013-07-08T19:02:31Z","updated_at":"2016-02-25T13:29:52Z","pushed_at":"2016-02-25T18:28:09Z","git_url":"git://github.com/datastax/python-driver.git","ssh_url":"git@github.com:datastax/python-driver.git","clone_url":"https://github.com/datastax/python-driver.git","svn_url":"https://github.com/datastax/python-driver","homepage":"","size":14710,"stargazers_count":472,"watchers_count":472,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":223,"mirror_url":null,"open_issues_count":8,"forks":223,"open_issues":8,"watchers":472,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/datastax/python-driver/pulls/491"},"html":{"href":"https://github.com/datastax/python-driver/pull/491"},"issue":{"href":"https://api.github.com/repos/datastax/python-driver/issues/491"},"comments":{"href":"https://api.github.com/repos/datastax/python-driver/issues/491/comments"},"review_comments":{"href":"https://api.github.com/repos/datastax/python-driver/pulls/491/comments"},"review_comment":{"href":"https://api.github.com/repos/datastax/python-driver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/datastax/python-driver/pulls/491/commits"},"statuses":{"href":"https://api.github.com/repos/datastax/python-driver/statuses/90c83ba1be762775bfccfab1af42d180580346b9"}}}}