hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1639) ExecDriver.addInputPaths() error if partition name contains a comma
Date Thu, 16 Sep 2010 00:11:34 GMT

    [ https://issues.apache.org/jira/browse/HIVE-1639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909956#action_12909956

Namit Jain commented on HIVE-1639:


looks good - will commit if the tests pass

> ExecDriver.addInputPaths() error if partition name contains a comma
> -------------------------------------------------------------------
>                 Key: HIVE-1639
>                 URL: https://issues.apache.org/jira/browse/HIVE-1639
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Ning Zhang
>            Assignee: Ning Zhang
>         Attachments: HIVE-1639.2.patch, HIVE-1639.patch
> The ExecDriver.addInputPaths() calls FileInputFormat.addPaths(), which takes a comma-separated
string representing a set of paths. If the path name of a input file contains a comma, this
code throw an exception: java.lang.IllegalArgumentException: Can not create a Path from an
empty string.
> Instead of calling FileInputFormat.addPaths(), ExecDriver.addInputPaths should iterate
all paths and call FileInputFormat.addInputPath. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message