<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[CollibraDQ - Medium]]></title>
        <description><![CDATA[Predictive Data Quality — The fast and elegant way to manage data. Owl auto learns data trends to find data issues. Owl reduces most of the manual human process of writing rules to manage datasets. Use data science to solve data quality. Stop reacting. Start Predicting. - Medium]]></description>
        <link>https://medium.com/owl-analytics?source=rss----5c92b90d9765---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>CollibraDQ - Medium</title>
            <link>https://medium.com/owl-analytics?source=rss----5c92b90d9765---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 25 Nov 2026 00:35:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/owl-analytics" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[PushDown vs PullUp Processing; Why things are Changing]]></title>
            <link>https://medium.com/owl-analytics/pushdown-vs-pullup-processing-why-things-are-changing-ae9ae5c2badc?source=rss----5c92b90d9765---4</link>
            <guid isPermaLink="false">https://medium.com/p/ae9ae5c2badc</guid>
            <dc:creator><![CDATA[Kirk Haslbeck]]></dc:creator>
            <pubDate>Mon, 22 May 2023 12:33:57 GMT</pubDate>
            <atom:updated>2023-05-22T12:33:57.202Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3MW7dNivl4H5YZIccZz2SA.png" /></figure><p>Several years ago a DBA would not want an application developer to send strenuous processing to the database because it might disrupt his/her database performance. Especially if the database is an OLTP database that is responsible for transaction processing in the front office. A disruption in service would equal a business outage. This set the stage years ago for OLTP vs OLAP style databases, due to the difference between analytic workloads and transactional workloads. Analytical workloads typically require aggregate functions, large scans and lots of compute. Transactional workloads require fast writes.</p><p>However with modern data processing platforms like Databricks SQL Warehouse the design is different. The more queries or processing you throw at it, the more it scales out the workloads in the background. The cloud has enabled this with compute pools, containers and serverless options. This means, in theory a database doesn’t risk running out of compute and can be used for a combination of workloads. You may hear terms like lakehouse, which combines a warehouse and a lake, the idea being it can function across a variety use-cases and workloads.</p><p>When I started using machine learning to automate data quality workloads, the processing was too strenuous to push into a traditional database. Spark was an obvious choice, perhaps the best cluster compute option available. Having a spark cluster in my compute plane separated the database from the DQ jobs.</p><p>Modern databases like Databricks SQL Warehouse are using ephemeral compute clusters (k8 and spark) behind the scenes to scale the workloads. So the real question becomes: Do you want your compute pool in front of your database or behind it. There is a good argument to be made that it simplifies your technical ownership as well as lowers your cost of ownership to remove the compute plane in front of the database and let the database do the same thing for you. The looming question is always, which one costs less? My professional opinion is the compute cost difference is becoming negligible and hard to measure, but the human cost difference is substantial.</p><p>For years CollibraDQ has used spark to compute massive workloads quickly. Recently we started sending those same workloads to Databricks sql warehouse to compare performance against our spark engine. The big difference being Pulling the data UP (out of the source system into our spark cluster) versus Pushing the operation DOWN into the source system. In this case, sending the same operations to Databricks but without moving or egressing any data.</p><p>To Databricks credit they have a few tricks/advantages that we don’t. First, DBX can re-use their storage format and partitioning to avoid data skew when moving data into a new cluster. Second, in some cases DBX can position compute closer to the data, saving the physics of moving data through network pipes a long distance. Third, they have a caching option to keep the results “warm”. Meaning a rerun of the same data would cost next to 0 runtime and next to $0 dollars.</p><h4>My Thoughts: The Tradeoff is Simplicity vs Virtualization</h4><p>The good news is CDQ offers both PullUp and PushDown modes of operation with a click of a button. For Databricks users, you now have 2 compute options, the new one being native pushdown into DBX. CDQ Pushdown by roughly all measures offers a <strong>faster</strong> and <strong>lower cost</strong> option for DBX customers. In addition it offers a security benefit of less data movement for some organizations. A counter argument for pushdown could be: a compute layer in front of the warehouses could offer a <strong>virtualization</strong> layer, for <strong>reconciliation</strong> tasks and <strong>logical joins from hybrid clouds</strong>. Hence why it may be important to consider a DQ tool that can span both types of workloads, depending on your business use-cases. We find many large organizations have both requirements.</p><h4>Hardware, Sizing &amp; Caching</h4><p>The tests were run on 4XLarge. Cold runs = complete cluster restarts. Warm runs = second run with caching on (rerun on cache). Cost estimates can be assumed from uptime of a 4XLarge, meaning most workloads tested here cost less than $1 to run. The datasets number of columns ranged from 29 to 34 columns. Each column adds data quality processing, a 200 column table is significantly more than a 20 column table (10x more as you might expect). CDQ allows you to opt in and out of columns so you can focus your DQ workloads on the columns that are worth the time/dollar cost.</p><p>I believe in most real-world use-cases a devOps professional will not have the benefit of a re-run and should look at “cold run” runtimes. Most of the time data coming in from the pipelines is new daily data and will be processed for the first time at each hop. There are of course cases where reruns will greatly benefit.</p><h3>What is really going on in the DQ workloads?</h3><p>Let’s discuss what is going on in those runtimes. Every column and every row are processed, a data profile is created, 6 or more rules per column are generated to fulfill dimensions like completeness, accuracy, validity etc… In addition, outlier detection, histograms, and 35 additional manual rules requiring full table scans were also run. In total roughly 300 operations were run on the tables in the test. Some of the 300 being regular expressions and ML to derive the erroneous data points. In no way can the above be compared to a workload that simply loads data, it is far more compute than that. After all, our goal is to stress test the entire dataset and surface any issue, even relationship issues across columns. The 300+ sql operations are all logged in both CDQ and DBX. The days of writing 300 rules per dataset are over. Today’s organizations have far too many datasets for traditional approaches.</p><p><em>Disclaimer: Myself and Collibra team are not the authoritative source for performance benchmarking, we have no bias towards vendors, we are only focused on data quality workloads. Our goal is to achieve the lowest cost and fastest runtimes in the interest of scaling a DQ program. We happen to be a team of performance engineers, but we all know there are many variables in performance testing and each one can change the outcomes. We do use the TPC-DS tables and follow best practices.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae9ae5c2badc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/owl-analytics/pushdown-vs-pullup-processing-why-things-are-changing-ae9ae5c2badc">PushDown vs PullUp Processing; Why things are Changing</a> was originally published in <a href="https://medium.com/owl-analytics">CollibraDQ</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Single Best Data Quality Rule]]></title>
            <link>https://medium.com/owl-analytics/the-single-best-data-quality-rule-ce8f1b2f329e?source=rss----5c92b90d9765---4</link>
            <guid isPermaLink="false">https://medium.com/p/ce8f1b2f329e</guid>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Brian Mearns]]></dc:creator>
            <pubDate>Tue, 05 Nov 2019 14:07:56 GMT</pubDate>
            <atom:updated>2019-11-05T14:13:01.694Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>The Single Best Data Quality Rule is the one you don’t have to write</blockquote><h3>Owl’s semantic scanning self identifies standard columns and automatically provides the proper protection. This makes it easy to get started adding common rules for specific use-cases.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*008dX0FvyCLIm_HiabvyJQ.png" /><figcaption>Owl automatically identifies standard columns and provides the proper protection</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BMEPitM8HsV9DkbCoHSTMw.png" /><figcaption>Owl offers out of the box rules for 1-click rule creation</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I7vmy8dXOAKTSVAmuQ-xKg.png" /><figcaption>You can also view globally via the catalog to see PII exists</figcaption></figure><pre><a href="https://slack-redir.net/link?url=https%3A%2F%2Fdocs.owl-analytics.com%2Fdq-visuals%2Frules%2Fdq-rule-automation">https://docs.owl-analytics.com/dq-visuals/rules/dq-rule-automation</a></pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ce8f1b2f329e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/owl-analytics/the-single-best-data-quality-rule-ce8f1b2f329e">The Single Best Data Quality Rule</a> was originally published in <a href="https://medium.com/owl-analytics">CollibraDQ</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Outlier Detection Using Owl]]></title>
            <link>https://medium.com/owl-analytics/outlier-detection-using-owl-6aee97b0be54?source=rss----5c92b90d9765---4</link>
            <guid isPermaLink="false">https://medium.com/p/6aee97b0be54</guid>
            <category><![CDATA[outlier-detection]]></category>
            <category><![CDATA[data-quality]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[owl-analytics]]></category>
            <dc:creator><![CDATA[Brian Mearns]]></dc:creator>
            <pubDate>Thu, 05 Sep 2019 12:42:21 GMT</pubDate>
            <atom:updated>2019-09-05T12:42:21.080Z</atom:updated>
            <content:encoded><![CDATA[<h3>Numerical Outliers</h3><p>Kodak Coin! in 2018 Kodak announced themselves as Kodak coin and witnessed a steep change in their stock price. Owl automatically captured this event and provided the ability to drill into the item.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FbhbZ6-XSn_UoOZR" /></figure><h3>Complex outliers made Simple</h3><p>Even though Owl uses complex formulas to identify the correct outliers in a dataset, it uses simple terms when displaying them. If you notice below the change happened gradually, therefore if you only compared avgs or previous values you would not understand the full impact of this price change. 0% changed from yesterday and its moving/trailing avg would have caught up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DRlmbpX0YZuWxo1S" /></figure><h3>Categorical Outliers</h3><p>Categorical Outliers are much different than numerical outliers and require separate techniques to automatically capture meaningful anomalies. The details regarding Owl’s methodology and testing can be found below, 3 minute read on the topic.</p><p><a href="https://medium.com/owl-analytics/categorical-outliers-dont-exist-8f4e82070cb2">Categorical Outliers Don’t Exist</a></p><p><a href="https://medium.com/owl-analytics/categorical-outliers-dont-exist-8f4e82070cb2">At least not without context</a></p><p><a href="https://medium.com/owl-analytics/categorical-outliers-dont-exist-8f4e82070cb2">medium.com</a></p><p>Owl will automatically learn the normal behavior of your Strings and Categorical attributes such as STOCK,OPTION,FUTURE or state codes such as . MD,NC,D.C. when a strange pattern occurs such as NYC instead of NY Owl will show this as a categorical outlier.</p><h3>Spark DataFrame Example</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*59ST0CDIsGDQJGAb" /></figure><p>For more information please visit:</p><p><a href="https://docs.owl-analytics.com/dq-visuals/outliers">https://docs.owl-analytics.com/dq-visuals/outliers</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6aee97b0be54" width="1" height="1" alt=""><hr><p><a href="https://medium.com/owl-analytics/outlier-detection-using-owl-6aee97b0be54">Outlier Detection Using Owl</a> was originally published in <a href="https://medium.com/owl-analytics">CollibraDQ</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Drill-Ins and Roll-Ups Matter for Data Quality]]></title>
            <link>https://medium.com/owl-analytics/why-drill-ins-and-roll-ups-matter-for-data-quality-d64fe01bb120?source=rss----5c92b90d9765---4</link>
            <guid isPermaLink="false">https://medium.com/p/d64fe01bb120</guid>
            <category><![CDATA[data-quality]]></category>
            <category><![CDATA[predictive-analytics]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Brian Mearns]]></dc:creator>
            <pubDate>Wed, 29 May 2019 15:36:00 GMT</pubDate>
            <atom:updated>2019-05-29T15:36:00.837Z</atom:updated>
            <content:encoded><![CDATA[<h3>Dataset Scorecard</h3><p>Visualize the health and consistency of a dataset over time. Owl will highlight the macro and micro trends such as weekend loads vs weekday loads and behavioral item changes per day.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jfwgop-9QzkTJOH0" /></figure><h3>DQ Over Time, Drill-In and Roll-Up</h3><p>Data quality isn’t a one time check or once a year project. Data is the life blood flowing through your organization. It’s mandatory to know how your data is behaving right now, yesterday and over time to gain an understanding of the trends. For insights to be meaningful we need to see both the lowest granularity and the big picture. Owl’s approach let’s you drill all the way into the exact moment the issue arose as well as zoom out to see how your data is behaving month to month. A Data Steward might be more concerned with a recent change in data and want to correct it using service now immediately. Whereas a Chief Data Officer might be more concerned with the health of the organizations data overall.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d64fe01bb120" width="1" height="1" alt=""><hr><p><a href="https://medium.com/owl-analytics/why-drill-ins-and-roll-ups-matter-for-data-quality-d64fe01bb120">Why Drill-Ins and Roll-Ups Matter for Data Quality</a> was originally published in <a href="https://medium.com/owl-analytics">CollibraDQ</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Categorical Outliers Don’t Exist]]></title>
            <link>https://medium.com/owl-analytics/categorical-outliers-dont-exist-8f4e82070cb2?source=rss----5c92b90d9765---4</link>
            <guid isPermaLink="false">https://medium.com/p/8f4e82070cb2</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[outliers]]></category>
            <category><![CDATA[categorical-outlier]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Kirk Haslbeck]]></dc:creator>
            <pubDate>Sun, 09 Sep 2018 23:37:05 GMT</pubDate>
            <atom:updated>2018-09-10T17:50:34.672Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>At least not without context</strong></h3><p>One of the first questions I’m always asked is “Can you detect categorical outliers?” Most people are familiar with the concept of a numerical outlier but there is often confusion regarding the topic of categorical outliers. For example, if you were presented with the 2 datasets below, could you determine the outlier in each case?</p><p>Example 1: <em>A, B, C, X</em></p><p>Example 2: <em>Apple, Orange, Pear</em> or <em>Blueberry, Raspberry, Strawberry, Grape</em></p><p>In the first example many people select <em>X </em>as the outlier. This is because the human brain is so sophisticated that it can immediately infer a <em>context, </em>our brains recognize the pattern and associate the domain of the English alphabet. Yet in fact there is no discernible outlier in example #1. In the second example someone might chose <em>Orange</em> because science suggests that a <em>Pear</em> is genetically closer to an <em>Apple</em> than an <em>Orange</em>. In the following example we might guess <em>Grape </em>since it’s not a berry. The fact is no outlier exists in the examples above, for an outlier to exist there must be a measure of distance. This is intrinsic to numeric data types because there is a Euclidean distance between numbers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/451/1*qkqSmJmgJiXmkojb9Evn9A.png" /></figure><p>K-means to the rescue? A few google searches for categorical outliers and you’ll find people talking about k-means clustering. The k-means algorithm is an unsupervised learning technique solely designed to be used on numeric types. K-means is based on measuring distance from the centroid and the centroid needs to be a numeric value. I’ve even seen some creative solutions where a data scientist will use techniques like <em>string indexing</em> or <em>one hot encoding</em> on a categorical value to convert it from a string value to a numeric value and then use k-means. In the research we’ve conducted at Owl Analytics this is not an acceptable approach because the numeric vector assigned to the String value during the one hot encoding practice still lacks the <em>domain context</em>. It does satisfy the input constraint of the k-means model and the model will produce an output. However the output will not select the appropriate outlier, as the input was not truly valid. K-modes is a promising new algorithm that primarily only exists in the python community today. K-modes is designed to handle categorical values without the need for <em>String Indexing</em> or <em>One Hot Encoding</em>. After reviewing and testing many approaches to this problem we developed our own methodology which we have found to be both more performant and yield the proper outlier results across many diverse datasets. The datasets focused on in our back testing were: address information including states, cities, counties and zip codes; stock datasets including asset classes, symbols, exchanges; customer and user tables including: first name, last name, social security number and phone number. At Owl our focus is primarily to correct data for the purpose of predictive data quality. After running numerous back tests on a variety of datasets we used concepts like term frequency and minority classes. Blending these techniques with traditional outlier detection methods enabled us to not only predict more accurate outliers but also adapt over time much like the English language does. In the real world we face concepts like the “Urban Dictionary” where words or terms are constantly evolving. A word like survey might migrate to surveil and then surveillance. Categorical outliers are not static which is precisely why our study suggested the need for a blended technique.</p><p>If you’re working on an interesting project involving Categorical Outliers connect with us on LinkedIn (<a href="https://www.linkedin.com/company/owl-analytics">https://www.linkedin.com/company/owl-analytics</a> ) OR <a href="http://www.owl-analytics.com/">www.owl-analytics.com</a> and we’ll share more information regarding our approach.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8f4e82070cb2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/owl-analytics/categorical-outliers-dont-exist-8f4e82070cb2">Categorical Outliers Don’t Exist</a> was originally published in <a href="https://medium.com/owl-analytics">CollibraDQ</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Basic Outlier Detection Doesn’t Work]]></title>
            <link>https://medium.com/owl-analytics/why-basic-outlier-detection-doesnt-work-1d5f9cfc513b?source=rss----5c92b90d9765---4</link>
            <guid isPermaLink="false">https://medium.com/p/1d5f9cfc513b</guid>
            <category><![CDATA[anomaly-detection]]></category>
            <category><![CDATA[data-quality]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[predictive-analytics]]></category>
            <category><![CDATA[machine-lear]]></category>
            <dc:creator><![CDATA[Brian Mearns]]></dc:creator>
            <pubDate>Sat, 08 Sep 2018 02:58:31 GMT</pubDate>
            <atom:updated>2018-09-10T17:51:50.405Z</atom:updated>
            <content:encoded><![CDATA[<h3>Using statistics to solve data quality problems is a compelling idea. It is especially compelling if you’ve tried a rules-based solution and ended up managing a large static rule base. Businesses need a way to surface incorrect data values that go beyond nulls, empty, missing, and malformed values. They also need a way to evolve with their ever-changing data. A simple example could be a few of the following:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NR3321FsilXtQ3-LO-xbvg.png" /><figcaption>Example 1</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FwEnFNtJSIEmYq6u00TpxA.png" /><figcaption>Example 2</figcaption></figure><p>Columnar statistics have been around for a long time and offer great insight to descriptive analytics problems. In the examples above we can see that column level statistics provide very minimal value in solving a data quality problem. In this example HMNY a penny stock will commonly trade at around 0.02 cents a share while Berkshire Hathaway will trade around 321,000 dollars a share. The min, max, mean etc… tell us almost nothing of value. This is where basic outlier detection which is based solely on column level analysis isn’t enough, as it will produce bad signal to noise ratio and leave the end user without the compelling insight. To solve this more elegantly we need to broaden the scope of the problem and look at neighboring columns. The team at Owl Analytics is passionate about solving this problem. We are constantly evolving algorithms that fitness tests the surrounding columns to measure the strength of the relationship they impose on one another. The internal optimizer will determine the best path based on the lowest error rate and begin to learn from the column values both above below and left to right. The longer Owl observes a dataset the smarter it gets. This has shown significant benefits over rules in the area of weather trends, energy trends, financial data and engine data. Connect with us on LinkedIn or Owl-Analytics.com to see more examples of how ML can be used as a practical application to solving data quality.</p><p>visit <a href="http://www.owl-analytics.com/">www.owl-analytics.com</a> for more information</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d5f9cfc513b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/owl-analytics/why-basic-outlier-detection-doesnt-work-1d5f9cfc513b">Why Basic Outlier Detection Doesn’t Work</a> was originally published in <a href="https://medium.com/owl-analytics">CollibraDQ</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>