File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ const { sql } = getEvents({
107107| ` schema.isoDate ` | ` YYYY-MM-DD ` | ` '2022-02-22' ` |
108108| ` schema.isoTimestamp ` | ISO 8601 with timezone | ` '2022-02-22T22:02:22.000Z' ` |
109109| ` schema.identifier ` | SQL identifier (up to ` db.schema.table ` ) | ` 'public.users' ` |
110- | ` schema.uuid ` | RFC 4122 UUID | ` '550e8400-e29b-41d4-a716-446655440000' ` |
110+ | ` schema.uuid ` | UUID hex format (8-4-4-4-12) | ` '550e8400-e29b-41d4-a716-446655440000' ` |
111111| ` schema.positiveInt ` | Positive integer | ` 100 ` |
112112| ` schema.enum(...) ` | Whitelist of allowed values | ` schema.enum('asc', 'desc') ` |
113113| ` schema.s3Path ` | S3 URI | ` 's3://athena-results/queries/' ` |
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ Schema mode validates at define-time (schema keys must match template tokens) an
5555- `schema.isoDate` - YYYY-MM-DD with calendar validation
5656- `schema.isoTimestamp` - ISO 8601 with timezone (e.g. 2022-02-22T00:00:00Z)
5757- `schema.identifier` - SQL identifier, up to 3 dot-separated parts (db.schema.table)
58- - `schema.uuid` - RFC 4122 UUID
58+ - `schema.uuid` - UUID hex format (8-4-4-4-12 hex digits)
5959- `schema.positiveInt` - integer greater than 0
6060- `schema.enum(...values)` - whitelist of allowed string values
6161- `schema.s3Path` - S3 URI (s3://athena-results/queries/)
You can’t perform that action at this time.
0 commit comments