Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
AI & KI NachrichtenAI Restrictions at NYCPS and LAUSD Reverberate Nationwide(24.09.2026 um 01:16 Uhr)
AI & KI NachrichtenMeta Connect 2026: The biggest news and announcements(24.09.2026 um 00:45 Uhr)
AI & KI NachrichtenMeta ditches the camera on its newest smart glasses(24.09.2026 um 01:37 Uhr)
AI & KI NachrichtenMuse is coming to Meta smart glasses(24.09.2026 um 01:40 Uhr)
AI & KI NachrichtenAI Restrictions at NYCPS and LAUSD Reverberate Nationwide(24.09.2026 um 01:16 Uhr)
AI & KI NachrichtenMeta Connect 2026: The biggest news and announcements(24.09.2026 um 00:45 Uhr)
AI & KI NachrichtenMeta ditches the camera on its newest smart glasses(24.09.2026 um 01:37 Uhr)
AI & KI NachrichtenMuse is coming to Meta smart glasses(24.09.2026 um 01:40 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

BigDAG: A Simple Tool for Managing BigQuery Workflows

Hey everyone, I wanted to share a tool I've been working on called BigDAG. It's born out of my own frustrations with managing data transformations in BigQuery, and I figured others might find it useful too. The Core Problem:…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

Hey everyone,



I wanted to share a tool I've been working on called BigDAG. It's born out of my own frustrations with managing data transformations in BigQuery, and I figured others might find it useful too.






The Core Problem: BigQuery Complexity



BigQuery is fantastic for data analysis, but when you start building real pipelines, things can get messy. You end up with:




  • SQL Files Everywhere: Queries for tables, views, and transformations scattered across different files.

  • Manual Dependency Tracking: Figuring out the correct order to run scripts becomes a chore.

  • Repetitive bq Commands: Creating datasets, tables, and views involves running similar commands repeatedly.

  • Deployment Headaches: Pushing changes to BigQuery can be a manual and error-prone process.



I needed a way to bring some order to this chaos, to define my workflows as code, and to automate the deployment process. That's the motivation behind BigDAG.






BigDAG: A Practical Solution



BigDAG is a Python tool that helps you manage data workflows in BigQuery. It's not trying to be a full-fledged data orchestration platform; it's a practical tool to solve a specific problem. Here's the basic idea:




  1. Organize Your Files: You structure your SQL scripts, schema definitions, and external table definitions in a folder. This folder represents your data pipeline.

  2. Dependency Detection: BigDAG automatically detects dependencies between your SQL scripts by looking at the queries. If a view uses another table, BigDAG knows it needs to be created first.

  3. Manual Overrides: If automatic detection isn't enough, you can specify dependencies in a deps.yaml file.

  4. Simple CLI: BigDAG provides a command-line interface (CLI) to execute your workflows. You can create, update, or delete objects in BigQuery with a single command.

  5. Basic Templating: BigDAG uses simple templating to inject your project ID and dataset name into your SQL queries.






Key Features




  • Dependency Management: Automatically figures out the order to run your scripts.

  • Code-Based Workflows: Define your pipelines using files and YAML.

  • CLI for Deployment: Deploy changes to BigQuery with a single command.

  • Dry Run Option: See the commands that will be executed before running them.

  • Recreation Support: Easily recreate your entire dataset and all objects.






A Simple DAG Example



Let's look at a simple example of how you might structure your DAG folder:




my_dag/
├── raw/
│ └── sales.sheet.def.json
│ └── sales.sheet.schema.json
├── trusted/
│ └── sales.view.sql
└── refined/
└── monthly_sales.table.sql






Here's what the files might contain:



my_dag/raw/sales.sheet.def.json:




{
"sourceFormat": "GOOGLE_SHEETS",
"sourceUris": [
"https://docs.google.com/spreadsheets/d/FAKE_SPREADSHEET_ID"
],
"googleSheetsOptions": {
"range": "sales!A1:Z",
"skipLeadingRows": 1
}
}






my_dag/raw/sales.sheet.schema.json:




{
"fields": [
{"name": "sale_date", "type": "DATE", "mode": "REQUIRED"},
{"name": "product_id", "type": "STRING", "mode": "REQUIRED"},
{"name": "amount", "type": "NUMERIC", "mode": "REQUIRED"}
]
}






my_dag/trusted/sales.view.sql:




-- SQL script for creating the sales view
SELECT
*
FROM
raw_sales;






my_dag/refined/monthly_sales.table.sql:




-- SQL script for creating the monthly_sales table
SELECT
date_trunc('month', sale_date) AS month,
SUM(amount) AS total_sales
FROM
`{{project_id}}.{{dataset}}.trusted_sales`
GROUP BY
month;






In this example:




  • sales.sheet.def.json and sales.sheet.schema.json define an external table based on a Google Sheet.

  • sales.view.sql creates a view on top of the raw sales data.

  • monthly_sales.table.sql creates a table based on the trusted sales view.



BigDAG will automatically infer that monthly_sales.table.sql depends on trusted_sales, and that trusted_sales depends on raw_sales.






How to Use It (Quickly)





  1. Install:


    git clone https://github.com/feroult/bigdag.git
    cd bigdag
    pip install -e .



  2. Set up your DAG folder: Organize your SQL scripts and definitions.



  3. Run the CLI:


    bigdag --folder path/to/your/dag --project your_project_id --dataset your_dataset_name








The Goal: Making Life Easier



BigDAG is about making data workflows more manageable. It's about:




  • Reducing Manual Errors: Automating repetitive tasks to avoid mistakes.

  • Improving Workflow Clarity: Making it easier to understand and maintain your data pipelines.

  • Saving Time: Spending less time on infrastructure and more time on analysis.






Check it Out



If you're dealing with similar challenges in BigQuery, you might find BigDAG useful. It's open-source, so feel free to take a look, contribute, or just use it as is.



https://github.com/feroult/bigdag



Hope it helps!

CTI Threat Relationship Graph2 Knoten / 1 Relationen
CVE / Incident Software MITRE ATT&CK CWE Weakness IoC
IR-PLAYBOOK-RCE
HIGH
SOC Incident Playbook: Remote Code Execution (RCE) Defense
1-Click Detection Engineering: Sigma & YARA Rules
SOC Ready
title: Detect Exploitation - BigDAG: A Simple Tool for Managing BigQuery Workflows
id: 2eb03de0-cb6e-4746-bfcf-8427ee9149dc
status: experimental
description: Automatisch generierte SIEM-Erkennungsregel basierend auf CTI Intelligence
references:
  - https://tsecurity.de/
author: iShareStuff CTI Automated Detection Engine
date: 2026-09-24
logsource:
  category: network_connection
  product: any
detection:
  selection:
      CommandLine|contains:
        - 'exploit'
  condition: selection
falsepositives:
  - Legitime administrative Zugriffe oder Penetrationstests
level: high
tags:
  - attack.initial_access
rule CTI_Threat_Indicator {
    meta:
        author = "iShareStuff CTI Automated Detection Engine"
        date = "2026-09-24"
        description = "YARA Signature for "
    strings:
        $str = "BigDAG: A Simple Tool for Mana" ascii wide
    condition:
        any of them
}
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten BigDAG: A Simple Tool for Managing BigQuery Workflows

Thematisch verwandte Begriffe: BigDAG, Simple, Tool, Managing · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-96676 | A vulnerability was identified in Fast FAC1900R 20190827_2.0.2. The impa…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel TTP ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick