Learn R Programming

tfio (version 0.4.1)

from_schema.arrow_stream_dataset: Create an Arrow Dataset from an input stream, inferring output types and shapes from the given Arrow schema.

Description

Create an Arrow Dataset from an input stream, inferring output types and shapes from the given Arrow schema.

Usage

# S3 method for arrow_stream_dataset
from_schema(object, schema, columns = NULL, host = NULL, filenames = NULL, ...)

Arguments

object

An R object.

schema

Arrow schema defining the record batch data in the stream.

columns

A list of column indices to be used in the Dataset.

host

A tf.string tensor or string defining the input stream. For a socket client, use "<HOST_IP>:<PORT>", for stdin use "STDIN".

filenames

Not used.

...

Optional arguments passed on to implementing methods.