ClickHouse / ClickHouse/ClickHouse
Line numbers in error messages are incorrect when using parallel parsing
- Dominant language
- C++
- Stars
- 49.9k
- Forks
- 9k
- Avg merge
- 21h 32m
- Merged PRs (30d)
- 515
Description
```
ubuntu@ip-172-31-68-159:~$ cat pageviews-20150504-090000 | clickhouse-local --input_format_parallel_parsing 0 --format_regexp_escaping_rule 'Raw' --format_regexp_skip_unmatched 1 --format_regexp '^([^ \.]+)(\.[^ ]+)? +([^ ]+) +(\d+) +(\d+)$' --query "SELECT * FROM file('/dev/stdin', Regexp, 'project String, subproject String, path String, hits UInt64, size UInt64') FORMAT Null"
Code: 117. DB::Exception: No \n after \r at the end of line.: (at row 5329974)
: While executing RegexpRowInputFormat: While executing File. (INCORRECT_DATA)
ubuntu@ip-172-31-68-159:~$ cat pageviews-20150504-090000 | clickhouse-local --input_format_parallel_parsing 1 --format_regexp_escaping_rule 'Raw' --format_regexp_skip_unmatched 1 --format_regexp '^([^ \.]+)(\.[^ ]+)? +([^ ]+) +(\d+) +(\d+)$' --query "SELECT * FROM file('/dev/stdin', Regexp, 'project String, subproject String, path String, hits UInt64, size UInt64') FORMAT Null"
Code: 117. DB::Exception: No \n after \r at the end of line.: (at row 227480)
: While executing ParallelParsingBlockInputFormat: While executing File. (INCORRECT_DATA)
```
Contributor guide
Assessment
This issue has not been assessed yet.