Sample Table
hbase(main):026:0> scan 'datatable'
ROW COLUMN+CELL
key1 column=cf1:col1, timestamp=1465135446446, value=value1
key1 column=cf1:col2, timestamp=1465135452934, value=value1
key2 column=cf2:col1, timestamp=1465135471613, value=value2
key2 column=cf2:col2, timestamp=1465135481068, value=value2
key3 column=cf1:col1, timestamp=1465137223212, value=value3
key3 column=cf2:col2, timestamp=1465137232291, value=value3
3 row(s) in 0.0300 seconds
Query
Filter the rows where any one of the condition below,
Row key is "key1", Where Column is {cf1:col1}
OR
Column is {cf2:col2}
Expected Output
ROW COLUMN+CELL
key1 column=cf1:col1, timestamp=1465135446446, value=value1
key2 column=cf2:col2, timestamp=1465135481068, value=value2
key3 column=cf2:col2, timestamp=1465137232291, value=value3