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 3 new columns ({'column_name', 'n_distinct', 'table_name'}) and 1 missing columns ({'cluster'}).

This happened while the csv dataset builder was generating data using

hf://datasets/Jerrylife/WikiDBGraph/data/column_cardinality.csv (at revision 8e68522ccf73bf72f3a3cad161030f8fdeb2e8a4)

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 1871, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 643, 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 2293, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2241, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              db_id: int64
              table_name: string
              column_name: string
              n_distinct: int64
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 729
              to
              {'db_id': Value(dtype='int64', id=None), 'cluster': Value(dtype='int64', 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 1428, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 989, in stream_convert_to_parquet
                  builder._prepare_split(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1742, 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 1873, 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 3 new columns ({'column_name', 'n_distinct', 'table_name'}) and 1 missing columns ({'cluster'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/Jerrylife/WikiDBGraph/data/column_cardinality.csv (at revision 8e68522ccf73bf72f3a3cad161030f8fdeb2e8a4)
              
              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.

db_id
int64
cluster
int64
0
9
1
9
2
9
3
9
4
9
5
9
6
9
7
5
8
9
9
9
10
9
11
9
12
10
13
5
14
9
15
5
16
9
17
9
18
9
19
9
20
9
21
9
22
9
23
9
24
9
25
9
26
9
27
9
28
9
29
9
30
9
31
10
32
9
33
9
34
9
35
9
36
9
37
9
38
9
39
9
40
7
41
9
42
9
43
9
44
9
45
0
46
9
47
9
48
9
49
9
50
9
51
9
52
9
53
9
54
9
55
9
56
9
57
9
58
9
59
9
60
-1
61
9
62
9
63
10
64
9
65
9
66
10
67
9
68
9
69
9
70
9
71
9
72
9
73
9
74
9
75
9
76
9
77
9
78
9
79
9
80
9
81
9
82
2
83
9
84
9
85
9
86
9
87
9
88
9
89
9
90
9
91
9
92
9
93
9
94
9
95
9
96
9
97
9
98
9
99
10
End of preview.