kylin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yiming Liu <liuyiming....@gmail.com>
Subject Re: Keep the column order when parsing the streaming message
Date Thu, 21 Jul 2016 00:48:13 GMT
Hi Shaofeng,

Sorry for the screenshot.

The first step when defining the Stream table, user will input an example
JSON record, and click ">>" to generate Table columns.

2016-07-21 8:35 GMT+08:00 ShaoFeng Shi <shaofengshi@apache.org>:

> Hi Yiming,
>
> the embeded screenshot couldn't show up, which step there?
>
> 2016-07-20 18:42 GMT+08:00 Yiming Liu <liuyiming.vip@gmail.com>:
>
> > sourceMeta.js  Line 590
> >
> > //var
> > columnList = _.sortBy(columnList, function (i) { return i.type; });
> >
> > I have no idea why the sort by type is needed. The sorted column style
> is not intuitive.
> >
> >
> > 2016-07-20 18:36 GMT+08:00 Yiming Liu <liuyiming.vip@gmail.com>:
> >
> >> As the attached snapshot, the parsed columns is in disorder. It seems
> the
> >> columns sorted by "Column Type". It's better if Kylin could keep the
> same
> >> column order with the origin message.
> >>
> >> [image: 内嵌图片 1]
> >> --
> >> With Warm regards
> >>
> >> Yiming Liu (刘一鸣)
> >>
> >
> >
> >
> > --
> > With Warm regards
> >
> > Yiming Liu (刘一鸣)
> >
>
>
>
> --
> Best regards,
>
> Shaofeng Shi
>



-- 
With Warm regards

Yiming Liu (刘一鸣)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message