hashjoin(1)

NAME

hashjoin - joins dimensional fields from a file into a data stream

SYNOPSIS

hashjoin  [-hVdfDklKjJL] [file ...]

DESCRIPTION
joins dimensional fields from a file into a data stream

-h  --help
    print this message and exit

-V  --version
    print version info and exit

-d delim   --delim=delim
    input data field separator string

-f dimension_file   --dimension-file=dimension_file
    the file containing dimensional data

-D dimension_delim   --dimension-delim=dimension_delim
    dimension file field separator string (if different from the data stream delimiter)

-k data_key_fields   --data-keys=data_key_fields
    a list of lookup key field indexes in the data stream

-l dimension_key_fields   --lookup-keys=dimension_key_fields
    a list of lookup key field indexes in the dimension file

-K key_labels   --key-labels=key_labels
    a list of lookup key field labels

-j dimension_fields   --joined-fields=dimension_fields
    a list of dimensional field indexes to add to the data

-J dimension_field_labels   --joined-labels=dimension_field_labels
    a list of dimensional field labels to add to the data

-L dimension_labels   --label-dimensions=dimension_labels
    output labels for added fields when the data stream has a header and the dimension file does not.

If using labels, the input data stream and the dimensional file must use the same field labels.

AUTHOR

Written by the maintainers and contributers of CRUSH tools.  See
    http://code.google.com/p/crush-tools

REPORTING BUGS

Report bugs to <crush-tools@googlegroups.com>, or visit
    http://groups.google.com/group/crush-tools

COPYRIGHT
   Copyright 2009 Google Inc.
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at
       http://www.apache.org/licenses/LICENSE-2.0
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.