Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-3437

when the PartitionColumn is Types.CHAR or Types.VARCHAR or Types.LONGVARCHAR the partition will be wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.99.7
    • None
    • None
    • sqoop1.99.7

       

    Description

      Now I found some problem with PartitionColumn . 

      when my partition column is type of char or varchar or LONGVARCHAR, It'will be wrong will the partition .

      eg:

      The PartitionColumn is MONTH with varchar ,the value is  "01" to "12".

      Then I can see the  result is 

      what happen?

      The unknow char is unicode such  as \u0001 and so on. It happen on textToBigDecimal().

       It's wrong with the algorithm or I wrong

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            wupj wupj
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: