Angad Singh created LENS-443:
--------------------------------

             Summary: complex data types not supported for dim_attributes type
                 Key: LENS-443
                 URL: https://issues.apache.org/jira/browse/LENS-443
             Project: Apache Lens
          Issue Type: Bug
          Components: server
            Reporter: Angad Singh


Lens supports all hive data types.

That includes ARRAY<STRING,LONG,etc> or MAP, etc.

Unfortunately these types cannot be specified in XML. XML doesn't allow < and > 
characters in string values

So instead of this:
{noformat}
                <dim_attribute name="interests" type="ARRAY<STRING>" />
{noformat}

one has to write it as this:
{noformat}
                <dim_attribute name="interests" type="ARRAY&lt;STRING&gt;" />
{noformat}

This is counter intuitive and an alternative way should be figured out



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to