Skip to content

Commit 2d78e81

Browse files
committed
param details for .Q.fps/.Q.fpn
1 parent 2297878 commit 2d78e81

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/ref/dotq.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -773,12 +773,18 @@ _[`.Q.fs`](#fs-file-streaming) for pipes_
773773
.Q.fpn[x;y;z]
774774
```
775775

776+
Where
777+
778+
- `x` is a unary function
779+
- `y` is a filepath to a fifo (named pipe)
780+
- `z` is an integer
781+
776782
(Since V3.4)
777783

778-
Reads `z`-sized lumps of complete `"\n"` delimited records from a pipe and applies a function to each record. This enables you to implement a streaming algorithm to convert a large CSV file into an on-disk kdb+ database without holding the data in memory all at once.
784+
Reads `z`-sized lumps of complete `"\n"` delimited records from a pipe and applies a function to each record. This enables you to implement a streaming algorithm for various purposes such as converting a large compressed CSV file into an on-disk kdb+ database without holding the data in memory all at once or using disk space required for the uncompressed file.
779785

780786
:fontawesome-solid-graduation-cap:
781-
[Named Pipes](../kb/named-pipes.md)
787+
[Streaming data from named pipes](../kb/named-pipes.md#streaming)
782788

783789
!!! tip "`.Q.fps` is a projection of `.Q.fpn` with the chunk size set to 131000 bytes."
784790

0 commit comments

Comments
 (0)