Improve features resolution in streaming
NONE
_The documentation is not available anymore as the PR was closed or merged._
2022-07-28T17:34:33Z
https://github.com/huggingface/datasets/pull/4762#issuecomment-1198440650
https://api.github.com/repos/huggingface/datasets/issues/4762
IC_kwDODunzps5HbsDK
https://api.github.com/repos/huggingface/datasets/issues/comments/1198440650/reactions
2022-09-09T17:17:39Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1198440650
https://avatars.githubusercontent.com/u/99929124?v=4
https://api.github.com/users/HuggingFaceDocBuilderDev/events{/privacy}
https://api.github.com/users/HuggingFaceDocBuilderDev/followers
https://api.github.com/users/HuggingFaceDocBuilderDev/following{/other_user}
https://api.github.com/users/HuggingFaceDocBuilderDev/gists{/gist_id}
https://github.com/HuggingFaceDocBuilderDev
HuggingFaceDocBuilderDev
U_kgDOBfTMJA
https://api.github.com/users/HuggingFaceDocBuilderDev/orgs
https://api.github.com/users/HuggingFaceDocBuilderDev/received_events
https://api.github.com/users/HuggingFaceDocBuilderDev/repos
https://api.github.com/users/HuggingFaceDocBuilderDev/starred{/owner}{/repo}
https://api.github.com/users/HuggingFaceDocBuilderDev/subscriptions
User
https://api.github.com/users/HuggingFaceDocBuilderDev
public
MEMBER
Just took your comment into account @mariosasko , let me know if it's good for you now :)
2022-09-05T17:26:41Z
https://github.com/huggingface/datasets/pull/4762#issuecomment-1237330319
https://api.github.com/repos/huggingface/datasets/issues/4762
IC_kwDODunzps5JwCmP
https://api.github.com/repos/huggingface/datasets/issues/comments/1237330319/reactions
2022-09-05T17:26:41Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1237330319
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
`IterableDataset._resolve_features` was returning the features sorted alphabetically by column name, which is not consistent with non-streaming. I changed this and used the order of columns from the data themselves. It was causing some inconsistencies in the dataset viewer as well.

I also fixed `interleave_datasets` that was not filling missing columns with None, because it was not using the columns from `IterableDataset._resolve_features`

cc @severo 