You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Jarek Jarcec Cecho (JIRA)" <ji...@apache.org> on 2014/11/21 01:28:33 UTC
[jira] [Commented] (SQOOP-1769) Fix Enum to no inherit from list
[ https://issues.apache.org/jira/browse/SQOOP-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14220298#comment-14220298 ]
Jarek Jarcec Cecho commented on SQOOP-1769:
-------------------------------------------
I've designed the {{Enum}} type as another example of nested type. E.g. I've intentionally allowed {{Enum}} to contain Arrays for example. Looking into examples in database engine ([PostgreSQL|http://www.postgresql.org/docs/9.4/static/datatype-enum.html], [Oracle|https://docs.oracle.com/cd/E17952_01/refman-5.6-en/enum.html], [MySQL|http://dev.mysql.com/doc/refman/5.0/en/enum.html]), the enum is always based on String and hence I'm don't might the suggested changed.
> Fix Enum to no inherit from list
> --------------------------------
>
> Key: SQOOP-1769
> URL: https://issues.apache.org/jira/browse/SQOOP-1769
> Project: Sqoop
> Issue Type: Sub-task
> Components: sqoop2-framework
> Reporter: Veena Basavaraj
> Assignee: Veena Basavaraj
> Fix For: 1.99.5
>
>
> Enum holds a set of options it supports, but anytime Enum will be just a single value.
> So it inherting from ListType and having a listType is wrong
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)