<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Data-Engineering on pretiosusdata</title><link>https://pretiosusdata.com/tags/data-engineering/</link><description>Recent content in Data-Engineering on pretiosusdata</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 01 Dec 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://pretiosusdata.com/tags/data-engineering/index.xml" rel="self" type="application/rss+xml"/><item><title>Deploy the embedding model with its data</title><link>https://pretiosusdata.com/notes/deploy-the-embedding-model-with-its-data/</link><pubDate>Tue, 01 Dec 2026 00:00:00 +0000</pubDate><guid>https://pretiosusdata.com/notes/deploy-the-embedding-model-with-its-data/</guid><description>&lt;p&gt;Suppose a data engineer maintains an assistant that helps support staff find product documentation. It embeds each question, retrieves similar document passages, and passes them to a language model to compose an answer. In this hypothetical system, the engineer changes the embedding model in the application configuration. The document vectors still come from the previous model.&lt;/p&gt;&#10;&lt;p&gt;The service can remain available while retrieval becomes unreliable. Equal vector lengths do not establish that two models place related text near each other. I would release the query embedding configuration together with a corpus generated for it, and keep the previous pair available for rollback.&lt;/p&gt;</description></item><item><title>Check the database identity behind your AI assistant</title><link>https://pretiosusdata.com/notes/check-the-database-identity-behind-your-ai-assistant/</link><pubDate>Sun, 29 Nov 2026 00:00:00 +0000</pubDate><guid>https://pretiosusdata.com/notes/check-the-database-identity-behind-your-ai-assistant/</guid><description>&lt;p&gt;A regional sales manager asks an AI assistant which customers reduced their orders last month. The assistant generates SQL, runs it against PostgreSQL, and summarizes the result. In this hypothetical application, the manager should see only customers in their region.&lt;/p&gt;&#10;&lt;p&gt;The team has tested row-level security using the manager&amp;rsquo;s database role. The assistant, however, connects through a shared service account that owns the customer table. Its answer includes customers from other regions.&lt;/p&gt;</description></item><item><title>Count the tickets your model could not classify</title><link>https://pretiosusdata.com/notes/count-the-tickets-your-model-could-not-classify/</link><pubDate>Thu, 26 Nov 2026 00:00:00 +0000</pubDate><guid>https://pretiosusdata.com/notes/count-the-tickets-your-model-could-not-classify/</guid><description>&lt;p&gt;Imagine a support manager using a weekly report to decide which product problems need engineering time. An overnight AI job reads closed tickets and assigns each a problem category, saving analysts from labeling them manually. In this hypothetical pipeline, the warehouse loader keeps only successful classifications.&lt;/p&gt;&#10;&lt;p&gt;The report can now hide part of the workload. If complex tickets fail more often than short ones, the category distribution may understate the problems that consume the most support effort. That is a possibility to investigate, not an assumption about how the model behaves.&lt;/p&gt;</description></item><item><title>Redshift trusts the keys you declare</title><link>https://pretiosusdata.com/notes/redshift-trusts-the-keys-you-declare/</link><pubDate>Tue, 24 Nov 2026 00:00:00 +0000</pubDate><guid>https://pretiosusdata.com/notes/redshift-trusts-the-keys-you-declare/</guid><description>&lt;p&gt;Suppose a data engineer refreshes a customer dimension each morning so finance can report revenue by customer segment. In this hypothetical pipeline, the source export starts including historical customer versions. The load succeeds, but the dimension now contains two rows for some customer IDs.&lt;/p&gt;&#10;&lt;p&gt;The table declares &lt;code&gt;customer_id&lt;/code&gt; as its primary key. That declaration will not reject those duplicates in Amazon Redshift. I would make validation of the completed candidate dataset a condition of publishing the refresh.&lt;/p&gt;</description></item><item><title>When a vector search misses the runbook</title><link>https://pretiosusdata.com/notes/when-a-vector-search-misses-the-runbook/</link><pubDate>Sun, 22 Nov 2026 00:00:00 +0000</pubDate><guid>https://pretiosusdata.com/notes/when-a-vector-search-misses-the-runbook/</guid><description>&lt;p&gt;Imagine an on-call data engineer asking an AI assistant how to recover a failed invoice load. The assistant searches operational runbooks, retrieves relevant passages, and uses them to explain the recovery procedure. In this hypothetical system, the correct runbook exists, but the assistant says it found insufficient guidance.&lt;/p&gt;&#10;&lt;p&gt;Before changing the prompt, I would inspect the retrieval query. A filter for the production environment can leave an approximate vector search with too few results, even when plenty of production documents exist.&lt;/p&gt;</description></item><item><title>Budget the whole AI investigation</title><link>https://pretiosusdata.com/notes/budget-the-whole-ai-investigation/</link><pubDate>Thu, 19 Nov 2026 00:00:00 +0000</pubDate><guid>https://pretiosusdata.com/notes/budget-the-whole-ai-investigation/</guid><description>&lt;p&gt;An AI assistant investigating a late data load can run several useful queries before it explains anything. It checks source counts, compares partitions, then changes the date range to test another explanation. For the engineer waiting for an answer, that exploration saves manual work. It also gives one question the ability to launch an uncertain amount of database work.&lt;/p&gt;&#10;&lt;p&gt;Consider a hypothetical assistant using Amazon Athena to investigate missing transactions in an S3 data lake. It has read-only data access and submits SQL through an application tool. Each query looks reasonable. After several inconclusive results, it keeps exploring.&lt;/p&gt;</description></item><item><title>Keep Iceberg history long enough to find the mistake</title><link>https://pretiosusdata.com/notes/keep-iceberg-history-long-enough-to-find-the-mistake/</link><pubDate>Tue, 17 Nov 2026 00:00:00 +0000</pubDate><guid>https://pretiosusdata.com/notes/keep-iceberg-history-long-enough-to-find-the-mistake/</guid><description>&lt;p&gt;Suppose a finance analyst discovers on Tuesday that last Thursday&amp;rsquo;s revenue load assigned some transactions to the wrong region. The data engineer wants to compare the table before and after that load. In this hypothetical pipeline, daily maintenance has already expired snapshots older than three days. The useful comparison point is gone.&lt;/p&gt;&#10;&lt;p&gt;Apache Iceberg tracks versions of a data lake table as snapshots. Engineers can query retained snapshots to investigate changes without first restoring a separate copy. That makes retention part of the investigation workflow. I would choose its duration from how long errors take to surface and investigate, before tuning it for storage savings.&lt;/p&gt;</description></item></channel></rss>