The Bhagavad Gita
of Data Engineering
A survival guide for the AI age. The philosophy is serious. The industry, regrettably, is not.
Five thousand years ago, on the field of Kurukshetra, the greatest archer of his generation put down his bow.
Arjuna was not undertrained. He was not outnumbered in any way that mattered. He simply looked at what was in front of him and could not find a version of himself that survived the next ten minutes intact. His hands shook. His mouth went dry. The Gandiva — the bow that had never left his grip in battle — slipped.
Sound familiar?
In 2026, the data engineer arrives at a similar moment, usually somewhere between the second coffee and the first stand-up. You've spent years — maybe decades — on SQL, Python, Spark, Airflow, dbt, Terraform. You've moved petabytes. You've debugged a join at 3 a.m. while your partner asked, reasonably, what a "skew" was. You earned your place.
Then a headline informs you that your entire discipline has been deprecated. Your VP forwards it. With a smiley.
Arjuna, to be fair, had it easier. His enemies at least stood still long enough to be counted. Yours ship a new minor version while you are reading about them.
And the anxiety is not irrational. The tools are being abstracted. The grunt work that quietly taught a generation its judgment — the tedious profiling, the manual reconciliation, the afternoon lost to a timezone bug — is being automated away before the next generation can be bored by it. That is a real loss and pretending otherwise is its own kind of denial.
So the question is not whether the battlefield changed. It changed. The question is the one Krishna answered: what do you do while standing on it?
विषीदन्तमिदं वाक्यमुवाच मधुसूदनः॥
Notice what Krishna does not do. He does not tell Arjuna to leave the field. He does not tell him to try harder. He does not send him a link to a course.
He gives him something rarer: a way of acting clearly when the outcome is genuinely uncertain. Seven hundred verses, eighteen chapters, and not one of them is a tooling recommendation.
Which is convenient, because your tooling recommendation expires on Thursday.
Arjuna's Paralysis Is Your LinkedIn Feed
Arjuna's crisis was never tactical. It was about identity. He was a warrior. Everything he believed about himself was welded to being the best at one specific thing. The moment that thing stopped guaranteeing a good outcome, he collapsed — not physically, existentially.
This is what FOBO — the Fear of Becoming Obsolete — actually feels like. It is not the fear of being fired tomorrow. It is the low hum of suspecting that your skills are depreciating faster than you can amortise them, and that the definition of "relevant" is being rewritten by people who have never had to explain a Kafka consumer lag to a CFO.
The feed does not help. The feed is designed not to help.
By the time that number reaches your feed it will have become "52% of engineers have already been replaced," attributed to a report nobody has opened, in a carousel with eleven slides and one spelling mistake.
Here is what Krishna understood and the feed does not: the paralysis is the problem, not the battlefield. Arjuna was not defeated by the opposing army. He was defeated by a fixed idea of who he was. The moment he defined himself as "the archer" rather than "the one who acts rightly," he was stuck — and no amount of additional archery was going to unstick him.
The engineer who defines themselves as "the Spark person" is making precisely the same move, with a smaller bow.
Three colleagues you already have
Every data team I have worked on has contained the same three people. Names change. Behaviour does not. They will keep turning up in this article, because they keep turning up in your standup.
Tamas Tambi
Believes nothing important has been invented since Hadoop 2.7. Owns a nightly job from 2012 that nobody is allowed to touch, read, or discuss above a whisper.
"We already solved this in 2014."
Rajas Rao
Collects frameworks, badges and certificates the way other people collect stamps. Has 73 browser tabs open and no idea which one is playing the music.
"Guys — everything has changed."
Sattva Subramaniam
Asks three questions in every design review and is ignored in every design review. Six months later somebody schedules a meeting called Architecture Remediation Initiative.
"What problem are we solving?"
Nobody remembers what Tambi solved in 2014. Nobody has finished anything Rao started. And nobody, in the history of the enterprise, has answered Subramaniam's second question — "Who consumes this data?" — on the first attempt.
Between stimulus and response there is a space. In that space is our power to choose our response. In our response lies our growth and our freedom.
— Viktor Frankl, Man's Search for Meaning
Frankl, writing out of Auschwitz, reached the same place Krishna took Arjuna on the chariot: you do not control the field, you control your response to it. The Stoics called it the dichotomy of control. The Gita calls the person who has mastered it Sthitaprajña — of steady wisdom.
Your feed calls it "building in public." It is not the same thing.
You Are Not Your Tools
The bow is not the archer. This is not a metaphor I invented; it is the oldest one in the discipline. Arjuna's Gandiva was a magnificent weapon. It was also, in the end, a stick with a string, and the entire Gita happens because a stick with a string cannot tell you what is worth doing.
Data engineering has run this experiment about once every six years, in public, with everyone's résumés attached.
Every one of those technologies was, at launch, the end of history. Every one of them was going to make the previous thing a curiosity. Every one of them had a conference, an evangelist, and a certification track priced like a small holiday.
And every single time, the engineers who came through the transition intact were not the ones who had memorised the tool.
COBOL and the mainframe
Declared dead roughly every year since 1985. Still moving your salary. The engineers who understood transactions, not syntax, are now consultants with excellent rates.
Oracle, the data warehouse, the ETL tool
Drag-and-drop was going to remove the need for engineers. It removed the need for one specific kind of engineer and created four new kinds.
Hadoop, MapReduce, the data lake
We bought the cluster before we knew the question. Some of us are still finding files in it. "Schema on read" turned out to mean "schema on somebody else."
Spark, Snowflake, Databricks, dbt
The lake became a lakehouse, the warehouse became a platform, and every SELECT statement acquired a YAML file explaining itself.
Copilots, agents, generated everything
Faster than any of the above, and the first one that writes the migration guide for the next one. Genuinely different in degree. Not different in what it asks of you.
Across all of it, the durable skill list has barely moved:
How data actually flows. How systems actually fail. What "quality" means when two departments define a customer differently and both are right. Latency and what people will pay for it. Semantics. Trade-offs. Where the business keeps its real numbers, as opposed to the ones in the dashboard.
None of those appear on a certificate. All of them survive the next migration.
Bows are replaced. Archers are promoted.
The Three Gunas of a Tech Career
The Gita describes three qualities — Gunas — woven through all of nature and therefore through all human behaviour: Tamas (inertia, dullness), Rajas (restless activity, craving), and Sattva (clarity, harmony). They are not personality types. They are weather. Everyone passes through all three, usually before lunch.
But in a disruption, each one produces a very specific kind of engineer. You have met all three. You have been all three.
Tamas
"AI is hype. It'll blow over. I'll keep doing what I've always done."
- Tool stack
- Whatever worked in 2017.
- Favourite phrase
- "This is enterprise-grade."
- Runs nightly
- A 14-year-old job nobody can switch off, because nobody knows what it feeds.
- Strategy
- Wait for the storm to apologise and leave.
Rajas
"Everything changed this morning. I need to learn all of it by Friday."
- Monday
- Determined to master LangChain.
- Tuesday
- Discovers LangGraph. Starts over.
- Thursday
- Somebody says "MCP" in a meeting.
- Friday
- Seventeen half-finished repos. Production still failing, because someone changed a column from INT to VARCHAR on Monday.
Sattva
"What actually matters here? And what is this week's noise?"
- Method
- Experiments without panicking. Ships one thing.
- Studies
- AI, architecture, modelling, the domain — in that order of leverage, not of excitement.
- Favourite question
- "What problem does this solve?"
- Superpower
- Reads the release notes before the announcement thread.
निबध्नन्ति महाबाहो देहे देहिनमव्ययम्॥
Read that last word again: bind. All three bind. Sattva is the pleasantest rope, but it is still a rope. Which is the part the LinkedIn version always leaves out, because "achieve clarity, then transcend even that" does not fit in a carousel.
The practical point for a career is smaller and more useful. Most of us do not sit in one Guna. We oscillate. Tamas on Monday, when we ignore the migration email. Rajas on Tuesday, when we enrol in three courses at midnight. Tamas again on Wednesday, when we do not open any of them. And on Thursday we read layoff threads until we feel briefly, horribly awake.
Both moods feel like reactions to the outside world. Both are actually the same trap: paralysis by denial, and paralysis by noise. Neither of them writes a line of production code.
Sattva is not enthusiasm and it is not detachment-flavoured indifference. It is discernment — the ability to look at a hundred announcements and ask which two of them change how you would design a system, then let the other ninety-eight go past without lodging in your nervous system.
This Isn't Only Eastern Philosophy
If the Gita feels far away, notice how many traditions walked to the same conclusion without consulting each other. The insight is not Indian or Western. It is what humans work out whenever the ground moves.
Marcus Aurelius — the dichotomy of control
Separate what is yours (your response, your craft, your effort) from what is not (the market, the reorg, the roadmap). Written by a man who ran an empire and still could not get his own generals to answer email.
Viktor Frankl — meaning under conditions you did not choose
Those who endured were not the strongest; they were the ones who found meaning inside the situation. The engineer whose meaning lives in the craft outlasts the one whose meaning lives in the job title.
Bruce Lee — "be water"
Formlessness beats a perfect stance. Your identity is not the technique. It is the awareness choosing the technique. Applies equally to jeet kune do and to whether you really need Kafka for four hundred rows a day.
Mihály Csíkszentmihályi — flow
Total absorption in the task, self forgotten, outcome irrelevant for the duration. Every engineer has felt it, usually at 11 p.m., usually right before discovering the bug was a trailing space.
Nishkama Karma: The Career Strategy Nobody Teaches
मा कर्मफलहेतुर्भूर्मा ते सङ्गोऽस्त्वकर्मणि॥
This is the most quoted verse in Indian philosophy and probably the most misread. People take it as "do not care about results," which would be a licence for mediocrity, and Krishna is not in the business of licensing mediocrity. Note the second half: nor let there be attachment to inaction. He closes the escape hatch in the same breath.
What it actually asks for is harder than either extreme: work at full intensity, full skill, full attention — and stop staking your identity on an outcome that was never in your jurisdiction. The arrow is yours. Its flight is weather, wind, and eleven other people.
Translated into a job that has stand-ups:
Your adhikāra — your jurisdiction
- The quality of the architecture
- Whether it has tests, and whether they test anything
- Observability that a stranger can read at 3 a.m.
- Documentation that survives your notice period
- The assumptions you wrote down instead of held
- What you chose to learn deeply this quarter
- Your judgment, and your honesty about its limits
Not yours. Never was.
- The reorg
- Your VP's new strategy deck
- The share price
- Layoffs
- Which framework becomes fashionable
- Whether a recruiter's keyword filter can spell "Airflow"
- Whether someone calls your perfectly functioning pipeline "legacy" in a meeting you were not invited to
You may design the finest pipeline known to mankind. Idempotent. Backfillable. Documented. Tested. Alerting that pages the right person with the right context.
Then Finance buys a company.
Congratulations. Your source system is now three source systems, one of which exports to SFTP on a schedule that a man named Dieter controls personally.
Nishkama Karma is not consolation for that. It is the only posture from which you can keep building well anyway — because if your self-worth is stapled to the survival of a specific pipeline, you will either stop caring or stop sleeping, and the industry has an ample supply of both.
Detach from the tool. Attach to the craft.
You are not "a Python engineer" any more than a surgeon is "a scalpel person." You are someone who understands how data moves, how systems fail, how quality rots, and how organisations actually decide. The tool is the bow.
Depth before badges.
A certificate proves you finished a course. Production proves whether you understood it. Learn data modelling because it changes how you see relationships, not because a job spec listed it between "self-starter" and "rockstar."
Let AI handle the Karma. You handle the Dharma.
Karma here is action — the execution. Dharma is knowing which action is right. Machines are getting very good at the first. The second is a judgment about consequences, and consequences arrive years after the design meeting.
Act without anxiety. Evolve without panic.
You do not need to learn everything. Nobody does, including the person posting "47 AI tools you MUST learn this weekend" — who has used four of them, twice, in a demo. Pick the one that compounds with what you already know. Go deep. Let the rest be weather.
Own the assumptions, not the outcome.
Write down what you believed when you designed it and why. When the reorg lands and someone asks why the model looks like that, you will have an answer instead of a feeling. This is the closest thing our profession has to a soul.
Let AI Handle the Karma. You Handle the Dharma.
Be honest about what the machines now do well, because pretending otherwise is Tamas in a nice shirt.
They write SQL. They write Python. They scaffold DAGs. They generate tests — including, occasionally, tests that pass because they assert nothing, which is a very human thing to have learned. They produce Terraform. They document pipelines better than we do, mostly because we don't. They suggest schemas. They flag anomalies at three in the morning without becoming resentful about it.
That is Karma. Action. Execution. Enormous quantities of it, cheaply, at two o'clock on a Sunday.
Now the other list — the questions no model can settle on your behalf, because they are not questions about code:
Why are we collecting this at all? Is this metric measuring the thing or the proxy for the thing? Are we allowed to hold this data in this jurisdiction? Should we, even where we may? Can this source be trusted, given that the team maintaining it was disbanded in March? What breaks downstream when the model is confidently wrong? What trade-off are we accepting, and who eats the cost of it? Should this system exist?
That is Dharma. Not "purpose" in the motivational-poster sense — the older, harder sense: the right action for this person, in this role, in this situation, given the consequences they will have to live with.
Notice which participant added the most value and which one was fastest. They were not the same participant.
That is the whole shift, and it is worth stating plainly because it is easy to hear as reassurance when it is actually a warning: generating a solution is becoming cheap. Knowing which problem deserves a solution is becoming the scarce thing.
Which is uncomfortable, because scarce things are valued — and most of us were promoted for the other one.
Nobody is coming to check whether it was the right question.
The Architect Outlives the Builder
The comfortable version of this argument is "AI can build but it cannot architect." I used to make it. I no longer think it is true, and repeating a false comfort is not wisdom, it is a sedative.
AI already participates in architecture. It proposes decompositions, spots coupling you missed, argues both sides of a build-versus-buy, and produces a decision record more legible than the one you wrote at 6 p.m. on a Friday. It will keep getting better at that.
The claim that survives is narrower and much more stubborn. Architecture in a real organisation does not rest on technical context. It rests on context that is incomplete, political, historical, regulatory, economic and ethical — and most of it was never written down, because writing it down would have required someone to admit it out loud.
The valuable senior engineer is not the one who knows the most patterns. It is the one who can tell you why the ugly decision exists — and can therefore tell you which ugly decisions are load-bearing and which are simply old.
That is not nostalgia. It is a genuinely hard inference problem over evidence that mostly does not exist in any repository. A model can read your codebase. It cannot read the 2017 conversation in which a VP promised a customer something, or notice that the reason two teams duplicate a table is that they stopped speaking in 2021.
So the honest formulation is not "AI cannot architect." It is this: architecture is a judgment about consequences inside a specific human organisation, and consequences are the one thing that cannot be generated in advance.
Your moat is not that you can draw the boxes. It is that you have watched boxes like these fail, in this company, with these people, and you remember what it cost.
The Battlefield by the Numbers
Philosophy without evidence is just a nice mood. Here are the numbers I can actually source — and, because this is an article about discernment, what each one does not say.
Arjuna's despair came from seeing only the destruction in front of him. Krishna did not tell him the destruction was imaginary. He widened the frame.
Ninety-two million displaced is a real and painful number, and if you are inside it, the net figure is no comfort at all. But an engineer reading only the first half is reading the battlefield the way Arjuna read it in Chapter 1 — accurately, and incompletely.
Now read the method, because this is exactly the number that gets flattened into a carousel. It compares advertised salaries within the same occupation, depending on whether the posting mentions AI skills. It does not follow the same people before and after learning something. PwC itself is careful to say the relationship may not be causal.
Translation: the market is paying more for roles that require AI fluency. It is not a promise that adding "LangChain" to your headline produces a 62% raise, however confidently the carousel asserts otherwise. If it were, Rajas Rao would be independently wealthy.
AI does not remove the work. It removes the places the work used to hide.
Sthitaprajña: The Engineer of Steady Wisdom
In Chapter 2, Arjuna asks a very practical question. Not "what is truth" — he asks what such a person is actually like. How do they sit? How do they speak? How do they move through the world? Krishna's answer is the description of the Sthitaprajña, and it is one of the most precise passages in philosophy.
वीतरागभयक्रोधः स्थितधीर्मुनिरुच्यते॥
Untroubled in sorrow. Sees the layoff thread. Feels it — Krishna never asks for numbness — and does not restructure their life at 2 a.m. on the strength of a headline written to be restructured around.
Free from longing in pleasure. Does not need the dopamine of being first to the new framework. Can watch a launch week go past without acquiring a personality.
Without attachment. Not defined by employer, stack, or title. The identity is portable because it was never rented from a vendor.
Without fear. Treats AI as a very fast, very literal colleague with no memory of last quarter — useful, not adversarial, and never left unsupervised near production.
Without anger. Does not rage at the industry, at model vendors, or at juniors "who just prompt." That energy has exactly one productive destination, which is building something.
To be clear, because the internet flattens this too: the Sthitaprajña engineer still panics occasionally. Something goes wrong at 4 p.m. on a Friday and something in the chest goes cold. That is a nervous system, not a character defect.
The difference is what happens next.
It means you do not update your LinkedIn headline during the panic.
A Short Reading from the LinkedIn Gita
Not scripture. Field notes.
This journey has taught me so much about resilience, and about myself.
Grateful to my mentors. Grateful to my network. Grateful.
I want to be careful here, because this joke has a cruel version and a true one.
The cruel version sneers at anyone learning in public. That is worth nothing. Half the good engineers I know started by posting something slightly embarrassing.
The true version is narrower: a certificate proves you finished a course. Production proves whether you understood it. Both are real signals. They are just not the same signal, and only one of them keeps its value after the vendor rebrands the product.
Verse 2.47, applied to your feed: the post is the fruit. The build is the action. Krishna's advice on which of the two to attach yourself to has been sitting there, unread, for five thousand years, currently at zero reactions.
The Data Engineering Kurukshetra
Every few years the industry arranges itself into two armies and insists you pick a side. The banners change. The formation does not.
Both armies are wrong in the same way, which is the part nobody puts on a banner.
The old world says the new tools are toys. The new world says the old work was never necessary. Neither camp has to maintain the result on the 4th working day of the month while Germany waits.
Arjuna's question — which framework should I learn? — is not a stupid question. It is a perfectly sensible tactical question asked in place of the strategic one, which is what makes it dangerous. Krishna does not answer it, and does not answer it deliberately. Chapter 2 begins with him declining to accept the terms of the question at all.
The better question, the one that survives every banner change: what am I responsible for, and what does doing that well actually require of me now?
The 3 a.m. Production Gita
All philosophy is theory until the phone lights up.
Every generation of tooling has promised to end that conversation. None of them has. The stack traces get prettier. The 3 a.m. remains.
And here is what actually separates the engineer who is useful at 3 a.m. from the one who is merely awake: it is not knowledge of the system. Both know the system. It is that one of them is diagnosing and the other is reacting — restarting things, escalating, apologising in a channel, rerunning the DAG in the hope that the universe reconsiders.
Panic is not a moral failure. It is just a bad debugging strategy. It narrows attention at exactly the moment the answer is somewhere peripheral — a merged PR, a rotated credential, a "minor schema tweak, no impact."
This is the entirely unmystical, deeply practical core of Sthitaprajña. Krishna is not selling serenity as a lifestyle. He is pointing out that a mind churning about outcomes cannot see what is in front of it.
It means you stop breaking before the pipeline does.
The Nishkama Karma Manifesto for Data Engineers
You are not your tools. Python will change. Spark will change. Snowflake will change. AI will change fastest of all. Your ability to reason about data has to survive all four.
Depth before badges. A certificate proves you finished a course. Production proves whether you understood it.
Let AI handle execution. Generating a solution is now cheap. Choosing which problem deserves one is not. Own the judgment. Delegate the typing.
Don't race the machine. The calculator beat us at arithmetic decades ago. Accountants did not disappear; the job moved upward, to what the arithmetic was for. Data engineering has the same move available. Make it deliberately, before it is made for you.
Write down the assumptions. Not the diagram — the reasoning. Why this grain, why this trade-off, what you knew and what you guessed. It is the only part of your work that a reorg cannot delete.
Detach from panic. You do not need to learn everything. Nobody does — including whoever posted "Top 47 AI Tools You MUST Learn This Weekend." They have opened four of them. In a demo. Once.
Attach to the process, not the fruit. You do not control the market, the roadmap, or whether anyone notices. You control the quality of the craft and the honesty of the work. That is your adhikāra. It is smaller than you wanted, and it is enough.
After the Teaching, Arjuna Fought
Here is the part people forget about the Gita, usually because they stopped at the quotable verses.
After seven hundred verses, Arjuna does not renounce the world. He does not retire to a cave. He does not pivot into advisory work.
He picks up the bow.
The same bow. The same field. The same eleven armies that terrified him in Chapter 1 are still standing there in Chapter 18, entirely undiminished by the philosophy. Nothing external changed at all.
स्थितोऽस्मि गतसन्देहः करिष्ये वचनं तव॥
Sthito'smi gata-sandehaḥ — I stand firm, my doubt gone. Not "I am certain of the outcome." Doubt about the outcome was never the problem. What left him was doubt about what he was there to do.
So: open the IDE. Open the architecture diagram. Open the AI assistant as well — refusing to is not integrity, it is Tamas with better branding.
Use everything available. Let it draft the SQL. Let it write the DAG, the Terraform, the tests, the docstring you were never going to write. Let it read the log you cannot face at 3 a.m. One day it will draft half the architecture diagram, and that day will arrive earlier than the conference talks predict.
Just be clear about who is supposed to be deciding.
Because wisdom is not generated from syntax. It comes from having watched systems fail in ways the design review did not anticipate. From organisations that reorganised around the thing you built. From metrics that were technically correct and quietly lying. From customers who behaved in a manner no schema permitted. From consequences that arrived three years after everyone in the design meeting had changed jobs.
That is experience. Compressed, unglamorous, largely undocumented, and yours.
That is judgment.
That is your Dharma.
कर्मण्येवाधिकारस्ते — your right is to the action alone. And that right, the right to bring your whole self to the craft, is the one thing no model, no agent and no reorg has ever taken from anyone.
Pick up your bow.
Production is waiting.
And somebody, naturally, has already changed the schema.