Skip to content

[Bug] [Hbase-connector] column config & [Feature] [Hbase-connector] TTL #1455

@liumengkai

Description

@liumengkai

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

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

What you expected to happen

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

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

How to reproduce

"writer": {
"name": "hbasewriter",
"parameter": {
"hbaseConfig": {
。。。
},
"table": "oks_ml",
"nullMode": "skip",
"encoding": "UTF-8",
"walFlag": false,
"batchSize": 10000,
"rowkeyExpress": "$(rowkey)",
"column": [
{"type": "string","name":"rowkey"},
{"type": "int","name":"v:tid"},
{"type": "bigint","name":"v:t_7_i_$(tid)"},
{"type": "bigint","name":"v:t_7_c_$(tid)"},
{"type": "bigint","name":"v:t_7_r_$(tid)"}
],
"ttl":100000
}
}
}

Anything else

No response

Version

master

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions