You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When counting for the , delimiter, it will skip the first line.
It makes so the delimiters are not compared to the same lines.
Because of this behavior it breaks the detection of delimiters on the header only (which is usually more consistent than other lines).
As a workaround I made my own delimiter_detect function, removing the condition on the statement and it works as expected.
The text was updated successfully, but these errors were encountered:
Bug Report
I think there is an issue with the behavior of the
$limit
parameter in thedelimiter_detect
function.Or at least I find it really confusing.
Example with the following csv and call to the function:
In this case I would expect the function to only take the first line(the header) into account. And so
;
would be the delimiter with the highest count.But it actually returns:
It happens because of the record count where condition in the statement
When counting for the
,
delimiter, it will skip the first line.It makes so the delimiters are not compared to the same lines.
Because of this behavior it breaks the detection of delimiters on the header only (which is usually more consistent than other lines).
As a workaround I made my own
delimiter_detect
function, removing the condition on the statement and it works as expected.The text was updated successfully, but these errors were encountered: