Shaofeng SHI created KYLIN-3145:
-----------------------------------

             Summary: Support Kafka JSON message whose property name includes 
"_"
                 Key: KYLIN-3145
                 URL: https://issues.apache.org/jira/browse/KYLIN-3145
             Project: Kylin
          Issue Type: Improvement
          Components: Streaming
            Reporter: Shaofeng SHI


So far Kylin doesn't support JSON message which has property name with "_", 
because that would be conflict with Kylin's logic.

For example, the JSON message is :

{code}
{ 
 "user" : {
  "first_name" : "Tom",
  "age" : "20"
  }

}
{code}

When map this topic to a table, the "first_name" is mapped to 
"user_first_name"; When Kylin parse the message, it separates by "_" and then 
try to find "user" -> "first" -> "name"; as there is no "first" property, an 
error is reported.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to