[ETR #24] Thanks(less)giving


Extract. Transform. Read.

A Newsletter From Pipeline

Hi past, present or future data professional!

Since today marks Thanksgiving in the US, I hope this reaches you before your eyes glaze over from the tryptophan-induced turkey coma we all inevitably slip into.

While today is a day of gratitude, from a data engineering perspective, I’d like to focus, instead, on the under-the-radar tasks that can make a difference at this time of year—even if they don’t gain you any recognition at work.

The reason you should consider doing (or assigning) these tasks in the near future is because, for many data teams that support businesses, Q4 is when things slow down.

With many companies closing for the last week of December, it’s important to complete “housekeeping” work to keep interruptions minimal so you don’t have to fix a pipeline after an eggnog or two.

Update These Documentation Areas

Ahh documentation… Everyone needs it but no one wants to write it. Attempting to overhaul several repos or products’ worth of documentation is daunting. But to simplify an already thankless task, at a minimum ensure your documentation clearly identifies the following.

  • Escalation contact: Who do we call when this thing breaks?
  • Schedule/Trigger: When does it run and what is the trigger?
  • Data source/API documentation: If a field suddenly gets deleted upstream, how do we troubleshoot?

Delete Unused Resources

In many orgs, Q4 represents “pencils down” for the financial divisions responsible for tracking revenue and, more importantly, expenses. I’ve said in the past that if what you’re working on isn’t directly generating revenue, the next best thing is optimizing costs/resource consumption.

Deleting unused resources like SQL tables must first happen at the individual level. I can’t tell you how many tables I currently have in production right now with the “_test” suffix. Since the work day inevitably gets busy, it may be a good idea to institute a quarterly deletion.

And it’s an even better idea to automate the calculation of your savings.

Enable Logs

I’d bet that if your production scripts are missing one thing it is a consistent form of logging. Simply writing a “Beginning script” and “data loaded” message isn’t going to cut it.

If you’re stuck after logging.info(), read my perspective on how to effectively communicate execution steps using your logs.

If you’re working on cloud-based infrastructure, you’ll want to assure your logs are synced with your SaaS/PaaS provider. It’s not very helpful if you can only see error logs locally.

You may not get promoted for submitting 100 PRs for adding logging to hastily-written production scripts, but you will save yourself and your team significant time debugging.

Ensure Your Privacy Policy Is Updated

The holidays usher in a time of year when companies are unusually generous, offering parties, gifts and bonuses. The last thing you want to do is get slapped with a fine for failing to comply with an increasing number of international data privacy policies.

This slow time is a good time to volunteer to audit your highly sensitive data sources and, if necessary, leverage your cloud provider’s data protection tools to encrypt and/or flag problematic fields.

Knowing your data is sufficiently encrypted and your builds are extensively documented should allow you to sleep much more soundly during your post-feast nap.

Here are this week’s links:

Questions? I’ll try to answer between bites: zach@pipelinetode.com

Happy Thanksgiving and thanks for ingesting,

-Zach Quinn

Pipeline To DE

Top data engineering writer on Medium & Senior Data Engineer in media; I use my skills as a former journalist to demystify data science/programming concepts so beginners to professionals can target, land and excel in data-driven roles.

Read more from Pipeline To DE

Extract. Transform. Read. A newsletter from Pipeline Hi past, present or future data professional! From 2014-2017 I lived in Phoenix, Arizona and enjoyed the state’s best resident privilege: No daylight saving time. If you’re unaware (and if you're in the other 49 US states, you’re really unaware), March 9th was daylight saving, when we spring forward an hour. If you think this messes up your microwave and oven clocks, just wait until you check on your data pipelines. Even though data teams...

Extract. Transform. Read. A newsletter from Pipeline Hi past, present or future data professional! As difficult as data engineering can be, 95% of the time there is a structure to data that originates from external streams, APIs and vendor file deliveries. Useful context is provided via documentation and stakeholder requirements. And specific libraries and SDKs exist to help speed up the pipeline build process. But what about the other 5% of the time when requirements might be structured, but...

Extract. Transform. Read. A newsletter from Pipeline Hi past, present or future data professional! To clarify the focus of this edition of the newsletter, the reason you shouldn’t bother learning certain data engineering skills is due to one of two scenarios— You won’t need them You’ll learn them on the job You won’t need them Generally these are peripheral skills that you *technically* need but will hardly ever use. One of the most obvious skills, for most data engineering teams, is any...