[
https://issues.apache.org/jira/browse/KYLIN-3145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shaofeng SHI resolved KYLIN-3145.
---------------------------------
Resolution: Fixed
Assignee: Shaofeng SHI
Checkin to master and 2.3.x branch; commits:
5075f590d843e808186f9d859e0c09ab1877fb0b
01bd0d41475962e4f63e09c17c0bb1cd319384db
> 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
> Assignee: Shaofeng SHI
> Priority: Major
> Fix For: v2.3.0
>
>
> 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
(v7.6.3#76005)