Page properties | |||||
---|---|---|---|---|---|
|
Status
Current state: "Under discussion"
Discussion thread: http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/DISCUSS-FLIP-107-Reading-table-columns-from-different-parts-of-source-records-td38277.html
...
|
...
|
Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).
...
We propose to extend the `Schema` class from FLIP-129 by:
// for `offset INT METADATA` |
An example would look like:
.schema(Schema.newBuilder() |
LIKE clause
Currently, the LIKE clause offers the following table features:
- CONSTRAINTS - constraints such as primary and unique keys
- GENERATED - computed columns
- OPTIONS - connector options that describe connector and format properties
- PARTITIONS - partition of the tables
- WATERMARKS - watermark declarations
We propose to extend the LIKE clause to add `METADATA` as another table feature.
...
The following example shows how to overwrite a metadata column with another metadata column:
CREATE TABLE t (i INT, s STRING, timestamp TIMESTAMP(3) WITH LOCAL TIME ZONE METADATA FROM 'timestamp', d DOUBLE); |
Reading metadata via DynamicTableSource
...