<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic HBase interaction when the Schema has dynamically named columns? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/HBase-interaction-when-the-Schema-has-dynamically-named-columns/m-p/2337239#M105602</link>
    <description>In HBase, the most common way to establish relationships in data is to do so through the use of dynamically named columns. 
&lt;BR /&gt;Take an Entity "Foo" with Attributes "A,B,C" and an Entity "Bar" with attributes "X,Y,Z". To establish a 1:M relationship in an RDBMS, there would be two tables, Foo and Bar, with a foreign key in Bar linking back to a column in Foo. 
&lt;BR /&gt;However, in HBase, there would only be one table, with one or two column families. For simplicity, lets call the table FooBar and have two column families, Foo and Bar, and the column/column families would look like this: 
&lt;BR /&gt;Foo:A,Foo:B, Foo:C, Bar:1|x,Bar:1|y, Bar:1|z, Bar:2|x, Bar:2|y, Bar:3|z, ... Bar:n|1, Bar:n|2, Bar:n|3 
&lt;BR /&gt;Each row in this table could have any number of columns in the Bar column family, and they could be named anything in the format of Bar:&amp;lt;&amp;gt;|x, Bar:&amp;lt;&amp;gt;|y, or Bar:&amp;lt;&amp;gt;|z, where &amp;lt;&amp;gt; would be the identifying value of the particular bar Entity under discussion. 
&lt;BR /&gt;How may I use the tHBase* components to establish this? 
&lt;BR /&gt;Thank you.</description>
    <pubDate>Sat, 16 Nov 2024 11:38:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T11:38:38Z</dc:date>
    <item>
      <title>HBase interaction when the Schema has dynamically named columns?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/HBase-interaction-when-the-Schema-has-dynamically-named-columns/m-p/2337239#M105602</link>
      <description>In HBase, the most common way to establish relationships in data is to do so through the use of dynamically named columns. 
&lt;BR /&gt;Take an Entity "Foo" with Attributes "A,B,C" and an Entity "Bar" with attributes "X,Y,Z". To establish a 1:M relationship in an RDBMS, there would be two tables, Foo and Bar, with a foreign key in Bar linking back to a column in Foo. 
&lt;BR /&gt;However, in HBase, there would only be one table, with one or two column families. For simplicity, lets call the table FooBar and have two column families, Foo and Bar, and the column/column families would look like this: 
&lt;BR /&gt;Foo:A,Foo:B, Foo:C, Bar:1|x,Bar:1|y, Bar:1|z, Bar:2|x, Bar:2|y, Bar:3|z, ... Bar:n|1, Bar:n|2, Bar:n|3 
&lt;BR /&gt;Each row in this table could have any number of columns in the Bar column family, and they could be named anything in the format of Bar:&amp;lt;&amp;gt;|x, Bar:&amp;lt;&amp;gt;|y, or Bar:&amp;lt;&amp;gt;|z, where &amp;lt;&amp;gt; would be the identifying value of the particular bar Entity under discussion. 
&lt;BR /&gt;How may I use the tHBase* components to establish this? 
&lt;BR /&gt;Thank you.</description>
      <pubDate>Sat, 16 Nov 2024 11:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/HBase-interaction-when-the-Schema-has-dynamically-named-columns/m-p/2337239#M105602</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: HBase interaction when the Schema has dynamically named columns?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/HBase-interaction-when-the-Schema-has-dynamically-named-columns/m-p/2337240#M105603</link>
      <description>Hi,
&lt;BR /&gt;Try this, we can extend if you get some hint that it is possible...
&lt;BR /&gt;- Use two tHbaseInput component to read Foo and Bar 
&lt;BR /&gt;- Use tMap and combine all the columns from both the tables using string concatenation into single column
&lt;BR /&gt;- Use tHbaseOutput to insert this single column to database
&lt;BR /&gt;Post your design logic and problems if you face any...
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Mon, 19 May 2014 06:12:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/HBase-interaction-when-the-Schema-has-dynamically-named-columns/m-p/2337240#M105603</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-19T06:12:04Z</dc:date>
    </item>
  </channel>
</rss>

