Changing image for "data lake"
This commit is contained in:
parent
115588adcb
commit
a2ed907b59
BIN
static/slides/talks/2016-2-Vertica-Mimir/graphics/iu.jpeg
Normal file
BIN
static/slides/talks/2016-2-Vertica-Mimir/graphics/iu.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 76 KiB |
|
@ -209,7 +209,7 @@
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h3>Newer State of the Art</h3>
|
<h3>Newer State of the Art</h3>
|
||||||
<img src="graphics/azure-data-lake.png" height=500 />
|
<img src="graphics/iu.jpeg" height=500 />
|
||||||
<attribution>(azure.microsoft.com)</attribution>
|
<attribution>(azure.microsoft.com)</attribution>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -393,10 +393,6 @@
|
||||||
<div style="font-size: 2em">⬍</div>
|
<div style="font-size: 2em">⬍</div>
|
||||||
<p>"I guessed 'Computer' for 'Department' on Row '3'"</p>
|
<p>"I guessed 'Computer' for 'Department' on Row '3'"</p>
|
||||||
</div>
|
</div>
|
||||||
<p class="fragment"><b>
|
|
||||||
(Generalized) C-Tables are a form of lineage.
|
|
||||||
</b></p>
|
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
|
@ -675,8 +671,8 @@
|
||||||
USING DOMAIN_REPAIR(DEPARTMENT NOT NULL);
|
USING DOMAIN_REPAIR(DEPARTMENT NOT NULL);
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<div>
|
<div class="fragment">
|
||||||
<h4>The Query</h4>
|
<p>is (almost) the same as the query...</p>
|
||||||
<pre><code>
|
<pre><code>
|
||||||
CREATE VIEW PRODUCTS
|
CREATE VIEW PRODUCTS
|
||||||
AS SELECT ID, NAME, ...,
|
AS SELECT ID, NAME, ...,
|
||||||
|
@ -697,6 +693,31 @@
|
||||||
</table>
|
</table>
|
||||||
</small>
|
</small>
|
||||||
</section>
|
</section>
|
||||||
|
<section>
|
||||||
|
<pre><code>
|
||||||
|
CREATE LENS PRODUCTS
|
||||||
|
AS SELECT * FROM PRODUCTS_RAW
|
||||||
|
USING DOMAIN_REPAIR(DEPARTMENT NOT NULL);
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<p>Behind the scenes, a lens also creates a model...</p>
|
||||||
|
<pre class="fragment"><code>
|
||||||
|
SELECT * FROM PRODUCTS_RAW;
|
||||||
|
</code></pre>
|
||||||
|
</div>
|
||||||
|
<div class="fragment">
|
||||||
|
<div style="font-size: 1em; vertical-align: middle;">↓</div>
|
||||||
|
<div>
|
||||||
|
<img src="graphics/weka.png" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="fragment">
|
||||||
|
<div style="font-size: 1em; vertical-align: middle;">↓</div>
|
||||||
|
<div><p>An estimator for <small style="vertical-align: baseline;">$PRODUCTS.DEPARTMENT_{ROWID}$</small><p></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
|
@ -818,7 +839,6 @@
|
||||||
</ul></li>
|
</ul></li>
|
||||||
<li class="fragment">Generalized PC-Tables <small>[Kennedy, Koch 2009]</small></li>
|
<li class="fragment">Generalized PC-Tables <small>[Kennedy, Koch 2009]</small></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
|
@ -847,62 +867,6 @@
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
|
||||||
<pre><code>
|
|
||||||
CREATE LENS PRODUCTS
|
|
||||||
AS SELECT * FROM PRODUCTS_RAW
|
|
||||||
USING DOMAIN_REPAIR(DEPARTMENT NOT NULL);
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<h4>The Query</h4>
|
|
||||||
<pre><code>
|
|
||||||
CREATE VIEW PRODUCTS
|
|
||||||
AS SELECT ID, NAME, ...,
|
|
||||||
CASE WHEN DEPARTMENT IS NOT NULL THEN DEPARTMENT
|
|
||||||
ELSE VAR('PRODUCTS.DEPARTMENT', ROWID)
|
|
||||||
END AS DEPARTMENT
|
|
||||||
FROM PRODUCTS_RAW;
|
|
||||||
</code></pre>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<small class="fragment">
|
|
||||||
<table>
|
|
||||||
<tr><th>ID</th><th>Name</th><th>...</th><th>Department</th></tr>
|
|
||||||
<tr><td>123</td><td>Apple 6s, White</td><td>...</td><td>Phone</td></tr>
|
|
||||||
<tr><td>34234</td><td>Dell, Intel 4 core</td><td>...</td><td>Computer</td></tr>
|
|
||||||
<tr><td>34235</td><td>HP, AMD 2 core</td><td>...</td><td class="fragment">$Prod.Dept_3$</td></tr>
|
|
||||||
<tr><td>...</td><td>...</td><td>...</td><td>...</td></tr>
|
|
||||||
</table>
|
|
||||||
</small>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section>
|
|
||||||
<pre><code>
|
|
||||||
CREATE LENS PRODUCTS
|
|
||||||
AS SELECT * FROM PRODUCTS_RAW
|
|
||||||
USING DOMAIN_REPAIR(DEPARTMENT NOT NULL);
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<h4>The Model</h4>
|
|
||||||
<pre><code>
|
|
||||||
SELECT * FROM PRODUCTS_RAW;
|
|
||||||
</code></pre>
|
|
||||||
</div>
|
|
||||||
<div class="fragment">
|
|
||||||
<div style="font-size: 1em; vertical-align: middle;">↓</div>
|
|
||||||
<div>
|
|
||||||
<img src="graphics/weka.png" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="fragment">
|
|
||||||
<div style="font-size: 1em; vertical-align: middle;">↓</div>
|
|
||||||
<div><p>An estimator for <small style="vertical-align: baseline;">$PRODUCTS.DEPARTMENT_{ROWID}$</small><p></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</section>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
|
|
Loading…
Reference in a new issue