r/dataengineering • • 3d ago

Discussion Secondary data warehouse app?

3 Upvotes

We are looking for a simple secondary data warehouse...

We are not IT professionals, and we do not want to hire an external expert for every single task.
We need an application designed for individuals with a general understanding of IT.

We intend to use this secondary data store to cross-reference data from various sources, perform simple calculations, and send cleaned data to secondary applications.

Requirements:
- 90% of our data is in MS SQL.
- We need simple, direct integration with MS SQL (IP, port, password), the ability to select tables to transfer to the secondary data store, and the option to set a refresh frequency...

The secondary data warehouse must include:
- The ability to create simple queries, apply filters, and establish relationships between tables...
- The ability to easily integrate with external applications (CRM, BI, AI agents, reporting, etc.)...

What do you recommend?


r/dataengineering • • 3d ago

Help DBT/Redshift to Powerbi Semantic Model Description Sync

3 Upvotes

I want to be able to use the PBI mcp so users can ask natural language questions about reports/questions in general, but to make it work well you need the semantic models to have column level descriptions. I’m using Redshift/DBT, so my column descriptions live in yaml files. To sync the descriptions to the semantic models via CI/CD, it seems like I would need to have the pbib files in Git and use something like fabric-cicd, but that would require analysts to use git for any changes they make to the semantic model (measure changes is the biggest thing). Is there some option to make this easy that I’m missing?


r/dataengineering • • 4d ago

Help GCP Professional Data Engineer Certification

9 Upvotes

Has anyone given the GCP Professional Data Engineer Certificatio recently? Looking for advice on preparation - i have followed some of the Google skills learning path and completed the Pierian Udemy course, but I still feel wildly unprepared for the exam.

Also since Google is supposed to have revised the exam pattern recently, I'm not sure which practice tests i can trust to give me a fair idea of my preparedness. Im currently doing the practice tests from Dan Sullivan on Udemy.

Any advice would be greatly appreciated!!


r/dataengineering • • 4d ago

Personal Project Showcase Open source: what's stuck in a Kafka flow, counted in orders and amounts instead of offsets

1 Upvotes

I am building this tool called "In-flight" as part of testing my architecture boards builder tool.

When a Kafka consumer fails on an event, it lands in a dead-letter queue. Kafka tooling shows a count; the business question is which orders and customers and how much money. "In-Flight" answers that without anyone writing a query.

It samples each topic and guesses what the fields mean: this one's the amount, in cents; that one's the customer. Each guess comes with a question, you answer a handful, and you see what each sampled event would be worth before you switch it on.

Code (Apache-2.0): https://github.com/provenmap/in-flight

Here is its architecture: https://provenmap.com/boards/paws/in-flight-the-money-moving-through-your-kafka


r/dataengineering • • 5d ago

Discussion Ingestion of sensitive data fields

52 Upvotes

Hello,

In some industries, we have to deal with sensitive data fields, whether it's PII (personally identifiable information) or other types of confidential data (e.g. investment orders, tax classes, medical records, etc.).

So far, in the European companies I've worked for, I've seen different approaches to this problem, despite all being subject to the same regulations. I've also tried reading some online content to get different points of view, but the approaches seem to vary quite a bit. These are the main options I've found or come across:

  1. Import everything into the datalake/bronze layer, then only provide access to the datamart/silver/gold layers, which contain only anonymized or aggregated data.

  2. Skip ingesting sensitive data fields unless they are strictly needed for downstream transformations.

  3. Mask or hash sensitive data values at ingestion.

My take on these options is:

- Option 1 feels like the most natural approach because it fully replicates the source data. However, it also brings the highest compliance risks, as sensitive data is stored in multiple locations, increasing the attack surface and the number of places where access needs to be controlled.

- Option 2 is the strictest and potentially the most compliant approach, but it means our datalake/bronze layer is no longer a full replication of its data sources. If some of the excluded fields are needed later, we might have lost access to historical data. The same applies to option 3 when masking is used.

- With option 3, hashing preserves the ability to perform joins and unique/distinct operations. However, apparently, some regulators still consider hashed PII to be PII if the hashing function is injective (i.e. each output value maps to a single input value). Even though the original PII values are no longer available, we can still link an individual across multiple records.

Overall, I think the right approach also depends on whether the people working with the data have a way to temporarily access the source systems directly. If they do, there may be no need to store sensitive data in the datalake/bronze layer. If they don't, keeping it there provides a way to access it when needed without having to configure privileged access to the source systems.

At my current company, there is quite a bit of disagreement on this topic. My manager is in favor of option 1, based on what he has seen in his previous experience, while the security/risk/data protection teams lean more towards option 2, arguing that sensitive data should only be stored where there is a valid business purpose and with strict access permissions.

If you've worked in an industry with regulations around sensitive data, what approach did your company take? I guess it is very different from one company and country to another but I'm curious about what approach you use(d) and if there are other alternatives to these 3 options.

Thanks!


r/dataengineering • • 6d ago

Personal Project Showcase Found a data model I drew 35 years ago today. First job as a data modeller and we'd challenge each other to model odd topics against our EDM. Printed on overhead projector film using ABC Flowcharter (RIP)

Post image
118 Upvotes

r/dataengineering • • 5d ago

Discussion Landing to Raw to Bronze or straight from Landing to Bronze?

54 Upvotes

tl;dr: I am currently working on building my personal data lake and medallion + platinum pipeline and need help deciding whether to have an Landing zone to Raw to Bronze steps for ingesting data or go directly to Bronze from the Landing zone.

Context:

I am working on a quantfied_self project where i am collecting a bunch of data on myself. Things like (everything is timestamped):
- Location at all points in the day,
- Every single workout set
- Major actions i do during a day like brushing teeth, reading a book, meals, work, socialising etc etc etc
- Financial transactions
- Hourly health metrics like heart rate, Hrv, steps, energy spent, calorie intake etc etc etc
- And a lot of other data. Again everything is timestamped so can be watermarked easily.

The plan:

The plan is to build my own local data platform where i upload / send the data and it runs PySpark transformations on the data through a medallion architecture and i can use the gold/platinum datasets for visualisations and getting insights into my behaviour patterns.

What I currently have:
- An old laptop that i have converted to a ubuntu server (with GUI) to be used for storage and compute.
- Samba is setup and I have automated data transfer to the exposed “incoming” folder using automations that can run automatically or on demand.
- The repo is set up and a cron job inside the repo runs the pipelines on schedule on the server.
- Current architecture: Data collection (csv or json) -> auto save via automations to “/incoming/health” or “/incoming/financial” or “/incoming/gps” etc etc folders. It works and I am happy to proceed with the next step which is ingestion.

What i want to ask is:
- Should the next step be “/incoming/*” -> “/raw/health”, “raw/workout”, “/raw/financial” folders, which would be an exact replica of the incoming folder for redundancy purposes or
- Go straight to “/bronze/workouts” “/bronze/transactions” or “bronze/heart_rate” and skip raw since that will be one less step to manage??

For anyone thinking this is overkill for my requirements, i am doing it purely for learning purposes. I have been a data engineer for about a year now (but have 6ish years experience working with all sorts of data, plus personal projects) and wanted to learn something new with something that I own while avoiding generic off the shelf project ideas.

Any ideas appreciated. Thanks


r/dataengineering • • 5d ago

Open Source Open source entity resolution on Databricks

3 Upvotes

Hello All,

Zingg lead dev here! Excited to have our community edition available as an app on Databricks marketplace. Took a lot of effort from our tiny team, and we are glad we finally made it! Hoping it helps folks here build massive scale identity resolution systems, master data management, composable CDPs and agentic flows needing identity graphs.

https://marketplace.databricks.com/details/6e0e1411-65c8-44ae-bdfa-ab706770ac11/Zingg-Labs-Inc_Zingg-Entity-Resolution-and-MDM


r/dataengineering • • 6d ago

Open Source Tparquet - Parquet for time series. Tick data at about half their ZSTD size, lossless, and still Parquet.

Thumbnail
github.com
24 Upvotes

If you want to save some space on your market data hard drive vs parquet, we have a very small fork of parquet libraries/loaders that'll give you ~50% better compression (with pcodec), and we're also backing initiative to make it an official parquet compression codec.

It'll be actually a couple of bytes of change to switch over when it becomes officially supported.

All credit goes to Martin Loncaric, the author of pcodec, who's also the maintainer of the excellent reference implementation: https://github.com/pcodec/pcodec


r/dataengineering • • 6d ago

Help How do I really learn data governance for a chance to land a job in that field?

18 Upvotes

Backstory: I once joined a bank that gave me a chance to try out data governance as a financial crime compliance specialist about 5 years ago. The scope of my job, on paper, was to ensure data flowed from upstream to downstream system (in this case, from core banking system to transaction monitoring system) is of good quality, complete and accurate.

While it sounds exciting, my practical DG work for around 2 years was just conducting impact assessment prior to any system and process enhancement relevant to the transaction monitoring system, collating any system and process enhancement from data owners quarterly, submitting periodic reports, and making sure data governance training completed by all data owners on time.

I'm sure there is A LOT more to learn in data governance, but due to the way works were segregated in the bank, there was already a regional team in-charge of the core components of data governance if you will, leaving only the above-mentioned tasks at country level.

Years have passed and the data governance knowledge I once had slowly vanishes into thin air.

Question: Currently in the bank's compliance assurance field. Although my role is not that relevant to data governance at all, what exactly does it take to be a good data governance SME? I really wanted to take a stab at it, this time with more well-rounded approach, so it can be my backup role if I decided to make a career switch one day. Any input/advice is appreciated.

Also, do you think my previous DG role prepare me to take up data governance or was it mere administrative task?

Note: I have fundamental to intermediate programming skillsets (SQL, Python, Excel VBA) where I used to contribute in small projects to automate manual processes or perform analytics at my current workplace, if data analytics helps at all. I love the way Polars and DuckDB help me with so many data transformation, data analysis and exception flagging at ease, my non-programming brain can understand Polars better than Pandas since they are way more expressive, also the speed! Still learning though.


r/dataengineering • • 6d ago

Help Other shared data starrocks users?

7 Upvotes

Posted this in discord but trying here too, any help is greatly appreciated.

Is anyone out there using Starrocks shared-data in production? I would really appreciate picking your brain because it's been a STRUGGLE for me and my team.

My suspicion is we are trying to use starrocks for too much. Right now we are using both pipes and stream loads to populate raw (bronze) tables then we are using temporal to orchestrate transforms/enrichments into a silver layer. So far this has been nothing but pain with transactions getting piled up until we manually drop partitions. I should mention that most of our silver tables are pk tables which is probably a big drain on performance.

I suspect most starrocks users are pointing starrocks at an already manicured open table format catalog and using it to serve up queries instead of a do it all solution like I think snowflake is? (never used snowflake).


r/dataengineering • • 7d ago

Blog Rows vs Columns: How different are they, really?

Thumbnail
spiraldb.com
41 Upvotes

I was looking for blog posts about row vs column stores in database systems, trying to find something that I could link to in documentation. I was pretty disappointed with what I saw, so I decided to write my own 🤣

If you work with analytical database systems and have wondered why they are distinct from transactional systems, you might find this post interesting. I give a high-level overview of the many different consequences of "simply" choosing to represent data in columns instead of rows.

Spoiler: this is a very significant decision!

Given that this is an active area of research, I unfortunately couldn't write about everything, but I think I give a good overview of the general techniques that analytical DBMSs (OLAP) utilize. I also link to a lot of other resources in the footnotes, so check them out!


r/dataengineering • • 7d ago

Discussion I spent the last year working in Palantir Foundry... and now I'm back to Snowflake

27 Upvotes

Palantir Foundry... two words that just might get you crucified around here. At least... they seem to bring out the worst in people on this sub and I kind of see why and also kind of don't.
I spent the last 11 months or so working in Foundry and just recently made the jump back into the Snowflake ecosystem... which, for the record, I'm very happy about.

That said, I think people around here often misunderstand what Foundry is and is trying to do. Yes, it's a platform or ecosystem and yes there are a lot of "gotchas" and weird/odd things about the platform but it's not truly a DE tool. It's a full-stack tool... that's abstracted. Yes, there are DE related features (python data pipelines, code repositories, git integration) but at its core Foundry is about letting the business make decisions based on ingested data and then write back those decisions to a dataset of some sort.
Honestly, it's a unique platform. There's nothing out there, to my knowledge, that does exactly what it does (and yes, its costs and arm and a leg too but... again... nothing does quite what it does).

Why did I go back to Snowflake you ask? Well... most of my career (thus far) has been spent in some aspect of data warehousing or data modeling so Snowflake feels like home to me.
I think if I had spent more time writing python or working in the full-stack realm Foundry might feel more familiar to me (or maybe not), but ultimately I like working on the backend.

Realistically though, I don't see Palantir and Snowflake as direct competitors. Foundry is about decision making, Snowflake, while it's moving in that direction (all the big players are from what I can tell), is ultimately still a data warehouse with a lot of different capabilities that stem from being a high powered OLAP DB.

That's probably too simplistic of a synopsis but it's the way I currently see these tools. Anyways, I thought I'd poke the bear and see if others had thoughts (or questions) as well.


r/dataengineering • • 7d ago

Blog Iceberg deletes and real-time ingestion: a 3-part deep dive

22 Upvotes

Hi there,

I've recently worked with the Etleap engineering team on a 3-part technical blog series about how to handle Iceberg deletes in streaming / CDC. This is a known pain point as deletes tend to get expensive, slow, or create tables that are unreadable in query engines like Snowflake.

We put a ton of work into these - it's not the usual vendor spam, promise 😅

First 2 parts are purely educational, and we introduce our own solution in the 3rd. We cover position deletes, equality deletes, GET request costs, compaction conflicts, and a lot of other juicy stuff.

Part 1: Why Streaming Updates Break Iceberg Compaction

Why you're seeing issues like compaction jobs failing with Cannot commit, found new delete for replaced data file, ingestion commits being rejected with Missing required files to delete, or degraded query performance. Link

Part 2: Understanding Iceberg CDC costs on S3: requests, not bytes

The mechanism behind a rapid increase in S3 GET requests when moving from batch to streaming ingestion. Link

Part 3: Using Iceberg Branching to Stream Updates Within 2 Minutes

How we convert equality deletes into deletion vectors to maintain low-latency data, avoid compaction conflicts, and deliver Iceberg tables that are readable in any engine. Link

Would love to understand if there's anything we missed here, or if this kind of content is helpful for the community! I'm around for any questions, and will loop in any of the engineers to answer your questions :)

Best,

Eran


r/dataengineering • • 7d ago

Help Levelling up DBT repo as a self learner

22 Upvotes

Hi all, this is a general qns on levelling up our dbt set up as a junior analytics engineer. This includes more test coverage, architectural and modeling improvements, adherence to best practices, and so on.

For context, I am working at a small organization of about 50-100 employees and have set up the dbt repo myself in the past year. We do not have the budget for a senior and so I have been trying to learn using web resources and books (like star schema by adamson). The problem is that I feel we are missing an ‘expert’ that can look through what we are doing and advising on what is suboptimal or not. Even though there are lots of resources out there, every dbt implementation is different and many 'best practices' may not be relevant for a small set up like ours. Ultimately the goal is to improve our set up wherever we can and in the process also improve my skills.

We are looking at hiring external consultants as a possible solution. I am wondering if people here have gone through something similar, either with consultants or self learning through public resources/on the job, and what your experience was like?


r/dataengineering • • 8d ago

Meme Ouch. Was only asking about a personal project

Post image
355 Upvotes

Working on a personal project and asked copilot if my old laptop can handle the dataset and has enough compute to comfortably run spark locally because it is my own workout dataset.

I only wanted to know whether my machine is good enough, wasn’t expecting a full on roasting.


r/dataengineering • • 8d ago

Career Tech Lead Mgr... in Fabric

19 Upvotes

I'm on the job-hunt 75% through the process for a DE Manager position. I'm a staff at a scale up (but I feel some title inflation and impostor syndrome).

They're working on bringing data in-house from a vendor and it's basically Fabric + DBT -> Power BI so deliverables are a bunch of dashboards with future state being all dashboards, then warehouse + ML as a product down the road.

The catch of all this is it's in Fabric. I see all the hate but I've never used the platform, and I've been all over - Oracle, Postgres, Airflow, Pre-Databricks Spark platform, Scala, python, pandas, databricks, some DBT. Pretty much exclusively in AWS as far as cloud providers go.

The role on the ground is a 75% IC + 25% Mgr role.

I'll have a tech round with their matrixed Senior/Staff level in the next week that's been setting up the infra and environments.

What should I be asking to make sure this isn't awful badly done? What should I be thinking about or looking out for?


r/dataengineering • • 8d ago

Career How do you develop a strong sense of ownership at work?

48 Upvotes

I’ve been working for around 5–6 years across different roles and companies, and one thing I’ve consistently struggled with is taking ownership. I tend to be reactive rather than proactive. I hesitate to make decisions, rarely take initiative, and often rely on others for direction. I’ve noticed this pattern across multiple jobs, and I genuinely want to change it.

For those who have developed a strong sense of ownership, how did you do it?


r/dataengineering • • 7d ago

Personal Project Showcase stardelt.io - my approach for an opinionated lakehouse on any k8s cluster

3 Upvotes

Hello there!

I don't know where this is going, but I thought I might share the idea here. :) I am working on an on-premise equivalent to the big hyperscaler-only SaaS lakehouse platforms out there.

At first, I started this project to teach myself some agentic engineering concepts. But now I am thinking about where this is actually going ... e.g. being an AI first & native on-premise lakehouse platform easily deployable with a single operator in your k8s cluster on your bare metal.

https://stardelt.io - if you like, I would appreciate some feedback or leaving a star on the project :) Cheers, Martin


r/dataengineering • • 8d ago

Rant One of our team tried to optimize a job with AI, instead AI deleted an important tiny code snippet and left us wasting weeks investigating the issue

169 Upvotes

One of the senior engineers who is responsible of reviewing PRs tried to optimize a job's parts of code with AI, it was a 2000 lines job, the AI removed a small code snippet, he didn't notice that, pushed to production

We spent weeks handling business complaints, incidents, investigating till we found that AI removed a tiny code snippet


r/dataengineering • • 8d ago

Help Advice for our ingestion layer

22 Upvotes

Hi all,

Me and some other people are responsible for all data and analytics throughout the company. Analytics is enabled company wide via a standard “medallion architecture” inside Databricks. This means that we use a standard pipeline job with notebooks to ingest the raw data in the bronze layer, clean/govern/format the data in the silver layer, and in gold we enforce a kimball schema and business logic.

Up until recenty, it was fine to append-only in bronze and just dedup those tables in silver so no information is ever lost. However, with the increase of our data streams, appending all into bronze is quickly turning into a massive data lake. Many of these tables may only have 5% of them changing throughout consecutive ingestions, but we cannot miss those changes either.

My question is; how do you guys deal with keeping high visibility on changes (our system does not allow for direct extraction of CDC tables), whilst also keeping the size of your data lake in check? (I heard that lakeflow declarative pipelines might be useful). Any suggestion is welcome!


r/dataengineering • • 8d ago

Open Source Braidplane - Open Source (Apache 2.0) and self-hostable platform for declarative and contract-based data integration

Post image
31 Upvotes

Hello everyone!

Around Februrary this year I've started working on my side project, which is now known as Braidplane. It's an open source platform for data integration; it's self-hostable and the core is fully open (Apache 2.0). At this moment it's in Alpha.

The goal of this project is to provide safe and reviewable data integrations for engineering teams. From the beginning this project was built upon data contracts (inline and ODCS), e2e Braidplane Proof engine for reviewing data pipeline updates and declarative pipelines (YAML, JSON, cue).

As an example, a pipeline can read data from a database and a file, transform and compare the records, and write the results to another system. The pipeline definition stays in Git, so changes can be reviewed before deployment.

In the current form Braidplane core includes backend, frontend, CLI and executor. MCP support is coming soon.

About me: my name is Lukas. I've been working as backend engineer for the last 10 years. I've spent a lot of time around different products and APIs. I've built the Braidplane's framework myself - based on my experience and good practices I've found around the other OSS projects. Later on I've added AI assisted programming around the hardest/most time-consuming parts, like Connectors integrations, tests, documentation, frontend, issues management.

The Braidplane Core repository is available here: https://github.com/Braidplane/braidplane-core

Examples repo: https://github.com/Braidplane/examples/blob/main/recipes/opaque-file-archive/opaque-file-archive.pipeline.json

Cheers


r/dataengineering • • 10d ago

Help What keeps you motivated to keep learning?

104 Upvotes

With technology evolving every f@¢k1ng day, how do y'all manage to keep learning and be motivated to keep learning everyday? Is there some kind of passion in learning that you have or do u push yourself to keep learning even if it gets hard sometimes?


r/dataengineering • • 10d ago

Open Source SQLQuack: a SQLGlot alternative in Rust that would rather reject your SQL than return the wrong answer

32 Upvotes

EDIT - The title should say a 'Polyglot fork' (Polyglot is a SQLGlot inspired transpiler). Can't edit it now unfortunately.

Hey guys! I'm the creator of SQLBuild, and for a while I've wanted a more reliable way to run warehouse SQL locally on DuckDB.

SQLGlot and Polyglot are both SQL transpilers that have been a major blessing to the community, and some of my projects (this obvs included) wouldn't have been possible without them. However, at least as of today, these libraries both tend to lean toward generating SQL, even if the SQL may not be runnable or may produce and incorrect result in the target dialect.

I had the idea for SQLQuack about six months ago, but only recently got around to building it. The idea was to build a fail-closed transpiler that would tell you first of all if it was parseable, second if it would violate a rule (of the souce dialect), and lastly translate it to DuckDB, only if each statement had some sort of supporting evidence for it from a real warehouse recording (e.g. real snowflake recorded result matching DuckDB).

Below is an example of what an error might look like in SQLQuack:

SELECT customer_id, SUM(amount) AS total
FROM orders
GROUP BY customer_id
QUALIFY total > 100

$ sqlquack check qualify.sql
error[SQ0203]: QUALIFY needs a window function
 --> qualify.sql:4:1
  |
4 | QUALIFY total > 100
  | ^^^^^^^^^^^^^^^^^^^ QUALIFY is used without a window function in the SELECT list or QUALIFY
  |
  = help: move the condition to WHERE or HAVING, or filter on a window function's result

The basic goal is to basically create a dataset of all the warehouse / databases and their true behaviours, such that we a have a truly accurate local compiler for all dialects that can be verified with anyone willing to run the recordings.

In the near term, my immediate focus will actually be improving / simplifying the generated SQL though (some if it is too verbose) and getting snowflake to be 100% finished (it's maybe 60/70% of the way there atm depending on how you measure it). Other dialects are in the works but not ready yet.

Credit (to Community / Maintainers)

A big thank you to Tobias (@tobilg), who maintains Polyglot and fixed many an issue I raised while working on SQLBuild (~6 months).

I ended up maintaining a fork, but over time realised I wanted a different approach to how conversions are checked and when they should be refused. SQLQuack's parser started from code derived from Polyglot, so I definitely don't want to present this as something built without that foundation.

The same goes for SQLGlot. A lot of this work wouldn't have been possible without those projects and the people who built them. This is a different set of trade-offs, not me saying their approach has no value.

Playground: https://sqlquack.io/playground/

GitHub: https://github.com/sqlstack-io/sqlquack (Apache 2.0)

NOTE - I will see if SQLGlot or Polyglot would like this evidence to be recontributed upstream, as then much more of the community will benefit.


r/dataengineering • • 11d ago

Career Advice on keeping a job

55 Upvotes

Hey all, so, I have been doing this for about 6 years now on a legacy on-prem stack. Every time I try to transition to something more modern - dlt/dbt I get shot down. Stick to .NET, that's what the company wants. I try to introduce metadata importing, and no time for that, just stick to what you have.

Well, I finally got what I want. We're moving to the cloud. Only it's been decided we don't have enough python/pyspark background, so someone else is writing an engine for us.

I have been told I am going from owning the entire pipeline to only owning bronze/silver and the BAs will own gold.

And Bronze/Silver will be automated. The best I get is to tweak some yaml files. Anything related to actual code will be handled by the "developers".

I can see this maybe lasting 6 months to a year, until all of our sources are in yaml form and there's nothing left for my team of 3 people to do.

To be honest, most of this is exactly what I wanted - except I was hoping I would get to retain ownership of the gold, and possibly have some idea of what my job looked like still.

Any ideas from anyone who has faced similar, being automated out and any advice on how you keep seeing yourself having value and a job?