streaming dataset with concatenating splits raises an error
COLLABORATOR
Hi! Only the name of a particular split ("train", "test", ...) is supported as a split pattern if `streaming=True`. We plan to address this limitation soon.
2022-08-17T12:42:36Z
https://github.com/huggingface/datasets/issues/4804#issuecomment-1217959074
https://api.github.com/repos/huggingface/datasets/issues/4804
IC_kwDODunzps5ImJSi
https://api.github.com/repos/huggingface/datasets/issues/comments/1217959074/reactions
2022-08-17T12:42:36Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1217959074
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public
NONE
Hi, have you addressed this yet?
2023-05-11T00:29:58Z
https://github.com/huggingface/datasets/issues/4804#issuecomment-1542969521
https://api.github.com/repos/huggingface/datasets/issues/4804
IC_kwDODunzps5b99ix
https://api.github.com/repos/huggingface/datasets/issues/comments/1542969521/reactions
2023-05-11T00:29:58Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1542969521
https://avatars.githubusercontent.com/u/17240858?v=4
https://api.github.com/users/surya-narayanan/events{/privacy}
https://api.github.com/users/surya-narayanan/followers
https://api.github.com/users/surya-narayanan/following{/other_user}
https://api.github.com/users/surya-narayanan/gists{/gist_id}
https://github.com/surya-narayanan
surya-narayanan
MDQ6VXNlcjE3MjQwODU4
https://api.github.com/users/surya-narayanan/orgs
https://api.github.com/users/surya-narayanan/received_events
https://api.github.com/users/surya-narayanan/repos
https://api.github.com/users/surya-narayanan/starred{/owner}{/repo}
https://api.github.com/users/surya-narayanan/subscriptions
User
https://api.github.com/users/surya-narayanan
public
NONE
yes, same error occurs.
```python
from datasets import load_dataset

# error
repo = "nateraw/ade20k-tiny"
dataset = load_dataset(repo, split="train+validation", streaming=True)
```

```python
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
[<ipython-input-3-a6ae02d63899>](https://localhost:8080/#) in <cell line: 5>()
      3 # error
      4 repo = "nateraw/ade20k-tiny"
----> 5 dataset = load_dataset(repo, split="train+validation", streaming=True)

1 frames
[/usr/local/lib/python3.10/dist-packages/datasets/builder.py](https://localhost:8080/#) in as_streaming_dataset(self, split, base_path)
   1265             splits_generator = splits_generators[split]
   1266         else:
-> 1267             raise ValueError(f"Bad split: {split}. Available splits: {list(splits_generators)}")
   1268 
   1269         # Create a dataset for each of the given splits

ValueError: Bad split: train+validation. Available splits: ['train', 'validation']
```

google colab, `datasets==2.12.0`
```
- huggingface_hub version: 0.14.1
- Platform: Linux-5.10.147+-x86_64-with-glibc2.31
- Python version: 3.10.11
- Running in iPython ?: No
- Running in notebook ?: No
- Running in Google Colab ?: No
- Token path ?: /root/.cache/huggingface/token
- Has saved token ?: False
- Configured git credential helpers: 
- FastAI: 2.7.12
- Tensorflow: 2.12.0
- Torch: 2.0.0+cu118
- Jinja2: 3.1.2
- Graphviz: 0.20.1
- Pydot: 1.4.2
- Pillow: 8.4.0
- hf_transfer: N/A
- gradio: N/A
- ENDPOINT: https://huggingface.co/
- HUGGINGFACE_HUB_CACHE: /root/.cache/huggingface/hub
- HUGGINGFACE_ASSETS_CACHE: /root/.cache/huggingface/assets
- HF_TOKEN_PATH: /root/.cache/huggingface/token
- HF_HUB_OFFLINE: False
- HF_HUB_DISABLE_TELEMETRY: False
- HF_HUB_DISABLE_PROGRESS_BARS: None
- HF_HUB_DISABLE_SYMLINKS_WARNING: False
- HF_HUB_DISABLE_EXPERIMENTAL_WARNING: False
- HF_HUB_DISABLE_IMPLICIT_TOKEN: False
- HF_HUB_ENABLE_HF_TRANSFER: False
```

2023-05-11T01:42:27Z
https://github.com/huggingface/datasets/issues/4804#issuecomment-1543112984
https://api.github.com/repos/huggingface/datasets/issues/4804
IC_kwDODunzps5b-gkY
https://api.github.com/repos/huggingface/datasets/issues/comments/1543112984/reactions
2023-05-11T01:42:59Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1543112984
https://avatars.githubusercontent.com/u/37621276?v=4
https://api.github.com/users/Bing-su/events{/privacy}
https://api.github.com/users/Bing-su/followers
https://api.github.com/users/Bing-su/following{/other_user}
https://api.github.com/users/Bing-su/gists{/gist_id}
https://github.com/Bing-su
Bing-su
MDQ6VXNlcjM3NjIxMjc2
https://api.github.com/users/Bing-su/orgs
https://api.github.com/users/Bing-su/received_events
https://api.github.com/users/Bing-su/repos
https://api.github.com/users/Bing-su/starred{/owner}{/repo}
https://api.github.com/users/Bing-su/subscriptions
User
https://api.github.com/users/Bing-su
public
NONE
Hi!, still not fixed this, the truth is that it is an important update for what we want to train the entire dataset because we want to train fast, also should be enabled the function "[train:18%]" for streaming
2023-11-25T14:52:09Z
https://github.com/huggingface/datasets/issues/4804#issuecomment-1826350885
https://api.github.com/repos/huggingface/datasets/issues/4804
IC_kwDODunzps5s2-cl
https://api.github.com/repos/huggingface/datasets/issues/comments/1826350885/reactions
2023-11-25T14:52:09Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1826350885
https://avatars.githubusercontent.com/u/103162168?v=4
https://api.github.com/users/fahiers/events{/privacy}
https://api.github.com/users/fahiers/followers
https://api.github.com/users/fahiers/following{/other_user}
https://api.github.com/users/fahiers/gists{/gist_id}
https://github.com/fahiers
fahiers
U_kgDOBiYhOA
https://api.github.com/users/fahiers/orgs
https://api.github.com/users/fahiers/received_events
https://api.github.com/users/fahiers/repos
https://api.github.com/users/fahiers/starred{/owner}{/repo}
https://api.github.com/users/fahiers/subscriptions
User
https://api.github.com/users/fahiers
public
## Describe the bug
streaming dataset with concatenating splits raises an error

## Steps to reproduce the bug
```python
from datasets import load_dataset

# no error
repo = "nateraw/ade20k-tiny"
dataset = load_dataset(repo, split="train+validation")
```

```python
from datasets import load_dataset

# error
repo = "nateraw/ade20k-tiny"
dataset = load_dataset(repo, split="train+validation", streaming=True)
```

```sh
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
[<ipython-input-4-a6ae02d63899>](https://localhost:8080/#) in <module>()
      3 # error
      4 repo = "nateraw/ade20k-tiny"
----> 5 dataset = load_dataset(repo, split="train+validation", streaming=True)

1 frames
[/usr/local/lib/python3.7/dist-packages/datasets/builder.py](https://localhost:8080/#) in as_streaming_dataset(self, split, base_path)
   1030             splits_generator = splits_generators[split]
   1031         else:
-> 1032             raise ValueError(f"Bad split: {split}. Available splits: {list(splits_generators)}")
   1033 
   1034         # Create a dataset for each of the given splits

ValueError: Bad split: train+validation. Available splits: ['validation', 'train']
```

[Colab](https://colab.research.google.com/drive/1wMj08_0bym9jnGgByib4lsBPu8NCZBG9?usp=sharing)

## Expected results
load successfully or throws an error saying it is not supported.

## Actual results
above

## Environment info
- `datasets` version: 2.4.0
- Platform: Windows-10-10.0.22000-SP0 (windows11 x64)
- Python version: 3.9.13
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
