USqlStreamReader.Split(delimiter) doesn't seem to work correctly
Open
- Dominant language
- C#
- Stars
- 231
- Forks
- 666
- PR merge metrics
- No merged PRs in 30d
Description
var stream = new FileStream(@"....\ExtractorsUnitTests\InputFiles\Test.json", FileMode.Open);
Encoding encoding = Encoding.UTF8;
var streamList = new USqlStreamReader(stream).Split(encoding.GetBytes("\r\n")).ToList();
Although, the file has multiple lines the "streamList" only gets the first line(first stream) as the output.
I also checked that it's not reading the entire file at once.
Any solution for the same ?
Contributor guide
Assessment
This issue has not been assessed yet.