{"action":"opened","number":198,"pull_request":{"url":"https://api.github.com/repos/databricks/spark-csv/pulls/198","id":52426003,"html_url":"https://github.com/databricks/spark-csv/pull/198","diff_url":"https://github.com/databricks/spark-csv/pull/198.diff","patch_url":"https://github.com/databricks/spark-csv/pull/198.patch","issue_url":"https://api.github.com/repos/databricks/spark-csv/issues/198","number":198,"state":"open","locked":false,"title":"Exposed parameter for univosity maximum number of characters per column.","user":{"login":"adamosloizou","id":2656891,"avatar_url":"https://avatars.githubusercontent.com/u/2656891?v=3","gravatar_id":"","url":"https://api.github.com/users/adamosloizou","html_url":"https://github.com/adamosloizou","followers_url":"https://api.github.com/users/adamosloizou/followers","following_url":"https://api.github.com/users/adamosloizou/following{/other_user}","gists_url":"https://api.github.com/users/adamosloizou/gists{/gist_id}","starred_url":"https://api.github.com/users/adamosloizou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamosloizou/subscriptions","organizations_url":"https://api.github.com/users/adamosloizou/orgs","repos_url":"https://api.github.com/users/adamosloizou/repos","events_url":"https://api.github.com/users/adamosloizou/events{/privacy}","received_events_url":"https://api.github.com/users/adamosloizou/received_events","type":"User","site_admin":false},"body":"#### Description\r\nWhile using the `spark-csv` library with the Univosity parser, we ran into problems when parsing lines with really long columns.\r\nThis was due to a predefined limit on the column length that is required by Univosity.\r\n\r\nThis PR extracts that configuration at the `spark-csv` top level so that it can be changed.\r\n\r\n* Added configuration parameter `maxCharsPerColumn` with the same default value of `100000` as it was before.\r\n* Added unit test to cover for the case\r\n* The parameter only applies for the univosity parser and is ignored for the commons parser. This was explained in the README file as well.","created_at":"2015-12-02T17:18:27Z","updated_at":"2015-12-02T17:18:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/databricks/spark-csv/pulls/198/commits","review_comments_url":"https://api.github.com/repos/databricks/spark-csv/pulls/198/comments","review_comment_url":"https://api.github.com/repos/databricks/spark-csv/pulls/comments{/number}","comments_url":"https://api.github.com/repos/databricks/spark-csv/issues/198/comments","statuses_url":"https://api.github.com/repos/databricks/spark-csv/statuses/eb5c42539657ae8fe056410226630bf44a821b4d","head":{"label":"adamosloizou:parameterize-column-size-pr","ref":"parameterize-column-size-pr","sha":"eb5c42539657ae8fe056410226630bf44a821b4d","user":{"login":"adamosloizou","id":2656891,"avatar_url":"https://avatars.githubusercontent.com/u/2656891?v=3","gravatar_id":"","url":"https://api.github.com/users/adamosloizou","html_url":"https://github.com/adamosloizou","followers_url":"https://api.github.com/users/adamosloizou/followers","following_url":"https://api.github.com/users/adamosloizou/following{/other_user}","gists_url":"https://api.github.com/users/adamosloizou/gists{/gist_id}","starred_url":"https://api.github.com/users/adamosloizou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamosloizou/subscriptions","organizations_url":"https://api.github.com/users/adamosloizou/orgs","repos_url":"https://api.github.com/users/adamosloizou/repos","events_url":"https://api.github.com/users/adamosloizou/events{/privacy}","received_events_url":"https://api.github.com/users/adamosloizou/received_events","type":"User","site_admin":false},"repo":{"id":47275875,"name":"spark-csv","full_name":"adamosloizou/spark-csv","owner":{"login":"adamosloizou","id":2656891,"avatar_url":"https://avatars.githubusercontent.com/u/2656891?v=3","gravatar_id":"","url":"https://api.github.com/users/adamosloizou","html_url":"https://github.com/adamosloizou","followers_url":"https://api.github.com/users/adamosloizou/followers","following_url":"https://api.github.com/users/adamosloizou/following{/other_user}","gists_url":"https://api.github.com/users/adamosloizou/gists{/gist_id}","starred_url":"https://api.github.com/users/adamosloizou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamosloizou/subscriptions","organizations_url":"https://api.github.com/users/adamosloizou/orgs","repos_url":"https://api.github.com/users/adamosloizou/repos","events_url":"https://api.github.com/users/adamosloizou/events{/privacy}","received_events_url":"https://api.github.com/users/adamosloizou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adamosloizou/spark-csv","description":"CSV data source for Spark SQL and DataFrames","fork":true,"url":"https://api.github.com/repos/adamosloizou/spark-csv","forks_url":"https://api.github.com/repos/adamosloizou/spark-csv/forks","keys_url":"https://api.github.com/repos/adamosloizou/spark-csv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adamosloizou/spark-csv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adamosloizou/spark-csv/teams","hooks_url":"https://api.github.com/repos/adamosloizou/spark-csv/hooks","issue_events_url":"https://api.github.com/repos/adamosloizou/spark-csv/issues/events{/number}","events_url":"https://api.github.com/repos/adamosloizou/spark-csv/events","assignees_url":"https://api.github.com/repos/adamosloizou/spark-csv/assignees{/user}","branches_url":"https://api.github.com/repos/adamosloizou/spark-csv/branches{/branch}","tags_url":"https://api.github.com/repos/adamosloizou/spark-csv/tags","blobs_url":"https://api.github.com/repos/adamosloizou/spark-csv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adamosloizou/spark-csv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adamosloizou/spark-csv/git/refs{/sha}","trees_url":"https://api.github.com/repos/adamosloizou/spark-csv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adamosloizou/spark-csv/statuses/{sha}","languages_url":"https://api.github.com/repos/adamosloizou/spark-csv/languages","stargazers_url":"https://api.github.com/repos/adamosloizou/spark-csv/stargazers","contributors_url":"https://api.github.com/repos/adamosloizou/spark-csv/contributors","subscribers_url":"https://api.github.com/repos/adamosloizou/spark-csv/subscribers","subscription_url":"https://api.github.com/repos/adamosloizou/spark-csv/subscription","commits_url":"https://api.github.com/repos/adamosloizou/spark-csv/commits{/sha}","git_commits_url":"https://api.github.com/repos/adamosloizou/spark-csv/git/commits{/sha}","comments_url":"https://api.github.com/repos/adamosloizou/spark-csv/comments{/number}","issue_comment_url":"https://api.github.com/repos/adamosloizou/spark-csv/issues/comments{/number}","contents_url":"https://api.github.com/repos/adamosloizou/spark-csv/contents/{+path}","compare_url":"https://api.github.com/repos/adamosloizou/spark-csv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adamosloizou/spark-csv/merges","archive_url":"https://api.github.com/repos/adamosloizou/spark-csv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adamosloizou/spark-csv/downloads","issues_url":"https://api.github.com/repos/adamosloizou/spark-csv/issues{/number}","pulls_url":"https://api.github.com/repos/adamosloizou/spark-csv/pulls{/number}","milestones_url":"https://api.github.com/repos/adamosloizou/spark-csv/milestones{/number}","notifications_url":"https://api.github.com/repos/adamosloizou/spark-csv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adamosloizou/spark-csv/labels{/name}","releases_url":"https://api.github.com/repos/adamosloizou/spark-csv/releases{/id}","created_at":"2015-12-02T17:09:39Z","updated_at":"2015-12-02T17:09:40Z","pushed_at":"2015-12-02T17:15:00Z","git_url":"git://github.com/adamosloizou/spark-csv.git","ssh_url":"git@github.com:adamosloizou/spark-csv.git","clone_url":"https://github.com/adamosloizou/spark-csv.git","svn_url":"https://github.com/adamosloizou/spark-csv","homepage":"http://databricks.com/","size":356,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"databricks:master","ref":"master","sha":"84858ce5e78c024aa1682dcac82618e24a616f5e","user":{"login":"databricks","id":4998052,"avatar_url":"https://avatars.githubusercontent.com/u/4998052?v=3","gravatar_id":"","url":"https://api.github.com/users/databricks","html_url":"https://github.com/databricks","followers_url":"https://api.github.com/users/databricks/followers","following_url":"https://api.github.com/users/databricks/following{/other_user}","gists_url":"https://api.github.com/users/databricks/gists{/gist_id}","starred_url":"https://api.github.com/users/databricks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/databricks/subscriptions","organizations_url":"https://api.github.com/users/databricks/orgs","repos_url":"https://api.github.com/users/databricks/repos","events_url":"https://api.github.com/users/databricks/events{/privacy}","received_events_url":"https://api.github.com/users/databricks/received_events","type":"Organization","site_admin":false},"repo":{"id":27461793,"name":"spark-csv","full_name":"databricks/spark-csv","owner":{"login":"databricks","id":4998052,"avatar_url":"https://avatars.githubusercontent.com/u/4998052?v=3","gravatar_id":"","url":"https://api.github.com/users/databricks","html_url":"https://github.com/databricks","followers_url":"https://api.github.com/users/databricks/followers","following_url":"https://api.github.com/users/databricks/following{/other_user}","gists_url":"https://api.github.com/users/databricks/gists{/gist_id}","starred_url":"https://api.github.com/users/databricks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/databricks/subscriptions","organizations_url":"https://api.github.com/users/databricks/orgs","repos_url":"https://api.github.com/users/databricks/repos","events_url":"https://api.github.com/users/databricks/events{/privacy}","received_events_url":"https://api.github.com/users/databricks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/databricks/spark-csv","description":"CSV data source for Spark SQL and DataFrames","fork":false,"url":"https://api.github.com/repos/databricks/spark-csv","forks_url":"https://api.github.com/repos/databricks/spark-csv/forks","keys_url":"https://api.github.com/repos/databricks/spark-csv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/databricks/spark-csv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/databricks/spark-csv/teams","hooks_url":"https://api.github.com/repos/databricks/spark-csv/hooks","issue_events_url":"https://api.github.com/repos/databricks/spark-csv/issues/events{/number}","events_url":"https://api.github.com/repos/databricks/spark-csv/events","assignees_url":"https://api.github.com/repos/databricks/spark-csv/assignees{/user}","branches_url":"https://api.github.com/repos/databricks/spark-csv/branches{/branch}","tags_url":"https://api.github.com/repos/databricks/spark-csv/tags","blobs_url":"https://api.github.com/repos/databricks/spark-csv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/databricks/spark-csv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/databricks/spark-csv/git/refs{/sha}","trees_url":"https://api.github.com/repos/databricks/spark-csv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/databricks/spark-csv/statuses/{sha}","languages_url":"https://api.github.com/repos/databricks/spark-csv/languages","stargazers_url":"https://api.github.com/repos/databricks/spark-csv/stargazers","contributors_url":"https://api.github.com/repos/databricks/spark-csv/contributors","subscribers_url":"https://api.github.com/repos/databricks/spark-csv/subscribers","subscription_url":"https://api.github.com/repos/databricks/spark-csv/subscription","commits_url":"https://api.github.com/repos/databricks/spark-csv/commits{/sha}","git_commits_url":"https://api.github.com/repos/databricks/spark-csv/git/commits{/sha}","comments_url":"https://api.github.com/repos/databricks/spark-csv/comments{/number}","issue_comment_url":"https://api.github.com/repos/databricks/spark-csv/issues/comments{/number}","contents_url":"https://api.github.com/repos/databricks/spark-csv/contents/{+path}","compare_url":"https://api.github.com/repos/databricks/spark-csv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/databricks/spark-csv/merges","archive_url":"https://api.github.com/repos/databricks/spark-csv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/databricks/spark-csv/downloads","issues_url":"https://api.github.com/repos/databricks/spark-csv/issues{/number}","pulls_url":"https://api.github.com/repos/databricks/spark-csv/pulls{/number}","milestones_url":"https://api.github.com/repos/databricks/spark-csv/milestones{/number}","notifications_url":"https://api.github.com/repos/databricks/spark-csv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/databricks/spark-csv/labels{/name}","releases_url":"https://api.github.com/repos/databricks/spark-csv/releases{/id}","created_at":"2014-12-03T00:56:21Z","updated_at":"2015-12-01T22:59:28Z","pushed_at":"2015-11-20T19:56:55Z","git_url":"git://github.com/databricks/spark-csv.git","ssh_url":"git@github.com:databricks/spark-csv.git","clone_url":"https://github.com/databricks/spark-csv.git","svn_url":"https://github.com/databricks/spark-csv","homepage":"http://databricks.com/","size":521,"stargazers_count":271,"watchers_count":271,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":118,"mirror_url":null,"open_issues_count":55,"forks":118,"open_issues":55,"watchers":271,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/databricks/spark-csv/pulls/198"},"html":{"href":"https://github.com/databricks/spark-csv/pull/198"},"issue":{"href":"https://api.github.com/repos/databricks/spark-csv/issues/198"},"comments":{"href":"https://api.github.com/repos/databricks/spark-csv/issues/198/comments"},"review_comments":{"href":"https://api.github.com/repos/databricks/spark-csv/pulls/198/comments"},"review_comment":{"href":"https://api.github.com/repos/databricks/spark-csv/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/databricks/spark-csv/pulls/198/commits"},"statuses":{"href":"https://api.github.com/repos/databricks/spark-csv/statuses/eb5c42539657ae8fe056410226630bf44a821b4d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":61,"deletions":18,"changed_files":8}}