from_schema.arrow_stream_dataset {tfio}R Documentation

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 class '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.


[Package tfio version 0.4.1 Index]