Live data from Hacker News

Show HN: ZSV (Zip Separated Values) columnar data format

github.com

1–10 of 77 posts

Re: Show HN: ZSV (Zip Separated Values) columnar data format

#3
post #2

Can't store tabs or newlines, odd choice.

yeah, this is a limitation from the TSV format this is based on - there is an extension to the format that supports storing binary blobs - ref: https://github.com/Hafthor/zsvutil?tab=readme-ov-file#nested...

Re: Show HN: ZSV (Zip Separated Values) columnar data format

#6
post #3
post #2

Can't store tabs or newlines, odd choice.

yeah, this is a limitation from the TSV format this is based on - there is an extension to the format that supports storing binary blobs - ref: https://github.com/Hafthor/zsvutil?tab=readme-ov-file#nested...

Basically it's the same limitations as CSV.

At least you could use something less likely to appear in data as record sepator (like 0x1E)

Otherwise it's an interesting idea!

Re: Show HN: ZSV (Zip Separated Values) columnar data format

#7
post #3
post #2

Can't store tabs or newlines, odd choice.

yeah, this is a limitation from the TSV format this is based on - there is an extension to the format that supports storing binary blobs - ref: https://github.com/Hafthor/zsvutil?tab=readme-ov-file#nested...

(Offtopic, but just FYI) it's tenet (principle) not tenant (building resident).

Re: Show HN: ZSV (Zip Separated Values) columnar data format

#8
post #7
post #3

Earlier quoted context omitted.

yeah, this is a limitation from the TSV format this is based on - there is an extension to the format that supports storing binary blobs - ref: https://github.com/Hafthor/zsvutil?tab=readme-ov-file#nested...

(Offtopic, but just FYI) it's tenet (principle) not tenant (building resident).

doh. fixed. thanks!

Re: Show HN: ZSV (Zip Separated Values) columnar data format

#9
post #3
post #2

Can't store tabs or newlines, odd choice.

yeah, this is a limitation from the TSV format this is based on - there is an extension to the format that supports storing binary blobs - ref: https://github.com/Hafthor/zsvutil?tab=readme-ov-file#nested...

can't you just do quoting?

Re: Show HN: ZSV (Zip Separated Values) columnar data format

#10
post #3

Earlier quoted context omitted.

yeah, this is a limitation from the TSV format this is based on - there is an extension to the format that supports storing binary blobs - ref: https://github.com/Hafthor/zsvutil?tab=readme-ov-file#nested...

Basically it's the same limitations as CSV. At least you could use something less likely to appear in data as record sepator (like 0x1E) Otherwise it's an interesting idea!

0x1E is the record separator, in ASCII precisely for this purpose. Too bad it’s not popular, here we’re stuck with inferior TSV/CSV
Post reply on HN