The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
cp_catalog_page_sk: int32
cp_catalog_page_id: string
cp_start_date_sk: int32
cp_end_date_sk: int32
cp_department: string
cp_catalog_number: int32
cp_catalog_page_number: int32
cp_description: string
cp_type: string
to
{'cc_call_center_sk': Value('int32'), 'cc_call_center_id': Value('string'), 'cc_rec_start_date': Value('date32'), 'cc_rec_end_date': Value('date32'), 'cc_closed_date_sk': Value('int32'), 'cc_open_date_sk': Value('int32'), 'cc_name': Value('string'), 'cc_class': Value('string'), 'cc_employees': Value('int32'), 'cc_sq_ft': Value('int32'), 'cc_hours': Value('string'), 'cc_manager': Value('string'), 'cc_mkt_id': Value('int32'), 'cc_mkt_class': Value('string'), 'cc_mkt_desc': Value('string'), 'cc_market_manager': Value('string'), 'cc_division': Value('int32'), 'cc_division_name': Value('string'), 'cc_company': Value('int32'), 'cc_company_name': Value('string'), 'cc_street_number': Value('string'), 'cc_street_name': Value('string'), 'cc_street_type': Value('string'), 'cc_suite_number': Value('string'), 'cc_city': Value('string'), 'cc_county': Value('string'), 'cc_state': Value('string'), 'cc_zip': Value('string'), 'cc_country': Value('string'), 'cc_gmt_offset': Value('decimal128(5, 2)'), 'cc_tax_percentage': Value('decimal128(5, 2)')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
return get_rows(
^^^^^^^^^
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/utils.py", line 77, in get_rows
rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2431, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 1952, in __iter__
for key, pa_table in self._iter_arrow():
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 1975, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 503, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 350, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/parquet/parquet.py", line 106, in _generate_tables
yield f"{file_idx}_{batch_idx}", self._cast_table(pa_table)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/parquet/parquet.py", line 73, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
cp_catalog_page_sk: int32
cp_catalog_page_id: string
cp_start_date_sk: int32
cp_end_date_sk: int32
cp_department: string
cp_catalog_number: int32
cp_catalog_page_number: int32
cp_description: string
cp_type: string
to
{'cc_call_center_sk': Value('int32'), 'cc_call_center_id': Value('string'), 'cc_rec_start_date': Value('date32'), 'cc_rec_end_date': Value('date32'), 'cc_closed_date_sk': Value('int32'), 'cc_open_date_sk': Value('int32'), 'cc_name': Value('string'), 'cc_class': Value('string'), 'cc_employees': Value('int32'), 'cc_sq_ft': Value('int32'), 'cc_hours': Value('string'), 'cc_manager': Value('string'), 'cc_mkt_id': Value('int32'), 'cc_mkt_class': Value('string'), 'cc_mkt_desc': Value('string'), 'cc_market_manager': Value('string'), 'cc_division': Value('int32'), 'cc_division_name': Value('string'), 'cc_company': Value('int32'), 'cc_company_name': Value('string'), 'cc_street_number': Value('string'), 'cc_street_name': Value('string'), 'cc_street_type': Value('string'), 'cc_suite_number': Value('string'), 'cc_city': Value('string'), 'cc_county': Value('string'), 'cc_state': Value('string'), 'cc_zip': Value('string'), 'cc_country': Value('string'), 'cc_gmt_offset': Value('decimal128(5, 2)'), 'cc_tax_percentage': Value('decimal128(5, 2)')}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
No dataset card yet
- Downloads last month
- 11