Key Value Dataset Batch Source (Deprecated)

Note: Datasets and the Key Value Dataset Batch Source are deprecated and will be removed in CDAP 7.0.0.

Reads the entire contents of a KeyValueTable, outputting records with a key field and a value field. Both fields are of type bytes.

The source is used whenever you need to read from a KeyValueTable in batch. For example, you may want to periodically dump the contents of a KeyValueTable to a Table.

Configuration

Property

Macro Enabled?

Description

Property

Macro Enabled?

Description

Table Name

Yes

Required. KeyValueTable name. If the table does not already exist, it will be created.

Output Schema

No

Required. The output schema for the data.

Example

This example reads from a KeyValueTable named items:

Property

Value

Property

Value

Table Name

items

It outputs records with this schema:

field name

type

field name

type

key

bytes

value

bytes



Created in 2020 by Google Inc.