Author: buildbot Date: Wed Sep 4 20:38:14 2019 New Revision: 1049643 Log: Staging update by buildbot for gora
Modified: websites/staging/gora/trunk/content/ (props changed) websites/staging/gora/trunk/content/current/gora-pig.html Propchange: websites/staging/gora/trunk/content/ ------------------------------------------------------------------------------ --- cms:source-revision (original) +++ cms:source-revision Wed Sep 4 20:38:14 2019 @@ -1 +1 @@ -1866421 +1866422 Modified: websites/staging/gora/trunk/content/current/gora-pig.html ============================================================================== --- websites/staging/gora/trunk/content/current/gora-pig.html (original) +++ websites/staging/gora/trunk/content/current/gora-pig.html Wed Sep 4 20:38:14 2019 @@ -161,7 +161,7 @@ under the License. } h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style> <h2 id="overview">Overview<a class="headerlink" href="#overview" title="Permanent link">¶</a></h2> -<p>This is the main documentation for the gora-pig module. gora-pig module enables loading/storing data through Apache Gora in Pig Scripts.</p> +<p>This is the main documentation for the gora-pig module. gora-pig module enables loading/storing data through Apache Gora in Pig scripts.</p> <div class="toc"> <ul> <li><a href="#overview">Overview</a></li> @@ -182,11 +182,11 @@ h2:hover > .headerlink, h3:hover > .head </ul> </div> <h2 id="introduction">Introduction<a class="headerlink" href="#introduction" title="Permanent link">¶</a></h2> -<p>Apache Gora is an Object Datastore Mapper which has its own data model. At the same time, Apache Pig has its own data model too. Because of this, it is needed an adaptation between both data models.</p> -<p>The objective of this document is to describe the approach taken to implement a Pig adapter for Gora.</p> +<p>Apache Pig is a platform for analyzing large data sets that consists of a high-level language for expressing data analysis programs. With the module gora-pig we allow to operate on the data from Pig scripts using Apache Gora as storage. +The objective of this document is to describe the approach taken to implement a Pig adapter for Gora and show how to load/store the data.</p> <p>Warning: Not all Gora modules are adapted to be used under Pig, since they have to implement loading the mapping defined from gora properties with the key "gora.mapping". At this moment are adapted <strong>gora-hbase</strong> and <strong>gora-kudu</strong>.</p> <h3 id="data-models">Data models<a class="headerlink" href="#data-models" title="Permanent link">¶</a></h3> -<p>Gora's data entities are generated from Apache Avro schemas, and inherits the same datatypes defined in Avro. Pig has its own data model.</p> +<p>Apache Gora is an Object Datastore Mapper which has its own data model inheriting Avro data types, and Apache Pig has its own data model. Because of this, it is needed an adaptation between both data models.</p> <p>The following tables shows the different types and a possible conversions between Gora and Pig types.</p> <h4 id="primitivesimple-types">Primitive/Simple types<a class="headerlink" href="#primitivesimple-types" title="Permanent link">¶</a></h4> <table class="table">