Hello
I am trying to add the schema definition of a child column of a nested column for a model which has
- name: item
config:
contract:
enforced: true
schema: ‘stage’
columns: - name: transaction
description: The transaction details .
data_type: |
array<
struct<
order_ts timestamp,
quantity integer,
order_id string,
price numeric,
currency string>>
How to add the description for these child columns such as order_ts etc as well… it was working well without that config: contract: enforced: true and the schema defined as below
- name: item
config:
contract:
enforced: true
schema: ‘stage’
columns:
-name:transaction.order_ts
data_type:timestamp
descriptionOrder timestamp.
-name:transaction.quantity
data_type:integer
description:order quantity.
-name:transaction.id
data_type:string
description:sales order code.
-name:transaction.order_price
data_type:numeric
description:amount.
-name:transaction.currency
data_type:string
description:currency.
But the above mentioned parent.child column mode is not working with the constraint: enforced: true option.