Description
Concatenate additional datasets with the input using the selected layout mode.
Group and subgroup modes append datasets at their respective hierarchy level;
vector mode combines compatible columns while retaining each vector's own
length and sampling metadata. In modes that require aligned vectors, output
sampling and lengths follow the first dataset. Inputs must have compatible
group keys and schemas for the selected mode.
Synopsis
sgcat -mode=group -group.inlast=false -vector.rename=true <stdin >stdout
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
-mode |
enum |
group
|
merged data as new group, subgroup or new vector |
-group.inlast |
bool |
false
|
put the input stream at last |
-vector.rename |
bool |
true
|
rename vectors by padding the file number or not in vector mode |
in |
ifile |
stdin
|
input data as reference |
out |
ofile |
stdout
|
output merged data |
Input and output
Input
input data as reference
Output
output merged data