Skip to main content

CCAF Avro Schema Helpers Python Library

Project description

Confluent Cloud for Apache Flink (CCAF) Avro Schema Helpers Python Library

Table of Contents

1.0 Overview

1.1 generate_flink_sql_statements_for_fully_flatten_root_record module

This module's class constructs a pair of Flink SQL statements using a breadth-first traversal method from an Avro schema based on the provided outermost JSON object or JSON array column. These Flink SQL statements include the CREATE TABLE and INSERT INTO SELECT FROM statements. The CREATE TABLE statement creates the Sink Table, which subsequently establishes the backing sink Kafka topic. The INSERT INTO SELECT FROM statement generates a continuous, unbounded data stream that populates the sink table

breadth-first traversal

1.2 swap_camelcase_with_snakecase module

This module's class uses a depth-first traversal method to traverse an entire Avro schema and converts every camelCase record or field name into a snake_case record or field name. This is useful for transforming Avro schema field names into Flink SQL style field names.

depth-first traversal

2.0 Resources

2.1 Traversal Method Background

2.2 Confluent Cloud for Apache Flink (CCAF) SQL Statements

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file ccaf_avro_schema_helpers_python_lib-0.3.2.0.tar.gz.

File metadata

File hashes

Hashes for ccaf_avro_schema_helpers_python_lib-0.3.2.0.tar.gz
Algorithm Hash digest
SHA256 28ff51ffdd91dc2dfcaf7afdb25bdf19c3b6b49492140e433d0c1c1d68efef89
MD5 4796b3ee3866371bf712551034cbf037
BLAKE2b-256 f1afc27859196fd9818f5ad9d0ab6e7c990aa642d1b0aefe55824b474da42574

See more details on using hashes here.

File details

Details for the file ccaf_avro_schema_helpers_python_lib-0.3.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ccaf_avro_schema_helpers_python_lib-0.3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cb6b6e5aec88e3d77240b3cdb8a28055651cb809aecc8a54e185a930c5baf721
MD5 e5abe6a57f98b0b9353db1cb8b9485f4
BLAKE2b-256 0e48a1d10e2e3459821408e243ed77ba097b7580572970b5f98bbe02ad8c8ba7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page