Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-576

Strange field naming error in Phoenix 2.0.1

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • old issue number:
      445

      Description

      Using Phoenix 2.0.1, I found that if I name a field in a Phoenix table "FilledAmt" and another field "FilledAmtUSD" when writing HFiles from a connectionless Phoenix app, HBase will give the following error:

      java.io.IOException: Added a key not lexically larger than previous key=\x00&\x00\x00\x00\x01@2@^p\x00\x00\x00\x00FXPRO\x00EURUSDBFMK281997584\x02ODFILLEDAMT\x00\x00\x01A[\xD1:\xA0\x04, lastkey=\x00&\x00\x00\x00\x01@2@^p\x00\x00\x00\x00FXPRO\x00EURUSDBFMK281997584\x02ODFILLEDAMTUSD\x00\x00\x01A[\xD1:\xA0\x04

      However, if I change the name of the second field to "FillAmtUSD", the file will load normally.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jcgilman2 jcgilman2
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: