Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 1 new columns ({'tradeState'}) and 1 missing columns ({'originatingWorkflowStep'}).

This happened while the json dataset builder was generating data using

hf://datasets/finosfoundation/cdm-commodity/commodity/commodity_forward_agriculture_TradeState_20250829_173516_0069.json (at revision 1ee51ae5421ef6b11a865d903be3aaa5f233a9e0)

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1831, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 644, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2272, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              tradeState: list<item: struct<trade: struct<tradeIdentifier: list<item: struct<issuer: struct<value: string, meta: struct<scheme: string>>, assignedIdentifier: list<item: struct<identifier: struct<value: string, meta: struct<scheme: string>>>>, meta: struct<globalKey: string>, identifierType: string, issuerReference: struct<globalReference: string, externalReference: string>>>, tradeDate: struct<value: timestamp[s], meta: struct<globalKey: string>>, tradableProduct: struct<product: struct<contractualProduct: struct<productTaxonomy: list<item: struct<primaryAssetClass: struct<value: string>, source: string, value: struct<name: struct<value: string, meta: struct<scheme: string>>>, productQualifier: string>>, productIdentifier: list<item: struct<value: struct<identifier: struct<value: string, meta: struct<scheme: string>>, source: string, meta: struct<globalKey: string>>>>, economicTerms: struct<effectiveDate: struct<adjustableDate: struct<unadjustedDate: timestamp[s], dateAdjustments: struct<businessDayConvention: string, businessCenters: struct<businessCenter: list<item: struct<value: string>>>, meta: struct<globalKey: string>>, meta: struct<globalKey: string>>, meta: struct<globalKey: string>>, terminationDate: struct<adjustableDate: struct<unadjustedDate: timestamp[s], dateAdjustments: struct<businessDayConvention: string, businessCenters: struct<businessCenter: list<item: struct<value: string>>>, meta: struct<globalKey: string>>, meta: struct<globalKey: string>>, meta: stru
              ...
               meta: struct<scheme: string>>, identifierType: string, meta: struct<globalKey: string>>>
                                    child 0, item: struct<identifier: struct<value: string, meta: struct<scheme: string>>, identifierType: string, meta: struct<globalKey: string>>
                                        child 0, identifier: struct<value: string, meta: struct<scheme: string>>
                                            child 0, value: string
                                            child 1, meta: struct<scheme: string>
                                                child 0, scheme: string
                                        child 1, identifierType: string
                                        child 2, meta: struct<globalKey: string>
                                            child 0, globalKey: string
                                child 1, name: struct<value: string>
                                    child 0, value: string
                                child 2, contactInformation: struct<address: list<item: struct<country: struct<value: string>>>>
                                    child 0, address: list<item: struct<country: struct<value: string>>>
                                        child 0, item: struct<country: struct<value: string>>
                                            child 0, country: struct<value: string>
                                                child 0, value: string
                                child 3, meta: struct<globalKey: string, externalKey: string>
                                    child 0, globalKey: string
                                    child 1, externalKey: string
                        child 4, meta: struct<globalKey: string>
                            child 0, globalKey: string
              to
              {'originatingWorkflowStep': {'proposedEvent': {'intent': Value('string'), 'eventDate': Value('timestamp[s]'), 'instruction': List({'primitiveInstruction': {'contractFormation': {'legalAgreement': List({'legalAgreementIdentification': {'agreementName': {'agreementType': Value('string'), 'masterAgreementType': {'value': Value('string')}}, 'vintage': Value('int64')}, 'contractualParty': List({'globalReference': Value('string'), 'externalReference': Value('string')}), 'meta': {'globalKey': Value('string')}})}}, 'before': {'value': {'tradeIdentifier': List({'issuer': {'value': Value('string'), 'meta': {'scheme': Value('string')}}, 'assignedIdentifier': List({'identifier': {'value': Value('string'), 'meta': {'scheme': Value('string')}}}), 'meta': {'globalKey': Value('string')}, 'identifierType': Value('string'), 'issuerReference': {'globalReference': Value('string'), 'externalReference': Value('string')}}), 'tradeDate': {'value': Value('timestamp[s]'), 'meta': {'globalKey': Value('string')}}, 'tradableProduct': {'product': {'contractualProduct': {'productTaxonomy': List({'primaryAssetClass': {'value': Value('string')}, 'source': Value('string'), 'value': {'name': {'value': Value('string'), 'meta': {'scheme': Value('string')}}}, 'productQualifier': Value('string')}), 'productIdentifier': List({'value': {'identifier': {'value': Value('string'), 'meta': {'scheme': Value('string')}}, 'source': Value('string'), 'meta': {'globalKey': Value('string')}}}), 'economicTerms': {'effectiveDate'
              ...
              g')}, 'priceType': Value('string'), 'cashPrice': {'cashPriceType': Value('string')}}, 'meta': {'location': List({'scope': Value('string'), 'value': Value('string')})}}), 'quantity': List({'value': {'value': Value('float64'), 'unit': {'capacityUnit': Value('string')}, 'frequency': {'periodMultiplier': Value('int64'), 'period': Value('string'), 'meta': {'globalKey': Value('string')}}}, 'meta': {'location': List({'scope': Value('string'), 'value': Value('string')})}})})}), 'counterparty': List({'role': Value('string'), 'partyReference': {'globalReference': Value('string'), 'externalReference': Value('string')}})}, 'party': List({'partyId': List({'identifier': {'value': Value('string'), 'meta': {'scheme': Value('string')}}, 'identifierType': Value('string'), 'meta': {'globalKey': Value('string')}}), 'name': {'value': Value('string')}, 'contactInformation': {'address': List({'country': {'value': Value('string')}})}, 'meta': {'globalKey': Value('string'), 'externalKey': Value('string')}}), 'meta': {'globalKey': Value('string')}}}})}, 'messageId': {'value': Value('string'), 'meta': {'scheme': Value('string')}}, 'sentBy': {'value': Value('string')}, 'sentTo': List({'value': Value('string')}), 'timestamp': List({'dateTime': Value('timestamp[s]'), 'qualification': Value('string')}), 'eventIdentifier': List({'assignedIdentifier': List({'identifier': {'value': Value('string')}}), 'meta': {'globalKey': Value('string')}}), 'action': Value('string'), 'meta': {'globalKey': Value('string')}}}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1456, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1055, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 894, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 970, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1702, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1833, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 1 new columns ({'tradeState'}) and 1 missing columns ({'originatingWorkflowStep'}).
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/finosfoundation/cdm-commodity/commodity/commodity_forward_agriculture_TradeState_20250829_173516_0069.json (at revision 1ee51ae5421ef6b11a865d903be3aaa5f233a9e0)
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

originatingWorkflowStep
dict
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
{ "proposedEvent": { "intent": "ContractFormation", "eventDate": "2025-08-29T00:00:00", "instruction": [ { "primitiveInstruction": { "contractFormation": { "legalAgreement": [ { "legalAgreementIdentification": { "agreement...
End of preview.

No dataset card yet

Downloads last month
6