data-autocleaning

Profile BigQuery and Cloud Storage data with Dataplex scans and generate SQL transformations.

2|1|Updated May 25, 2026
One-click install
npx skills add https://github.com/interflownex/All-in-One --skill data-autocleaning-interflownex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-autocleaning
Source: https://github.com/interflownex/All-in-One/tree/main/.gemini/skills/data-autocleaning
Command: npx skills add https://github.com/interflownex/All-in-One --skill data-autocleaning-interflownex

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires asyncio, json, logging, os, uuid, argparse, and includes scripts (resource) components.

What problem does it solve?

This skill addresses the critical need for reliable data quality in BigQuery and Cloud Storage pipelines by automating profiling, schema alignment, and transformation logic.

Core Features & Use Cases

  • Automated Profiling: Uses Dataplex to identify anomalies, null rates, and distribution shifts before data is moved.
  • Intelligent Transformation: Applies standardized SQL cleaning rules for JSON, arrays, and structs to ensure schema compliance.
  • Use Case: When migrating raw logs from Cloud Storage to a production BigQuery table, this skill profiles the source, detects malformed JSON, and generates the necessary SQL to clean and cast the data into the target schema.

Quick Start

Use the data-autocleaning skill to profile the source table project.dataset.raw_data and generate the necessary cleaning transformations.

Frequently Asked Questions about data-autocleaning

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate data profiling and quality assessment for BigQuery pipelines?

Automate data profiling for BigQuery pipelines by processing source data through Dataplex scans to identify anomalies, null rates, and distribution shifts before moving data. This ensures reliable data quality by validating transformations against initial profiles before finalizing implementation.

Can I generate SQL transformations to clean malformed JSON and arrays in BigQuery?

Yes, you can clean malformed JSON and arrays in BigQuery by applying standardized SQL cleaning rules. The process enforces schema compliance for complex data types like JSON, arrays, and structs, generating the necessary SQL to cast source data into the target schema.

Does Dataplex detect data anomalies when migrating raw logs from Cloud Storage to BigQuery?

Dataplex does detect data anomalies when migrating raw logs from Cloud Storage to BigQuery. It profiles the source data to identify malformed JSON and distribution shifts, generating the SQL required to clean and cast the data into the production BigQuery table schema.

What is the best way to validate schema alignment for complex data types before loading BigQuery tables?

The best way to validate schema alignment for complex data types in BigQuery is to profile the source data first. By enforcing schema compliance for structs and arrays through standardized SQL cleaning rules, you ensure data integrity before finalizing the pipeline implementation.

Why does my BigQuery pipeline fail when loading complex data types from raw Cloud Storage logs?

BigQuery pipelines fail loading complex data types from Cloud Storage logs due to malformed JSON or schema misalignment. Running Dataplex scans identifies these anomalies and generates SQL transformations to clean, cast, and align the data with the target schema.

Do I need to run Dataplex scans before finalizing SQL data cleaning transformations?

You need to run Dataplex scans before finalizing SQL data cleaning transformations to validate data integrity. Scanning identifies anomalies and null rates, ensuring that the generated SQL transformations align with the initial data profiles before pipeline implementation.