Shaofeng SHI commented on KYLIN-1919:

By default use "_" as the separator of the structed JSON properties; For 
example, the message looks like:

  "id" : 12334,
  "location" : {
      "city": "shanghai",
      "country" : "china"

in defining it as a table, the table will be like: id, location_city, 

If there is a root property called "location_city" in the JSON message, then 
will use it directly; otherwise, will seek "location" and then parse "city".

> Support Embedded Structure when Parsing Streaming Message
> ---------------------------------------------------------
>                 Key: KYLIN-1919
>                 URL: https://issues.apache.org/jira/browse/KYLIN-1919
>             Project: Kylin
>          Issue Type: New Feature
>          Components: streaming
>    Affects Versions: v1.5.2
>            Reporter: Billy(Yiming) Liu
>            Assignee: Shaofeng SHI
>             Fix For: v1.6.0
> According to the doc: 
> http://kylin.apache.org/docs15/tutorial/cube_streaming.html, the Kafka 
> incoming message should be in flatten structure. But it's too limit for JSON 
> message. The request feature would support embedded structure raw messages, 
> and convert them into flatten table structure for further cube building and 
> SQL query.

This message was sent by Atlassian JIRA

Reply via email to