{"action":"closed","issue":{"url":"https://api.github.com/repos/apache/incubator-druid/issues/5433","repository_url":"https://api.github.com/repos/apache/incubator-druid","labels_url":"https://api.github.com/repos/apache/incubator-druid/issues/5433/labels{/name}","comments_url":"https://api.github.com/repos/apache/incubator-druid/issues/5433/comments","events_url":"https://api.github.com/repos/apache/incubator-druid/issues/5433/events","html_url":"https://github.com/apache/incubator-druid/issues/5433","id":300626253,"node_id":"MDU6SXNzdWUzMDA2MjYyNTM=","number":5433,"title":"Data changes during ingestion of Array<String> using druid-parquet-extensions","user":{"login":"adityab27","id":7951591,"node_id":"MDQ6VXNlcjc5NTE1OTE=","avatar_url":"https://avatars0.githubusercontent.com/u/7951591?v=4","gravatar_id":"","url":"https://api.github.com/users/adityab27","html_url":"https://github.com/adityab27","followers_url":"https://api.github.com/users/adityab27/followers","following_url":"https://api.github.com/users/adityab27/following{/other_user}","gists_url":"https://api.github.com/users/adityab27/gists{/gist_id}","starred_url":"https://api.github.com/users/adityab27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adityab27/subscriptions","organizations_url":"https://api.github.com/users/adityab27/orgs","repos_url":"https://api.github.com/users/adityab27/repos","events_url":"https://api.github.com/users/adityab27/events{/privacy}","received_events_url":"https://api.github.com/users/adityab27/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-27T13:20:28Z","updated_at":"2018-11-06T05:33:43Z","closed_at":"2018-11-06T05:33:43Z","author_association":"NONE","body":"I am using **druid-0.11.0**, with **druid-avro-extension:0.11.0** and **druid-parquet-extension:0.10.0** and **druid-hdfs-storage:0.11.0**.\r\n\r\nMy data contained a column which was of type `Array<String>`. If data for this column contained value `[\"str1\", \"str2\", \"str3\"]` then after ingestion the same becomes` [\"{\\\"element\\\": \\\"str1\\\"}\", \"{\\\"element\\\": \\\"str2\\\"}\", \"{\\\"element\\\": \\\"str3\\\"}\"]`.\r\n\r\nThe actual data for the same is stored in hdfs in parquet with snappy compression, and the parser for the same is used during ingestion. This issue persisted even after I changed the compression to gzip.\r\n\r\nWhen the compression was removed in hdfs the data for the column post ingestion became ` [\"{\\\"array_element\\\": \\\"str1\\\"}\", \"{\\\"array_element\\\": \\\"str2\\\"}\", \"{\\\"array_element\\\": \\\"str3\\\"}\"]`.\r\n\r\nThe same data was earlier being properly ingested into druid when the data was in avro format with gzip compression with druid's avro parser.\r\n\r\nI am attaching the ingestionSpec alongside.\r\n[druid_ingestion_schema.txt](https://github.com/druid-io/druid/files/1763022/druid_ingestion_schema.txt)\r\n\r\n\r\n"}}
{"actor":{"display_login":"jon-wei"}}