No access to the database.
The till software vendor gives neither direct access to its database nor an export to cloud storage. The only possible route: an archive dropped every day on an SFTP server.
Case study · Retail & e-commerce
An online-born eyewear brand was changing the till software in its shops. We rebuilt its data pipeline on BigQuery, to get its in-store sales back and prepare for what comes next.
THE CONTEXT
The brand sells its glasses on its website and in its shops. It tracked its sales and shop traffic in a spreadsheet, fed by a simple data pipeline built on a Postgres database, which we had set up a few years earlier.
In 2024, it replaced the till software in its shops and brought in an ERP. The old pipeline, built around the old software, could not keep up.
The assignment: after the switch, get back the data used to analyse sales and in-store traffic. And do it on an infrastructure able to carry other uses afterwards, starting with the website data. A concrete case of modernising a data platform.
WHAT WAS IN THE WAY
The till software vendor gives neither direct access to its database nor an export to cloud storage. The only possible route: an archive dropped every day on an SFTP server.
The queries that produce the exports were not shared with us. We had to work out, table by table, how the files were built.
The exports did not follow the announced update logic. Applying it, the load deleted too many rows: it was reworked to keep everything.
WHAT WE BUILT
Rather than use the vendor’s server, we set one up in the brand’s Google Cloud project, with access restricted by IP address. Its data stays within its own infrastructure.
A Python program downloads the archive, unzips it, loads the hundred or so files into BigQuery, then archives what has been processed. A typical case where you have to write your own connector.
The till software’s tables are transformed with dbt to produce the sales export the brand had specified. The scope also covers inventory, valued.
Airflow chains ingestion and transformations. A development environment is kept separate from production.
WHAT IT CHANGES
READ NEXT
WHAT COMES NEXT, WE BUILD TOGETHER
An idea, a pain point, a project to kick off? Let’s talk about what would make a difference for your teams.
Let’s talk about your project