You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Clément MAHTIEU (JIRA)" <ji...@apache.org> on 2015/09/13 15:48:45 UTC

[jira] [Updated] (SQOOP-1281) Support of glob paths during export

     [ https://issues.apache.org/jira/browse/SQOOP-1281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clément MAHTIEU updated SQOOP-1281:
-----------------------------------
    Attachment: 0001-SQOOP-1281-Support-of-glob-paths-during-export.patch

I wrote this patch a while ago for our internal needs. It adds the support of glob paths for input directories.

It has been tested & used with Sqoop 1.4.5 on top of a CDH 4.7, 5.3 & 5.4.

I quickly crawled the test suite to see how I could test this change but failed to find a trivial implementation. I believe that I have to fiddle with getTablePath / TestExport but I'm not sure where it will take me. Any advice is welcome.

> Support of glob paths during export 
> ------------------------------------
>
>                 Key: SQOOP-1281
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1281
>             Project: Sqoop
>          Issue Type: Improvement
>    Affects Versions: 1.4.3
>            Reporter: Viji
>         Attachments: 0001-SQOOP-1281-Support-of-glob-paths-during-export.patch
>
>
> The current Export mechanism in Sqoop does not support globs in its input directory parameter. As a result, it considers wildcards as a path component and upon the logical failure of its lookup, it assumes the input format is unknown, and proceeds with using a Text based processor instead of the actual type (such as avro).



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