What the schema API does
The schema API returns the column names, data types, and constraints for each CDF resource type that transformations support. Use this information to construct SQL statements that align with the destination schema and avoid runtime errors from mismatched columns or types.When to use it
- Building transformations: Reference the schema when writing SELECT statements that target a specific resource type.
- Validation: Ensure your query output columns match the destination schema before running transformations.
- Documentation: Inspect available fields and types for instances, sequence rows, or other resources.
Schema structure may vary by resource type. Always retrieve the schema for your target resource before defining transformation output.