q lang - Is there a way to replay a gzip-compressed log file in kdb+ without uncompressing it first? -
streaming execute, -11!
, not work on named pipes, obvious solution of redirecting gzip -cd
output named pipe , passing -11!
not work.
-11!
accepts compressed file , streams long compressed -19!
(using 2 compression algorithm parameter, gzip).
the difference between normal gzipped file , kdb compressed 1 few bytes @ beginning of file.
edit (see comment) thanks, isn't true - bytes different @ end of file
so possible solution prepend gzipped files (if weren't produced -19!
) appropriate byte array first.
Comments
Post a Comment