sqoop不支持varchar的分割

Sqoop currently do not support splitting data on N(LONG)(VAR)CHAR column types. We're however supporting splitting on (LONG)(VAR)CHAR using TextSplitter:

    case Types.CHAR:
    case Types.VARCHAR:
    case Types.LONGVARCHAR:
      return new TextSplitter();
I believe that adding support of N(LONG)(VAR)CHAR splitter could be only matter of adding appropriate cases into this code snippet, but such addition must be properly tested.
posted @ 2016-02-26 18:45  dalu610  阅读(174)  评论(0编辑  收藏  举报