Is there any example for the struct type definition?

Thanks!

On Tue, Aug 23, 2016 at 4:55 PM, amareshwarisr . <[email protected]>
wrote:

> Tao,
>
> You can try defining them as struct type - similar to hive. But not sure
> if there are any gaps.
>
> Thanks
>
> On Wed, Aug 24, 2016 at 5:22 AM, Tao Yan <[email protected]> wrote:
>
>> Hi Lens Developer,
>>
>> I am trying to define a table with nested columns in Lens, and didn't
>> find the corresponding xml attributes or properties for that. So, I wonder
>> if it is possible to do that. For example:
>>
>> test-cube.xml:
>>
>> ...
>> <dim_attribute name="region" _type="STRING" />
>>
>>
>>
>>
>>
>>
>>
>> *<dim_attribute name="EventHeader" _type="record" >    <fields>
>> <field name="memberId" _type="int"/>        <field name="viewerUrn"
>> _type="int"/>        <field name="time" _type="int"/>        ...
>> </fields></dim_attribute>*
>> <dim_attribute name="product_name" _type="STRING" />
>> ...
>>
>>
>> Thanks,
>> --
>>
>> *Tao Yan*
>> Software Engineer
>> Data Analytics Infrastructure Tools and Services
>>
>>
>>
>> 206.250.5345
>> [email protected]
>> https://www.linkedin.com/in/taousc
>>
>
>


-- 

*Tao Yan*
Software Engineer
Data Analytics Infrastructure Tools and Services



206.250.5345
[email protected]
https://www.linkedin.com/in/taousc

Reply via email to