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_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "transaction_dimension_group"
},
{
"name": "adjustment_type",
"description": "Type of adjustment made",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [
"refund",
"discount",
"correction"
],
"dimension_group": ""
},
{
"name": "adjustment_date",
"description": "Date when the adjustment was made",
"data_type": "DATE",
"format": "YYYY-MM-DD",
"is_pii_column": "N",
"enum": [],
"dimension_group": "time_dimension_group"
},
{
"name": "adjustment_amount",
"description": "Amount adjusted in the transaction",
"data_type": "FLOAT",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": ""
},
{
"name": "adjusted_by",
"description": "Employee ID who made the adjustment",
"data_type": "STRING",
"format": "",
"is_pii_column": "Y",
"enum": [],
"dimension_group": "customer_support_dimension_group"
},
{
"name": "reason_code",
"description": "Code describing reason for adjustment",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": ""
},
{
"name": "original_amount",
"description": "Original transaction amount before adjustment",
"data_type": "FLOAT",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": ""
},
{
"name": "new_amount",
"description": "New transaction amount after adjustment",
"data_type": "FLOAT",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": ""
},
{
"name": "currency",
"description": "Currency of the adjustment amount",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [
"USD",
"EUR",
"GBP"
],
"dimension_group": ""
},
{
"name": "status",
"description": "Current status of the adjustment",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [
"pending",
"approved",
"rejected"
],
"dimension_group": ""
},
{
"name": "comments",
"description": "Additional comments on the adjustment",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "content_dimension_group"
},
{
"name": "created_at",
"description": "Timestamp when the record was created",
"data_type": "TIMESTAMP",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": ""
},
{
"name": "updated_at",
"description": "Timestamp when the record was last updated",
"data_type": "TIMESTAMP",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": ""
},
{
"name": "approved_by",
"description": "Employee ID who approved the adjustment",
"data_type": "STRING",
"format": "",
"is_pii_column": "Y",
"enum": [],
"dimension_group": "customer_support_dimension_group"
},
{
"name": "approval_date",
"description": "Date when the adjustment was approved",
"data_type": "DATE",
"format": "YYYY-MM-DD",
"is_pii_column": "N",
"enum": [],
"dimension_group": "time_dimension_group"
},
{
"name": "source_system",
"description": "System from which adjustment originated",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "channel_dimension_group"
},
{
"name": "batch_id",
"description": "Batch ID for processing adjustments",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": ""
},
{
"name": "related_adjustment_id",
"description": "ID of related adjustment if applicable",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": ""
},
{
"name": "audit_trail",
"description": "Audit trail for tracking changes",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": ""
},
{
"name": "region",
"description": "Geographical region of the adjustment",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "geographic_dimension_group"
},
{
"name": "department",
"description": "Department responsible for the adjustment",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "customer_support_dimension_group"
},
{
"name": "external_reference",
"description": "External reference linked to adjustment",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "referral_dimension_group"
}
] |
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",
"format": "",
"is_pii_column": "Y",
"enum": [],
"dimension_group": ""
},
{
"name": "session_start_time",
"description": "Start time of the browsing session",
"data_type": "TIMESTAMP",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "time_dimension_group"
},
{
"name": "session_end_time",
"description": "End time of the browsing session",
"data_type": "TIMESTAMP",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "time_dimension_group"
},
{
"name": "session_date",
"description": "Date of the browsing session",
"data_type": "DATE",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "time_dimension_group"
},
{
"name": "page_views",
"description": "Number of pages viewed in session",
"data_type": "INTEGER",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "traffic_dimension_group"
},
{
"name": "user_agent",
"description": "Browser user agent of the user",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "device_dimension_group"
},
{
"name": "ip_address",
"description": "IP address of the user",
"data_type": "STRING",
"format": "",
"is_pii_column": "Y",
"enum": [],
"dimension_group": ""
},
{
"name": "device_type",
"description": "Type of device used for browsing",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [
"Desktop",
"Mobile",
"Tablet"
],
"dimension_group": "device_dimension_group"
},
{
"name": "country",
"description": "Country of the user",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "geographic_dimension_group"
},
{
"name": "region",
"description": "Region of the user",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "geographic_dimension_group"
},
{
"name": "city",
"description": "City of the user",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "geographic_dimension_group"
},
{
"name": "entry_page",
"description": "First page visited in the session",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "session_interaction_dimension_group"
},
{
"name": "exit_page",
"description": "Last page visited in the session",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "session_interaction_dimension_group"
},
{
"name": "referral_source",
"description": "Referral source for the session",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "referral_dimension_group"
},
{
"name": "search_terms",
"description": "Search terms used during the session",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "session_interaction_dimension_group"
},
{
"name": "time_on_site",
"description": "Total time spent on site in seconds",
"data_type": "INTEGER",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "traffic_dimension_group"
},
{
"name": "bounce_rate",
"description": "Bounce rate for the session",
"data_type": "FLOAT",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "traffic_dimension_group"
},
{
"name": "conversion",
"description": "Whether a conversion occurred",
"data_type": "BOOLEAN",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "session_interaction_dimension_group"
},
{
"name": "conversion_type",
"description": "Type of conversion",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [
"Purchase",
"Signup",
"Lead"
],
"dimension_group": "session_interaction_dimension_group"
},
{
"name": "cart_abandonment",
"description": "Whether the cart was abandoned",
"data_type": "BOOLEAN",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "session_interaction_dimension_group"
},
{
"name": "product_views",
"description": "Number of product views in session",
"data_type": "INTEGER",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "session_interaction_dimension_group"
}
] |
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": "",
"is_pii_column": "Y",
"enum": [],
"dimension_group": ""
},
{
"name": "session_date",
"description": "Date of the browsing session",
"data_type": "DATE",
"format": "YYYY-MM-DD",
"is_pii_column": "N",
"enum": [],
"dimension_group": "time_dimension_group"
},
{
"name": "session_start_time",
"description": "Start time of the browsing session",
"data_type": "TIMESTAMP",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "time_dimension_group"
},
{
"name": "page_viewed",
"description": "URL of the page viewed",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "content_dimension_group"
},
{
"name": "device_type",
"description": "Type of device used for browsing",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [
"desktop",
"mobile",
"tablet"
],
"dimension_group": "device_dimension_group"
},
{
"name": "browser_type",
"description": "Type of browser used",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [
"chrome",
"firefox",
"safari",
"edge",
"other"
],
"dimension_group": "device_dimension_group"
},
{
"name": "os_type",
"description": "Operating system of the device",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [
"windows",
"macos",
"linux",
"android",
"ios",
"other"
],
"dimension_group": "device_dimension_group"
},
{
"name": "country",
"description": "Country of the user",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "geographic_dimension_group"
},
{
"name": "region",
"description": "Region of the user",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "geographic_dimension_group"
},
{
"name": "city",
"description": "City of the user",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "geographic_dimension_group"
},
{
"name": "zip_code",
"description": "Postal code of the user",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "geographic_dimension_group"
},
{
"name": "interests",
"description": "Interests of the user",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "age_group",
"description": "Age group of the user",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [
"18-24",
"25-34",
"35-44",
"45-54",
"55-64",
"65+"
],
"dimension_group": "customer_dimension_group"
},
{
"name": "gender",
"description": "Gender of the user",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [
"male",
"female",
"other"
],
"dimension_group": "customer_dimension_group"
},
{
"name": "income_range",
"description": "Income range of the user",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [
"low",
"medium",
"high"
],
"dimension_group": "customer_dimension_group"
},
{
"name": "education_level",
"description": "Education level of the user",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [
"none",
"high_school",
"bachelor",
"master",
"doctorate"
],
"dimension_group": "customer_dimension_group"
},
{
"name": "employment_status",
"description": "Employment status of the user",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [
"employed",
"unemployed",
"self-employed",
"student",
"retired"
],
"dimension_group": "customer_dimension_group"
},
{
"name": "marital_status",
"description": "Marital status of the user",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [
"single",
"married",
"divorced",
"widowed"
],
"dimension_group": "customer_dimension_group"
},
{
"name": "number_of_sessions",
"description": "Total number of sessions by the user",
"data_type": "INTEGER",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "average_session_duration",
"description": "Average duration of sessions",
"data_type": "FLOAT",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "total_pages_viewed",
"description": "Total pages viewed by the user",
"data_type": "INTEGER",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "most_viewed_category",
"description": "Most viewed category by the user",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "category_dimension_group"
},
{
"name": "last_active_date",
"description": "Last active date of the user",
"data_type": "DATE",
"format": "YYYY-MM-DD",
"is_pii_column": "N",
"enum": [],
"dimension_group": "time_dimension_group"
},
{
"name": "referrer",
"description": "Referrer URL for the session",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "traffic_dimension_group"
}
] |
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",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "session_interaction_dimension_group"
},
{
"name": "session_start_time",
"description": "Start time of the session",
"data_type": "TIMESTAMP",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "session_interaction_dimension_group"
},
{
"name": "session_end_time",
"description": "End time of the session",
"data_type": "TIMESTAMP",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "session_interaction_dimension_group"
},
{
"name": "session_date",
"description": "Date of the session",
"data_type": "DATE",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "session_interaction_dimension_group"
},
{
"name": "device_type",
"description": "Type of device used",
"data_type": "STRING",
"format": "LowerCase",
"is_pii_column": "N",
"enum": [
"desktop",
"mobile",
"tablet"
],
"dimension_group": "device_dimension_group"
},
{
"name": "browser_type",
"description": "Type of browser used",
"data_type": "STRING",
"format": "LowerCase",
"is_pii_column": "N",
"enum": [
"chrome",
"firefox",
"safari",
"edge",
"other"
],
"dimension_group": "device_dimension_group"
},
{
"name": "os_type",
"description": "Operating system of the device",
"data_type": "STRING",
"format": "LowerCase",
"is_pii_column": "N",
"enum": [
"windows",
"macos",
"linux",
"android",
"ios",
"other"
],
"dimension_group": "device_dimension_group"
},
{
"name": "page_views",
"description": "Number of pages viewed in session",
"data_type": "INTEGER",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "clicks",
"description": "Number of clicks during the session",
"data_type": "INTEGER",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "actions",
"description": "Number of actions taken",
"data_type": "INTEGER",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "time_spent",
"description": "Total time spent in seconds",
"data_type": "INTEGER",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "session_interaction_dimension_group"
},
{
"name": "purchase_made",
"description": "Whether a purchase was made",
"data_type": "BOOLEAN",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "cart_value",
"description": "Total value of the shopping cart",
"data_type": "FLOAT",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "product_views",
"description": "Number of product views",
"data_type": "INTEGER",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "search_queries",
"description": "Number of search queries made",
"data_type": "INTEGER",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "login_status",
"description": "Whether the user was logged in",
"data_type": "BOOLEAN",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "session_interaction_dimension_group"
},
{
"name": "landing_page",
"description": "First page visited during the session",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": null
},
{
"name": "exit_page",
"description": "Last page visited during the session",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": null
},
{
"name": "bounce_status",
"description": "Whether the session was a bounce (single page visit)",
"data_type": "BOOLEAN",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": null
},
{
"name": "conversion_event",
"description": "Event that indicates a conversion was made",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": null
},
{
"name": "referral_source",
"description": "Source from which the visitor was referred",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": null
}
] |
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",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": ""
},
{
"name": "first_name",
"description": "Customer's first name",
"data_type": "STRING",
"format": "CamelCase",
"is_pii_column": "Y",
"enum": [],
"dimension_group": "customer_dimension_group"
},
{
"name": "last_name",
"description": "Customer's last name",
"data_type": "STRING",
"format": "CamelCase",
"is_pii_column": "Y",
"enum": [],
"dimension_group": "customer_dimension_group"
},
{
"name": "email",
"description": "Customer's email address",
"data_type": "STRING",
"format": "LowerCase",
"is_pii_column": "Y",
"enum": [],
"dimension_group": "customer_dimension_group"
},
{
"name": "age",
"description": "Customer's age",
"data_type": "INTEGER",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "customer_dimension_group"
},
{
"name": "gender",
"description": "Customer's gender",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [
"Male",
"Female",
"Other"
],
"dimension_group": "customer_dimension_group"
},
{
"name": "customer_region",
"description": "Geographic region of the customer",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "geographic_dimension_group"
},
{
"name": "last_activity_date",
"description": "Date of last activity",
"data_type": "DATE",
"format": "YYYY-MM-DD",
"is_pii_column": "N",
"enum": [],
"dimension_group": "time_dimension_group"
},
{
"name": "device_type",
"description": "Type of device used",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [
"Desktop",
"Mobile",
"Tablet"
],
"dimension_group": "device_dimension_group"
},
{
"name": "browser_type",
"description": "Type of browser used",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [
"Chrome",
"Firefox",
"Safari",
"Edge",
"Other"
],
"dimension_group": "device_dimension_group"
},
{
"name": "purchase_count",
"description": "Number of purchases made",
"data_type": "INTEGER",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "transaction_dimension_group"
},
{
"name": "total_spent",
"description": "Total amount spent",
"data_type": "FLOAT",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "transaction_dimension_group"
},
{
"name": "loyalty_member",
"description": "Is a loyalty program member",
"data_type": "BOOLEAN",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "loyalty_dimension_group"
},
{
"name": "marketing_opt_in",
"description": "Opted in for marketing",
"data_type": "BOOLEAN",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "customer_behavior_segment_dimension_group"
},
{
"name": "landing_page",
"description": "First page visited during the session",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": null
},
{
"name": "exit_page",
"description": "Last page visited during the session",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": null
},
{
"name": "bounce_status",
"description": "Whether the session was a bounce (single page visit)",
"data_type": "BOOLEAN",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": null
},
{
"name": "conversion_event",
"description": "Event that indicates a conversion was made",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": null
},
{
"name": "referral_source",
"description": "Source from which the visitor was referred",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": null
}
] |
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",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": ""
},
{
"name": "search_date",
"description": "Date when the search was made",
"data_type": "DATE",
"format": "YYYY-MM-DD",
"is_pii_column": "N",
"enum": [],
"dimension_group": "time_dimension_group"
},
{
"name": "search_time",
"description": "Time when the search was made",
"data_type": "TIME",
"format": "HH:MM:SS",
"is_pii_column": "N",
"enum": [],
"dimension_group": "time_dimension_group"
},
{
"name": "search_term",
"description": "Keywords used in the search",
"data_type": "STRING",
"format": "LowerCase",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "device_type",
"description": "Type of device used for searching",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [
"desktop",
"mobile",
"tablet"
],
"dimension_group": "device_dimension_group"
},
{
"name": "browser_type",
"description": "Type of browser used for searching",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [
"chrome",
"firefox",
"safari",
"edge",
"other"
],
"dimension_group": "device_dimension_group"
},
{
"name": "os_type",
"description": "Operating system of the device",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [
"windows",
"macos",
"linux",
"android",
"ios",
"other"
],
"dimension_group": "device_dimension_group"
},
{
"name": "search_result_count",
"description": "Number of results returned",
"data_type": "INTEGER",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "click_through_rate",
"description": "Rate of clicks per search shown",
"data_type": "FLOAT",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "session_id",
"description": "Session identifier for the search",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "session_interaction_dimension_group"
},
{
"name": "ip_address",
"description": "IP address of the searching device",
"data_type": "STRING",
"format": "",
"is_pii_column": "Y",
"enum": [],
"dimension_group": "geographic_dimension_group"
},
{
"name": "country",
"description": "Country from where the search was made",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "geographic_dimension_group"
},
{
"name": "city",
"description": "City from where the search was made",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "geographic_dimension_group"
},
{
"name": "zip_code",
"description": "ZIP code of the search location",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "geographic_dimension_group"
},
{
"name": "time_spent_on_page",
"description": "Time spent on the search results page",
"data_type": "FLOAT",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "pages_visited",
"description": "Number of pages visited during the session",
"data_type": "INTEGER",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "ads_clicked",
"description": "Number of ads clicked during the session",
"data_type": "INTEGER",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "returning_visitor",
"description": "Whether the visitor is returning",
"data_type": "BOOLEAN",
"format": "",
"is_pii_column": "N",
"enum": [
"true",
"false"
],
"dimension_group": "behavior_dimension_group"
},
{
"name": "purchase_made",
"description": "Whether a purchase was made post-search",
"data_type": "BOOLEAN",
"format": "",
"is_pii_column": "N",
"enum": [
"true",
"false"
],
"dimension_group": "behavior_dimension_group"
},
{
"name": "product_category_searched",
"description": "Product category that was searched",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "category_dimension_group"
},
{
"name": "search_origin",
"description": "Origin of search, e.g., internal, external",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [
"internal",
"external"
],
"dimension_group": "referral_dimension_group"
},
{
"name": "referral_source",
"description": "Referral source if any",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "referral_dimension_group"
}
] |