Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[HBase] Get all columns from a column family no matter qualifier

Hi!
I am trying to get data from a column family called DHCP from HBase. For the moment something like this:
0683p000009MCkb.png  

I've searched the code and this is what Talend does:
org.apache.hadoop.hbase.client.Scan scan_tHBaseInput_1 = new org.apache.hadoop.hbase.client.Scan();
scan_tHBaseInput_1.addColumn(org.apache.hadoop.hbase.util.Bytes.toBytes("DHCP"), org.apache.hadoop.hbase.util.Bytes.toBytes("myQualifier1"));
That is to say that I'll get all columns with qualifier "myQualifier1" of column family "DHCP". That's ok.
But what if instead of getting the columns with qualifier "myQualifier1" I want to get all columns from family "DHCP" regardless of the qualifier? According to Apache Hadoop Hbase API I should be using addFamily(byte[] family) instead of addColum(byte[] family, byte[] qualifier]). How could I configure tHBaseInput_1 that way?
Thank you in advance.
Labels (2)
2 Replies
Anonymous
Not applicable
Author

Hi
I understand your request,  however this component does not support dynamic schema now. To get all columns from a family, you need to define a dynamic schema. Please report a feature request on our bugtracker.
Best regards
Shong
Anonymous
Not applicable
Author

how do I create a Talend 's
connection to the hbase hortworks