Skip to content

PostgresToGoogleCloudStorageOperator - Custom schema mapping #11547

@TheSuperAgent

Description

@TheSuperAgent

Version : 1.10.12

I used PostgresToGoogleCloudStorageOperator to export the data and the schema file as well. But I saw a column on Postgres was TIMESTAMP without time zone but in BigQuery the auto-create table (via GoogleCloudStorageToBigQueryOperator) used the JSON schema file and created the table. When I checked the BQ table the data type was TIMESTAMP.

For without timezone data, DATETIME would be the right choice. So can we manually MAP the data types during the schema file export?

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions