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

kylin.source.hive.keep-flat-table=true will delete data

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: v2.4.0
    • Fix Version/s: v2.5.0
    • Component/s: NRT Streaming
    • Labels:
      None

      Description

      kylin.source.hive.keep-flat-table这个参数设置为true后,只是保留了hive表结构,但是数据还是被清除了,查看了源码,这个参数确实只是对表结构进行控制。如果希望数据也保存下来,并且是一个cube下面所有作业的数据都保存到一个表里面(目前是一个作业会产生一个表),是否有什么好的解决方案。

      附件为v2.4.0源码

      谢谢。

        Attachments

        1. 1535534470(1).png
          72 kB
          wlxie
        2. HiveMRInput.java
          22 kB
          wlxie

          Issue Links

            Activity

              People

              • Assignee:
                hit_lacus Xiaoxiang Yu
                Reporter:
                xiewenliang wlxie
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: