[ 
https://issues.apache.org/jira/browse/SQOOP-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14205703#comment-14205703
 ] 

Veena Basavaraj commented on SQOOP-1709:
----------------------------------------


the name "key" in this class actually means nested type. A key is a complex 
data type usually has the meaning of "key" in a collection/map

{code}

/**
 * Complex types that are incorporating primitive types.
 */
public abstract  class AbstractComplexType extends Column {

  /**
   * Incorporated type
   */
  private Column key;

  public AbstractComplexType(Column key) {
    setKey(key);
  }

{code}

Am I correct that this infact is saying what is the nested type, for instance 
if it is an array of integers, array of strings, or array of another complex 
type?

> AbstractComplexType changes
> ---------------------------
>
>                 Key: SQOOP-1709
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1709
>             Project: Sqoop
>          Issue Type: Sub-task
>          Components: sqoop2-framework
>            Reporter: Veena Basavaraj
>            Assignee: Veena Basavaraj
>             Fix For: 1.99.5
>
>
> What is the use case for it to have a "key' as a Column type.
> This mean I could have the key as an Array / Map/ Flaoting point? when would 
> this happen, can String not suffice for the key?
> I need details on this.
> Second, for good reasons, we should have a size field to support the 
> collection size.
> Third, Make sure SchemaSerialization class is updated as well with these 
> changes.



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

Reply via email to