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

ERROR: ArrayIndexOutOfBoundsException: -1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Workaround
    • v1.6.0
    • v2.0.0
    • Metadata
    • None
    • Kylin 1.6.0

    Description

      In step "Extract Fact Table Distinct Columns" you will see this error:

      Insane record: [1, 0600-77, LONG NAME, COP, 11, 11, Tipo de producto 00, 1.6]

      java.lang.ArrayIndexOutOfBoundsException: -1
      at org.apache.kylin.engine.mr.steps.FactDistinctHiveColumnsMapper.map(FactDistinctHiveColumnsMapper.java:140)

      The problem is when you have same name column in Dim and Fact Table

      SOL1: Rename columns in Hive or use Hive's view
      SOL2: Will be solved in Kylin 1971

      Attachments

        Issue Links

          Activity

            People

              shaofengshi Shao Feng Shi
              albertoramon albertoramon
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: