You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Angad Singh (JIRA)" <ji...@apache.org> on 2015/03/25 12:15:52 UTC

[jira] [Created] (LENS-443) complex data types not supported for dim_attributes type

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)