GoogleSheets
GoogleSheets source connector
Descriptionâ
Used to read data from GoogleSheets.
Key featuresâ
- batch
- stream
- exactly-once
- schema projection
- parallelism
- support user-defined split
- file format
- text
- csv
- json
Optionsâ
name | type | required | default value |
---|---|---|---|
service_account_key | string | yes | - |
sheet_id | string | yes | - |
sheet_name | string | yes | - |
range | string | yes | - |
schema | config | no | - |
service_account_key [string]â
google cloud service account, base64 required
sheet_id [string]â
sheet id in a Google Sheets URL
sheet_name [string]â
the name of the sheet you want to import
range [string]â
the range of the sheet you want to import
schema [config]â
fields [config]â
the schema fields of upstream data
Exampleâ
simple:
GoogleSheets {
service_account_key = "seatunnel-test"
sheet_id = "1VI0DvyZK-NIdssSdsDSsSSSC-_-rYMi7ppJiI_jhE"
sheet_name = "sheets01"
range = "A1:C3"
schema = {
fields {
a = int
b = string
c = string
}
}
}
Changelogâ
2.3.0 2022-12-30â
- Add GoogleSheets Source Connector