{"action":"created","issue":{"url":"https://api.github.com/repos/confluentinc/ksql/issues/1864","repository_url":"https://api.github.com/repos/confluentinc/ksql","labels_url":"https://api.github.com/repos/confluentinc/ksql/issues/1864/labels{/name}","comments_url":"https://api.github.com/repos/confluentinc/ksql/issues/1864/comments","events_url":"https://api.github.com/repos/confluentinc/ksql/issues/1864/events","html_url":"https://github.com/confluentinc/ksql/issues/1864","id":359051937,"node_id":"MDU6SXNzdWUzNTkwNTE5Mzc=","number":1864,"title":"KSQL returning NULL when trying to EXTRACTJSONFIELD from a nested object","user":{"login":"gsadhana","id":25536147,"node_id":"MDQ6VXNlcjI1NTM2MTQ3","avatar_url":"https://avatars1.githubusercontent.com/u/25536147?v=4","gravatar_id":"","url":"https://api.github.com/users/gsadhana","html_url":"https://github.com/gsadhana","followers_url":"https://api.github.com/users/gsadhana/followers","following_url":"https://api.github.com/users/gsadhana/following{/other_user}","gists_url":"https://api.github.com/users/gsadhana/gists{/gist_id}","starred_url":"https://api.github.com/users/gsadhana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsadhana/subscriptions","organizations_url":"https://api.github.com/users/gsadhana/orgs","repos_url":"https://api.github.com/users/gsadhana/repos","events_url":"https://api.github.com/users/gsadhana/events{/privacy}","received_events_url":"https://api.github.com/users/gsadhana/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-11T13:38:17Z","updated_at":"2018-10-02T09:38:42Z","closed_at":"2018-10-02T09:38:42Z","author_association":"NONE","body":"We are on version 5.0.0\r\n\r\nI'm trying to create a stream that includes partial data from a topic's record.\r\n\r\nRecords in topic look like this:\r\n\r\n```json\r\n{\r\n    \"Body\": {\r\n        \"Shipment\": {\r\n            \"ShipmentId\": \"key\",\r\n            \"ActivityDate\": \"2018-09-11T14:52:37\"\r\n        }\r\n    }\r\n}\r\n```\r\n\r\nI first created a stream from the topic:\r\n\r\n```sql\r\nCREATE STREAM events_original(body VARCHAR)\r\nWITH (KAFKA_TOPIC='shipment_events', VALUE_FORMAT='JSON');\r\n```\r\n\r\nThen, I tried to `SELECT` the shipment from the stream, but I keep getting null. Any ideas?\r\n\r\n```sql\r\nSELECT EXTRACTJSONFIELD(Body, '$.Shipment') AS shipment\r\nFROM events_original \r\nLIMIT 1;\r\n```"},"comment":{"url":"https://api.github.com/repos/confluentinc/ksql/issues/comments/426211864","html_url":"https://github.com/confluentinc/ksql/issues/1864#issuecomment-426211864","issue_url":"https://api.github.com/repos/confluentinc/ksql/issues/1864","id":426211864,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjIxMTg2NA==","user":{"login":"rmoff","id":3671582,"node_id":"MDQ6VXNlcjM2NzE1ODI=","avatar_url":"https://avatars0.githubusercontent.com/u/3671582?v=4","gravatar_id":"","url":"https://api.github.com/users/rmoff","html_url":"https://github.com/rmoff","followers_url":"https://api.github.com/users/rmoff/followers","following_url":"https://api.github.com/users/rmoff/following{/other_user}","gists_url":"https://api.github.com/users/rmoff/gists{/gist_id}","starred_url":"https://api.github.com/users/rmoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmoff/subscriptions","organizations_url":"https://api.github.com/users/rmoff/orgs","repos_url":"https://api.github.com/users/rmoff/repos","events_url":"https://api.github.com/users/rmoff/events{/privacy}","received_events_url":"https://api.github.com/users/rmoff/received_events","type":"User","site_admin":false},"created_at":"2018-10-02T09:38:42Z","updated_at":"2018-10-02T09:38:42Z","author_association":"CONTRIBUTOR","body":"Should be fixed by https://github.com/confluentinc/ksql/pull/1962"}}
{"actor":{"display_login":"rmoff"}}