Given the following HBase table schema:
Row Key, colFam_A:a, colFam_A:b, colFamB:2, colFam_B:10
A table scan will return the column data in which of the following sorted orders:
A.
Row Key, colFam_A:a, colFam__A:b, colFam_B:10, colFam_B:2
B.
Row Key, colFam_A:a, colFam__A:b, colFam_B:2, colFam_B:10
C.
Row Key, colFam_A:a, colFam__B:2, colFam_A:b, colFam_B:10
D.
Row Key, colFam_A:a, colFam__B:10, colFam_A:b, colFam_B:2
Explanation:
All is sorted in hbase, first by row (row key), then by column family
followed by column qualifier, type and finally timestamp (ts is sorted
in reverse .. so you see newest records first).
I agree with the answer. B
0
0