You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Pratik Khadloya (JIRA)" <ji...@apache.org> on 2014/09/25 23:14:33 UTC

[jira] [Commented] (SQOOP-1456) Import mysql column comments to hive

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

Pratik Khadloya commented on SQOOP-1456:
----------------------------------------

I see that JDBC does not provide this feature. Am not sure if this is doable as sqoop relies on JDBC.

> Import mysql column comments to hive
> ------------------------------------
>
>                 Key: SQOOP-1456
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1456
>             Project: Sqoop
>          Issue Type: New Feature
>            Reporter: Pratik Khadloya
>
> Export the "COMMENT" metadata column of a table (as in mysql) to hive.
> Example:
> {code:sql}
> CREATE TABLE foo (
>   id int(10) NOT NULL auto_increment COMMENT 'unique ID for each foo entry',
>   bar varchar(255) default NULL COMMENT 'the bar of the foo',
>   ....
> );
> {code}



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