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 ({'Columns'}) and 1 missing columns ({'columns'}).

This happened while the json dataset builder was generating data using

hf://datasets/rAMNARAY/C_G_1/customer_interaction_fact.json (at revision dbc126db8b96a2f855fac3af901f4654f198fe47)

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 2011, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, 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 2302, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              name: string
              description: string
              primary_key_column: list<item: string>
                child 0, item: string
              clustering_column: list<item: string>
                child 0, item: string
              partitioning_column: list<item: string>
                child 0, item: string
              type: string
              Columns: list<item: struct<name: string, description: string, data_type: string, format: string, is_pii_column: string, enum: list<item: string>>>
                child 0, item: struct<name: string, description: string, data_type: string, format: string, is_pii_column: string, enum: list<item: string>>
                    child 0, name: string
                    child 1, description: string
                    child 2, data_type: string
                    child 3, format: string
                    child 4, is_pii_column: string
                    child 5, enum: list<item: string>
                        child 0, item: string
              to
              {'name': Value(dtype='string', id=None), 'description': Value(dtype='string', id=None), 'primary_key_column': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'clustering_column': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'partitioning_column': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'type': Value(dtype='string', id=None), 'columns': [{'name': Value(dtype='string', id=None), 'description': Value(dtype='string', id=None), 'data_type': Value(dtype='string', id=None), 'format': Value(dtype='string', id=None), 'is_pii_column': Value(dtype='string', id=None), 'enum': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'dimension_group': Value(dtype='string', id=None)}]}
              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 1577, 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 1191, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, 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 1882, 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 2013, 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 ({'Columns'}) and 1 missing columns ({'columns'}).
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/rAMNARAY/C_G_1/customer_interaction_fact.json (at revision dbc126db8b96a2f855fac3af901f4654f198fe47)
              
              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.

name
string
description
string
primary_key_column
sequence
clustering_column
sequence
partitioning_column
sequence
type
string
columns
list
adjustment_details
Tracks adjustments made to transactions
[ "adjustment_id", "transaction_id" ]
[ "adjustment_date", "adjustment_type" ]
[ "adjustment_date" ]
Type 2 Fact Table
[ { "name": "adjustment_id", "description": "Unique identifier for each adjustment", "data_type": "STRING", "format": "", "is_pii_column": "N", "enum": [], "dimension_group": "" }, { "name": "transaction_id", "description": "Identifier of the transaction adjusted", "data_ty...
browsing_history_0
Tracks user browsing sessions and activities
[ "session_id", "user_id" ]
[ "session_start_time", "user_id" ]
[ "session_date" ]
Type 1 Fact Table
[ { "name": "session_id", "description": "Unique identifier for the session", "data_type": "STRING", "format": "", "is_pii_column": "N", "enum": [], "dimension_group": "" }, { "name": "user_id", "description": "Unique identifier for the user", "data_type": "STRING", "fo...
browsing_history_1
Tracks user browsing behavior and preferences
[ "user_id", "session_id" ]
[ "session_start_time", "page_viewed" ]
[ "session_date" ]
Type 1 Fact Table
[ { "name": "user_id", "description": "Unique identifier for a user", "data_type": "STRING", "format": "", "is_pii_column": "Y", "enum": [], "dimension_group": "" }, { "name": "session_id", "description": "Unique identifier for a session", "data_type": "STRING", "format...
customer_activity_0
Tracks customer interactions and technology usage
[ "customer_id", "session_id" ]
[ "device_type", "session_start_time" ]
[ "session_date" ]
Type 1 Fact Table
[ { "name": "customer_id", "description": "Unique identifier for a customer", "data_type": "STRING", "format": "", "is_pii_column": "Y", "enum": [], "dimension_group": "customer_dimension_group" }, { "name": "session_id", "description": "Unique identifier for a session", "d...
customer_activity_1
Tracks customer interactions and preferences
[ "customer_id", "session_id" ]
[ "last_activity_date", "customer_region" ]
[ "last_activity_date" ]
Type 1 Fact Table
[ { "name": "customer_id", "description": "Unique identifier for a customer", "data_type": "STRING", "format": "", "is_pii_column": "Y", "enum": [], "dimension_group": "" }, { "name": "session_id", "description": "Unique identifier for a session", "data_type": "STRING", ...
customer_interaction_fact
Tracks all customer interactions with products
[ "interaction_id" ]
[ "customer_id", "product_id" ]
[ "interaction_date" ]
Fact Table
null
customer_search_0
Tracks customer search behavior and technology use
[ "customer_id", "search_id" ]
[ "search_date", "search_time" ]
[ "search_date" ]
Type 1 Fact Table
[ { "name": "customer_id", "description": "Unique identifier for a customer", "data_type": "STRING", "format": "", "is_pii_column": "Y", "enum": [], "dimension_group": "customer_dimension_group" }, { "name": "search_id", "description": "Unique identifier for a search event", ...

No dataset card yet

Downloads last month
10