{"action":"created","issue":{"url":"https://api.github.com/repos/queryverse/TableTraitsUtils.jl/issues/8","repository_url":"https://api.github.com/repos/queryverse/TableTraitsUtils.jl","labels_url":"https://api.github.com/repos/queryverse/TableTraitsUtils.jl/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/queryverse/TableTraitsUtils.jl/issues/8/comments","events_url":"https://api.github.com/repos/queryverse/TableTraitsUtils.jl/issues/8/events","html_url":"https://github.com/queryverse/TableTraitsUtils.jl/issues/8","id":349581894,"node_id":"MDU6SXNzdWUzNDk1ODE4OTQ=","number":8,"title":"Regression in 0.7 with handling missing values","user":{"login":"GlenHertz","id":1714451,"node_id":"MDQ6VXNlcjE3MTQ0NTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1714451?v=4","gravatar_id":"","url":"https://api.github.com/users/GlenHertz","html_url":"https://github.com/GlenHertz","followers_url":"https://api.github.com/users/GlenHertz/followers","following_url":"https://api.github.com/users/GlenHertz/following{/other_user}","gists_url":"https://api.github.com/users/GlenHertz/gists{/gist_id}","starred_url":"https://api.github.com/users/GlenHertz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GlenHertz/subscriptions","organizations_url":"https://api.github.com/users/GlenHertz/orgs","repos_url":"https://api.github.com/users/GlenHertz/repos","events_url":"https://api.github.com/users/GlenHertz/events{/privacy}","received_events_url":"https://api.github.com/users/GlenHertz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-10T16:34:39Z","updated_at":"2018-08-10T16:42:46Z","closed_at":null,"author_association":"NONE","body":"If I have a csv file like so:\r\n```\r\ncol1,col2\r\nfoo,\r\n```\r\nAnd then do:\r\n```\r\nusing DataFrames, CSVFiles\r\ncsv = load(\"error.csv\")\r\ndf = DataFrame(csv)\r\n```\r\n\r\nThen I get the following stack trace:\r\n\r\n```\r\nERROR: LoadError: MethodError: Cannot `convert` an object of type DataValues.DataValue{Union{}} to an object of type Missing\r\nClosest candidates are:\r\n  convert(::Type{Missing}, ::Any) at missing.jl:50\r\n  convert(::Type{Union{Missing, T}}, ::DataValues.DataValue{Union{}}) where T at /home/hertz/.julia/packages/DataValues/dOAy1/src/scalar/core.jl:38\r\n  convert(::Type{Union{Missing, T}}, ::DataValues.DataValue{T}) where T at /home/hertz/.julia/packages/DataValues/dOAy1/src/scalar/core.jl:37\r\n  ...\r\nStacktrace:\r\n [1] convert(::Type{Missing}, ::DataValues.DataValue{Union{}}) at ./missing.jl:50\r\n [2] setindex!(::Array{Missing,1}, ::DataValues.DataValue{Union{}}, ::Int64) at ./array.jl:769\r\n [3] _fill_cols_with_length(::Tuple{Array{String,1},Array{Missing,1}}, ::TableTraitsUtils.TableIterator{NamedTuple{(:col1, :col2),Tuple{String,DataValues.DataValue{Union{}}}},Tuple{WeakRefStrings.StringArray{String,1},Array{Missing,1}}}) at /home/hertz/.julia/packages/TableTraitsUtils/GTAd/src/TableTraitsUtils.jl:74\r\n [4] #create_columns_from_iterabletable#6(::Symbol, ::Symbol, ::Function, ::CSVFiles.CSVFile) at /home/hertz/.julia/packages/TableTraitsUtils/GTAd/src/TableTraitsUtils.jl:114\r\n [5] #create_columns_from_iterabletable at ./none:0 [inlined]\r\n [6] _DataFrame(::CSVFiles.CSVFile) at /home/hertz/.julia/packages/IterableTables/T74aY/src/integrations/dataframes.jl:13\r\n [7] DataFrame(::CSVFiles.CSVFile) at /home/hertz/.julia/packages/IterableTables/T74aY/src/integrations/dataframes.jl:22\r\n [8] top-level scope at none:0\r\n [9] include at ./boot.jl:317 [inlined]\r\n [10] include_relative(::Module, ::String) at ./loading.jl:1038\r\n [11] include(::Module, ::String) at ./sysimg.jl:29\r\n [12] include(::String) at ./client.jl:398\r\n [13] top-level scope at none:0\r\nin expression starting at mwe.jl:3\r\n```\r\n\r\nThis used to work in 0.6.   My environment is up to date:\r\n\r\n```\r\n  [5d742f6a] CSVFiles v0.9.0\r\n  [a93c6f00] DataFrames v0.13.0\r\n  [5789e2e9] FileIO v1.0.1\r\n  [59287772] Formatting v0.3.2\r\n  [739be429] MbedTLS v0.6.0\r\n  [5fb14364] OhMyREPL v0.3.0\r\n  [295af30f] Revise v0.6.4\r\n```\r\n\r\nGlen\r\n"},"comment":{"url":"https://api.github.com/repos/queryverse/TableTraitsUtils.jl/issues/comments/412139078","html_url":"https://github.com/queryverse/TableTraitsUtils.jl/issues/8#issuecomment-412139078","issue_url":"https://api.github.com/repos/queryverse/TableTraitsUtils.jl/issues/8","id":412139078,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjEzOTA3OA==","user":{"login":"GlenHertz","id":1714451,"node_id":"MDQ6VXNlcjE3MTQ0NTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1714451?v=4","gravatar_id":"","url":"https://api.github.com/users/GlenHertz","html_url":"https://github.com/GlenHertz","followers_url":"https://api.github.com/users/GlenHertz/followers","following_url":"https://api.github.com/users/GlenHertz/following{/other_user}","gists_url":"https://api.github.com/users/GlenHertz/gists{/gist_id}","starred_url":"https://api.github.com/users/GlenHertz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GlenHertz/subscriptions","organizations_url":"https://api.github.com/users/GlenHertz/orgs","repos_url":"https://api.github.com/users/GlenHertz/repos","events_url":"https://api.github.com/users/GlenHertz/events{/privacy}","received_events_url":"https://api.github.com/users/GlenHertz/received_events","type":"User","site_admin":false},"created_at":"2018-08-10T16:42:46Z","updated_at":"2018-08-10T16:42:46Z","author_association":"NONE","body":"I believe the failing scenario is when all values of a column are missing."}}
{"actor":{"display_login":"GlenHertz"}}