WizCommerce
Sep 2026 – present
Bengaluru
B2B commerce platform. I own the AI sales assistant's reporting agent end to end: the text-to-SQL service, its row-level access control, and the BigQuery reporting layer beneath it, serving 150+ tenants.
- Designed and built the BigQuery reporting layer (18 tables, partitioned and clustered by tenant) and moved the agent onto it. Query cost fell by 74% and data read per query by 81%.
- Found one SQL pattern in 40% of 4,172 traced queries and fixed it in the server step that rewrites the agent's SQL before it runs. Restricted users' queries now bill 183× fewer bytes.
- Made the reporting layer self-maintaining: a 2-hourly refresh straight from the raw change-data tables that stages every table, checks row counts, and swaps, removing a 3-hour upstream lag. Chose full rebuilds after measuring that MERGE and materialized views could not prune the unpartitioned sources.
- Built the semantic layer the text-to-SQL agent reads from (table and column descriptions, metric definitions, row-level access injection), taking it from 72% to 95% correct answers on production questions after a LangSmith trace review showed 22% of calls quietly returning zero rows.
- Led the warehouse cost program, cutting the monthly BigQuery bill by 37% with no change to any output: set the standard that large tables refresh only what changed, moved heavy JSON lookups into small lookup tables, and laid out dashboard tables the way they are read.
- Established the team's process for repartitioning live change-data tables in BigQuery with zero downtime, no Kafka pipeline change, and no lost rows, and led its rollout across the largest production tables.
- Deleted ~700 GB of stale data from production Postgres, saving ~$2K/month, sequenced through CDC so the BigQuery replay cost under $200 one-off.