Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-696

Dictionary couldn't recognize a value and throw IllegalArgumentException: "Not a valid value"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: v0.6.5, v0.6.6, v0.7.1
    • Fix Version/s: v0.7.1
    • Component/s: Others
    • Labels:
      None

      Description

      I have a cube which have several lookups be left joined with the fact table; I defined one foreign key as a dimension, then that fk column was added into the rowkey, with "dictinoary" = "Y";

      The dictionary was successfully built; while the cube build job was failed, the error trace looks like:
      Caused by: java.lang.IllegalArgumentException: Not a valid value: 00000000000001020
      at org.apache.kylin.dict.TrieDictionary.getIdFromValueBytesImpl(TrieDictionary.java:176)
      at org.apache.kylin.dict.NumberDictionary.getIdFromValueBytesImpl(NumberDictionary.java:172)
      at org.apache.kylin.dict.Dictionary.getIdFromValueBytes(Dictionary.java:138)
      at org.apache.kylin.dict.TrieDictionary.getIdFromValueImpl(TrieDictionary.java:161)
      at org.apache.kylin.dict.Dictionary.getIdFromValue(Dictionary.java:91)

      Then I dumped the dictionary to local and output all its values; In the mean while I run hive SQL to list the distinct values for that column from the flat table; Then I found the 1020 is appeared in hive table but not in the dictionary;

        Attachments

          Activity

            People

            • Assignee:
              shaofengshi Shao Feng Shi
              Reporter:
              shaofengshi Shao Feng Shi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: