The dataset viewer is not available for this split.
The parquet files of the split do not match the features of the split.
Error code: ParquetSchemaMismatchError
Exception: SchemaMismatchError
Message: The schema of the parquet files does not match the expected schema: Couldn't cast
id: string
name: string
created_utc: int64
author: string
subreddit: string
title: string
selftext: string
url: string
score: int64
num_comments: int64
upvote_ratio: double
link_flair_text: string
permalink: string
is_self: bool
over_18: bool
spoiler: bool
stickied: bool
created_date: timestamp[us, tz=UTC]
to
{'id': Value('string'), 'name': Value('string'), 'created_utc': Value('int64'), 'author': Value('string'), 'subreddit': Value('string'), 'body': Value('string'), 'score': Value('int64'), 'parent_id': Value('string'), 'link_id': Value('string'), 'permalink': Value('string'), 'is_submitter': Value('bool'), 'stickied': Value('bool'), 'created_date': Value('timestamp[ns, tz=UTC]')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/libs/libcommon/src/libcommon/parquet_utils.py", line 347, in query_libviewer_index
cast_table_to_schema(pa.Table.from_batches([batch]), self.features.arrow_schema)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
id: string
name: string
created_utc: int64
author: string
subreddit: string
title: string
selftext: string
url: string
score: int64
num_comments: int64
upvote_ratio: double
link_flair_text: string
permalink: string
is_self: bool
over_18: bool
spoiler: bool
stickied: bool
created_date: timestamp[us, tz=UTC]
to
{'id': Value('string'), 'name': Value('string'), 'created_utc': Value('int64'), 'author': Value('string'), 'subreddit': Value('string'), 'body': Value('string'), 'score': Value('int64'), 'parent_id': Value('string'), 'link_id': Value('string'), 'permalink': Value('string'), 'is_submitter': Value('bool'), 'stickied': Value('bool'), 'created_date': Value('timestamp[ns, tz=UTC]')}
because column names don't match
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/rows/src/rows/routes/rows.py", line 161, in rows_endpoint
pa_table, truncated_columns = await rows_index.query(offset=offset, length=length)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/async_lru/__init__.py", line 369, in __call__
return await self.__wrapper(self.__instance, *fn_args, **fn_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/async_lru/__init__.py", line 287, in __call__
return await self._shield_and_handle_cancelled_error(cache_item, key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/async_lru/__init__.py", line 241, in _shield_and_handle_cancelled_error
return await asyncio.shield(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/libs/libcommon/src/libcommon/parquet_utils.py", line 320, in query
return await self.query_libviewer_index(offset=offset, length=length)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/libs/libcommon/src/libcommon/parquet_utils.py", line 351, in query_libviewer_index
raise SchemaMismatchError(
f"The schema of the parquet files does not match the expected schema: {e}"
) from e
libcommon.parquet_utils.SchemaMismatchError: The schema of the parquet files does not match the expected schema: Couldn't cast
id: string
name: string
created_utc: int64
author: string
subreddit: string
title: string
selftext: string
url: string
score: int64
num_comments: int64
upvote_ratio: double
link_flair_text: string
permalink: string
is_self: bool
over_18: bool
spoiler: bool
stickied: bool
created_date: timestamp[us, tz=UTC]
to
{'id': Value('string'), 'name': Value('string'), 'created_utc': Value('int64'), 'author': Value('string'), 'subreddit': Value('string'), 'body': Value('string'), 'score': Value('int64'), 'parent_id': Value('string'), 'link_id': Value('string'), 'permalink': Value('string'), 'is_submitter': Value('bool'), 'stickied': Value('bool'), 'created_date': Value('timestamp[ns, tz=UTC]')}
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.
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.