r/dataengineering • u/cnatsis • 23h ago
Blog Iceberg Won. Now What? 5 Lakehouse Shifts for 2027
r/dataengineering • u/AutoModerator • 3d ago
This thread is a place where you can share things that might not warrant their own thread. It is automatically posted each month and you can find previous threads in the collection.
Examples:
As always, sub rules apply. Please be respectful and stay curious.
Community Links:
r/dataengineering • u/AutoModerator • 3d ago

This is a recurring thread that happens quarterly and was created to help increase transparency around salary and compensation for Data Engineering where everybody can disclose and discuss their salaries within the industry across the world.
You can view and analyze all of the data on our DE salary page and get involved with this open-source project here.
If you'd like to share publicly as well you can comment on this thread using the template below but it will not be reflected in the dataset:
r/dataengineering • u/cnatsis • 23h ago
r/dataengineering • u/Frequent-Positive374 • 1d ago
Heyyy, so I’m building out the HR reporting and automation pipeline for my company (~20-30 people) and tbh feeling a bit lost right now, so I wanted a reality check from people actually working as BI analysts, automators, or data engineers since I'm only doing my fucking best OKAY?.
Right now, everything lives in Google Sheets + Apps Script + Looker Studio. So far I’ve built API ingestion from our HRIS, month-end snapshot logic, unpivoting, and incremental backfills. Now I’m setting up two new sentiment pages for our dashboard fed from a Google Form.
Here’s where I started doubting my whole setup (and I'm sorry if at this point you think I should've considered this a long time ago and that I should kms or something):
For the qualitative fields (challenges/pain points and team collaboration/communication), Looker Studio obviously can’t summarize raw text on the fly. My plan is to write an Apps Script triggered on form submit that calls the Gemini API to generate/update a summary per employee and per team/account in separate summary tabs, then wire that up to Looker.
The thing is, looking at my workspace, I’m starting to think maybe I just have way too many sheets. I keep worrying that if someone evaluated me as an automator, integrator, or BI analyst, I’d look like I suck because everything is in Sheets instead of a "real" database (like Postgres, Supabase, or BigQuery)
For a team of 20-30 people, is sticking with a structured Google Sheets + Apps Script + Looker Studio setup actually the right move, or should I start refactoring everything into a proper database now before adding the LLM summary layer? Would love to hear what a real person in this role would do thnx
r/dataengineering • u/DjentMachine • 1d ago
Hi all,
Asking for advice. So my SaaS company discovered the benefits of the MCP and has all its teams connecting AI to all tools they can find: from HR to Sales to product, everyone and their mothers suddenly became "AI enabled" and started proposing dashboards, reports and whatnot
I was hired to give structure to the company. When I arrived their whole data structure was built by a (brilliant) matlab programmer which had little idea why sql existed. So you'd see a lot of tables called business.customers_final_v2 with id_1, id_2 and arrays being carried inside columns and reverse etl'd into CRM platforms. Its actually impressive how the whole thing works. 0 efficiency, pipelines processing tables with around 1-10M rows can take up to 1 day to complete. But it works. Its tiring to see shit like array_agg(struc( 400 renamed fields) every 10 lines, but hey, it works! But it doesn't scale, so I started to migrate the whole data structure to a dbt style kimball model
Anyway, now my non techcnical boss is "helping me" with the migration because apparently we need to move faster. Which means: he connects claude to our DW, asks a few questions, and voilá, you have a new facts/dim table with all the comments you need. Super fast!
The question is: how should I approach this? I am tempted to do the same with minimal validations because if I will have to spend time reviewing "his" code somewhere down the line, might as well treat the whole migration as an AI fiesta and make the bosses happy. But then again, I feel so uncomfortable in publishing something that I don't understand how it works.
Anyone with similar experiences? Did you pushback? Am I just being too slow to adapt to the new paradigm?
Thanks in advance
r/dataengineering • u/hijkblck93 • 1d ago
I’ve been in IT 10 years and data for 6. Worked my way into data engineering. I do like it but the constant learning and ever-changing landscape makes me apprehensive about the future.
I’m not too concerned about AI.
I’m seriously considering going into law. I’ve always liked the idea of law and would want to use my IT expertise and go into either IP patent law or cybersecurity law or some type of data law.
I wanted to see if anyone else made that change if if they came from law, what lead that to that change.
r/dataengineering • u/WorldOfUmbro • 1d ago
We have our analytical data in Metric Views in Databricks. We are serving them to applications after syncing them to Lakebase. Our applications should intend to write comments to the data. We want to write this back to analytical data. We want to have the “same” table / view in both. We are now thinking of having a UC table synced to Lakebase and the opposite for the comments, and then the same view in both. Any better way of working? Registering Lakebase in UC?
r/dataengineering • u/sspaeti • 2d ago
One-shotting a real app didn't work for Joseph Machado, the Start Data Engineering author and ex-Netflix data engineer. He plans in small steps, reads the docs and reviews the AI-generated code, except UI markup. He watches for sprawling files and missed failure modes. Dashboards are optional in his view, but proper data modeling and SLAs are not. His setup is Pi, OpenCode Zen and the ponytail skill, and he builds an Elixir/Phoenix web app. He suggests juniors learn by building things they care about.
r/dataengineering • u/itchingpixels • 1d ago
We're a market data provider, running active-active ingestion (redundant feed handlers) and there's close-to-zero support for that in any of the open source serious message brokers.
We forked Redpanda (back when that was possible) and implemented our own version. NATS Jetstream is not a serious candidate with 5x smaller throughput than even Kafka...
Our setup may be somewhat different than others, we use our message broker as centralized state/cache, and have tons of stateless processing components they feed (if they go down, they can request)
Is this a problem anyone else had?
r/dataengineering • u/Ramirond • 2d ago
r/dataengineering • u/ivanovyordan • 2d ago
Hi all, I'm sharing an article I just wrote.
It's a bit of a rant, really. The thing is that more and more of my coworkers blame AI for the bugs in their code or the poor PR descriptions. And I really don't get it.
I mean, what's the point of "Claude wrote it" as an excuse? You merged it. Your name is on the commit. If a pipeline stops working and the numbers are off for a week, nobody cares which model wrote the merge logic. You are the one who'd be blamed.
The PR descriptions are the other thing. 500 lines of generated summary, a bullet for every file, and zero words on why the change exists or what could break downstream. Writing it yourself is the proof that you understood what you're asking people to merge.
I know this is not news, and most experienced people here will agree with me. So, I also added some practical tips about reviewing code and describing PRs in the post.
The reason for posting here is to ask you all how you deal with AI slop in code and PRs. How do you enforce ownership?
r/dataengineering • u/Leomb1 • 2d ago
I originally built this for an edge case at my company and have been maintaining it on the side for a while. Figured I'd put it out there in case it's useful to anyone else.
Basalt is a single binary that runs SQL scripts to move data around. You read from files, S3/Azure, SFTP/SMB shares, a few databases (Postgres, MySQL, SQL Server, etc.) or REST APIs, transform with SQL, and write it out somewhere else, including Delta tables.
I work mostly with linux, so sorry if no Windows or MacOS support yet.
Here are some examples you could run in the REPL (basalt repl):
A Parquet file and a CSV, both read straight over HTTPS and joined, with results printed to the terminal:
SELECT z.Borough AS borough, count(*) AS trips, round(avg(t.total_amount), 2) AS avg_fare
FROM 'https://d37ci6vzurychx.cloudfront.net/trip-data/yellow_tripdata_2024-01.parquet' t
JOIN 'https://d37ci6vzurychx.cloudfront.net/misc/taxi_zone_lookup.csv' z
ON t.PULocationID = z.LocationID
GROUP BY z.Borough ORDER BY trips DESC;A CSV on the web, summarized into a local Parquet file:
LOAD INTO 'survival.parquet' AS
SELECT Pclass AS class, Sex AS sex, count(*) AS passengers,
round(avg(Survived) * 100, 1) AS survived_pct
FROM 'https://raw.githubusercontent.com/datasciencedojo/datasets/master/titanic.csv'
GROUP BY Pclass, Sex;The tool is something I've working for myself in some cases I wanted more flexibility on, it is still early so expect rough edges..
https://github.com/leonardomb1/basalt
Feedback welcome if you try it.
r/dataengineering • u/aisatsana__ • 1d ago
r/dataengineering • u/Distinct_Currency870 • 3d ago
I wanted to know what a query would cost before it gets merged, not when the bill shows up, so I put a BigQuery dry run in CI. It reads your SQL (plain files, compiled dbt models, or SQL strings inside Python), dry-runs each query and comments the bytes and the estimated cost on the PR. It fails the check above a threshold you set. The comment looks like this:
| Status | File | Processed | Est. cost | |
|---|---|---|---|---|---|
| ❌ | sql/expensive_select_star.sql | 2.4 TiB | $15.2461 | |
| ✅ | sql/clean.sql | 4.9 MiB | $0.0000 | |
BQ001: SELECT * scans every column; list only the columns you need. |
There are also some static rules (SELECT *, LIMIT not reducing cost, wildcard tables with no _TABLE_SUFFIX, and so on), and one that reads table metadata to tell you when you query a partitioned table without filtering on the partition column.
Two things surprised me while building it. A dry run returns 0 bytes for a query with named parameters (@x) instead of failing, so the estimate can be silently too low. And in the service I tested, almost all the SQL was f-strings in Python, not .sql files, so it also parses Python (ast) to find SQL strings.
One known limit: on slot (capacity) pricing a dry run cannot predict slot time, so there the PR check gates on bytes processed instead of showing a dollar figure. An audit command prices past queries from their real slot time.
It's MIT-licensed and I'm the author. GitHub: https://github.com/Mehdi-Leqsiouer/bq-cost-guard
Curious how you're handling BigQuery cost checks in CI today, and which of these rules you'd actually let block a PR vs just warn?
r/dataengineering • u/Existing_Wealth6142 • 3d ago
r/dataengineering • u/robberviet • 3d ago
Now that duckdb starts doing distributed computing, I am seriously considering it for production work.
I don't use AWS Athena (no real data/credit), anyone tried that and has some comparision vs Trino Athena?
r/dataengineering • u/Rayleigh_1702 • 2d ago
https://github.com/shayansid1702/ETL_PremierLeague_MatchAnalysis_WithAirflow
This project implements an end-to-end ETL (Extract, Transform, Load) pipeline using Python, Pandas, Apache Airflow, Docker, and MySQL. It processes English Premier League (EPL) 2024–25 football match data, cleans and transforms the raw dataset, and loads the processed data into a MySQL database.
Can anybody tell me improvement in this pipeline
r/dataengineering • u/jhkuan • 2d ago
Hey! I'm the founder and creator of Chowder, an open-source AI-native SQL engine for multimodal data analytics.
SQL has been the language of data analytics for decades, yet much of the world's data exists in formats that traditional SQL engines can't meaningfully analyze.
With Chowder, you can run SQL directly on documents, text, images, video, audio, and more.
Chowder is built around three ideas:
- SQL becomes the interface and orchestrator of inference for analytical workloads.
- Inference is part of the query plan to optimize throughput and avoid unnecessary AI compute.
- Models return structured outputs in native SQL types that you can filter, join, and aggregate.
The engine is written in Rust and built on Apache Arrow and DataFusion.
Run everything locally or offload inference to Chowder Cloud.
GitHub: https://github.com/chowderai/chowder
Website: https://chowder.ai
Quickstart: https://docs.chowder.ai/quickstart
r/dataengineering • u/StuckWithSports • 3d ago
I mostly exist in the cloud native platform engineering space but I’d love to hear about your underrated or favorite open source solutions. There’s an endless supply of Apache foundation projects that don’t get seen enough as the others.
I know people love to use Snowflake and Databricks but I’m very interested in hearing about the open source projects that let companies and teams build out their own specialized smaller solution for their specific needs.
Polars has been huge for me over the past year, and I’ve been exploring Apache Datafushion and Ballista to hopefully take the next step in moving beyond single node (though polars itself has drastically helped reduce the line where it makes sense to switch).
Do you have any stories on what worked out for you?
r/dataengineering • u/sebzontek • 3d ago
Disclosure: I work at Deep.BI, where we support StarRocks, and a colleague wrote this.
4.2 isn't released yet, but a few things in branch-4.2 are worth knowing before you plan the upgrade:
Is anyone here already moving Spark upsert jobs on Iceberg to another engine? Curious what's held you back.
r/dataengineering • u/rmoff • 5d ago
Kafka rewritten in Brainfuck? LLMs playing Minecraft? It's not all fun and games in the world of data engineering and beyond…there are also links out to Joe Reis' state of data engineering survey 2027, a very good article of his (TIL: "Interregnum"), Postgres 19 released, DuckDB's merry-go-round of warehouse platforms (DuckDB! Bespoke Trino rewrite!), WTF are semantic layers and ontologies, Airbnb's open-sourced workflow execution engine, and lots lots more. Enjoy!
https://rmoff.net/2026/11/26/interesting-links-november-2026/
r/dataengineering • u/Past-Galactic-Astro • 5d ago
PDF table extraction is not always difficult. It is actually relatively easy when a table has a full grid. It becomes harder, but still quite reliable, when there is no grid but the data is aligned with the table headers. It becomes very hard when there is no grid and the data is not aligned with the headers.
Since tables with a grid are easy to extract, why not add the missing grid to the document?
You can add a grid even with a basic PDF reader that lets you annotate pages with shapes. However, adding a grid this way is not practical: you have to draw every line by hand, and even a single table can take a long time.
There is a better way. If you draw a bounding box around a table, you have already located that table on the page. Text alignment can then give you a first guess of the rows and columns of the table, which is what the text-based strategies in pdfplumber, PyMuPDF and Camelot do. It is much easier to correct that guess than to draw the entire grid from scratch. If you can also merge cells by removing grid segments between them, you have everything you need to add a grid to any table.
I built an app to do just that: Delineette - PDF Table Drawer. It runs entirely in your browser, so your PDFs are never sent to a server. You can use it directly at the link below or download the source code from GitHub and run it on your computer.
Adding a grid takes these steps:

2) Draw a bounding box around a table and review the grid suggested from text alignment

3) Correct the grid suggested from text alignment

4) Merge grid cells if necessary

5) Export a PDF that includes the grids or download the tables as an Excel file
Then, upload the new PDF to the tool you already use to extract tables. The grids should improve its accuracy. If your tool uses a geometric algorithm to extract tables (like pdfplumber, PyMuPDF and Camelot), extraction should be perfect as long as the added grid is correct and the tool is set to detect tables from lines. If your tool converts the page into an image and detects tables from it using vision models (like Docling, AWS Textract or AWS Bedrock Data Automation), accuracy will generally improve too, although dense tables with many rows and columns on a single page can still cause detection problems.
At this point, you are probably thinking: "Nice little app, but I'm still not going to draw every table grid by hand!" That's fair. This approach does not scale if all your tables have different structures. In that case, use the app only for the edge cases where your current data extraction pipeline fails.
However, if your documents contain many tables with the same headers and column positions (for example, a long table spanning many pages), Delineette has a powerful shortcut you can use: after drawing the grid for one table, click "Apply". Delineette finds the other tables with the same headers as the reference table and adds a grid to them.
The main limitation at the moment is that grid suggestion and "Apply" do not work on scanned documents unless they already have a text layer. You can still draw grids manually.
That's all, guys. I am looking for users who need to extract tables from PDFs with high accuracy, especially from documents with long tables that span many pages. If that describes you, send me a DM and I'll help you get started with the tool.
Web: https://table-drawer.delineette.com/
Code: https://github.com/gnatale/delineette_table_drawer
Video tutorial: https://www.youtube.com/watch?v=KvlAPHM4b78
r/dataengineering • u/ivan_kurchenko • 5d ago
Spark 4.2 is being around for a while. The post covers new functionality on examples that you can check by yourself.
r/dataengineering • u/Patar450 • 8d ago
We are implementing a Medallion Lakehouse architecture with an enterprise data model in Silver and a dimensional model in Gold.
We have a scenario where historical transaction data goes back several years, but SCD Type 2 dimension history only starts from the initial ingestion date.
For example:
dim_account
account_sk| account_id | effective_from|effective_to|1001| ACC001| 2026-01-01| 9999-12-31
fact_transactions
transaction_id|account_id|operation_date|account_sk|TX001|ACC001|2025-12-31|NULL|
TX002|ACC001|2026-01-01|1001 |
The account is known, but its historical dimensional attributes are unavailable.
We are considering the following options:
- Retain historical transactions with NULL surrogate keys while preserving natural keys.
- Assign a generic unknown dimension member.
- Generate an account-specific historical placeholder dimension version with unknown attributes.
- Restrict transaction ingestion to events occurring from the initial dimension ingestion date.
What would you do in the scenario?