I want to control what I insert in table not what I get from table.
Sent: Monday, July 11, 2022 at 3:37 AM
From: "Shengkai Fang" <fskm...@gmail.com>
To: pod...@gmx.com
Cc: "user" <user@flink.apache.org>
Subject: Re: Does Table API connector, csv, has some option to ignore some columns
From: "Shengkai Fang" <fskm...@gmail.com>
To: pod...@gmx.com
Cc: "user" <user@flink.apache.org>
Subject: Re: Does Table API connector, csv, has some option to ignore some columns
Hi.
In Flink SQL, you can select the column that you wants in the query. For example, you can use
```
SELECT col_a, col_b FROM some_table;
```
Best,
Shengkai
<pod...@gmx.com> 于2022年7月9日周六 01:48写道:
Does Table API connector, CSV, has some option to ignore some columns in source file?For instance read only first, second, nine... but not the others?Or any other trick?CREATE TABLE some_table ( some_id BIGINT, ... ) WITH ( 'format' = 'csv', ... )