FasterXML / FasterXML/jackson-dataformats-text

CsvSchema skipFirstDataRow & useHeader

Đang mở
#176 6 bình luận 0 reaction 0 người được giao Xem trên GitHub
csv
Ngôn ngữ chính
Java
Star
455
Fork
164
Merge trung bình
6 ngày 10 giờ
Pull request đã merge (30 ngày)
2

Mô tả

When both skipFirstDataRow and useHeader value are set **true**, the skipping will take place on the **second** line of the document.

_whether the first data line (either first line of the document, if useHeader=false, or second, if useHeader=true) should be completely ignored by parser._

Is it possible to overwrite this behaviour? Namely skipping the first line and use the second line as the header.

For example, this kind of document:
_sep=,
header1,header2
value1,value2._

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.