[feat-##1455] fix hbase bug & add hbase ttl by liumengkai · Pull Request #1456 · DTStack/chunjun

Purpose of this pull request

1.If we put rowkey at column first place. Nullpointer!
如果我们吧rowkey放在列的第一位就会报空指针,判空的时候忽略了第一位

2.支持hbasesink文件的这一批数据的TTL

Which issue you fix

#1455

Checklist:

  • I have executed the 'mvn spotless:apply' command to format my code.
  • I have a meaningful commit message (including the issue id, the template of commit message is '[label-type-#issue-id][fixed-module] a meaningful commit message.')
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.
  • I have checked my code and corrected any misspellings.
  • My commit is only one. (If there are multiple commits, you can use 'git squash' to compress multiple commits into one.)