kafka-connect-bigquery icon indicating copy to clipboard operation
kafka-connect-bigquery copied to clipboard

Support for configure BigQuery table partition type

Open duanshiqiang opened this issue 6 years ago • 4 comments

The decision was made 2+ years ago to always use data-partitioned tables when letting kafka-connect-bigquery to manage BigQuery tables. (refer to https://github.com/wepay/kafka-connect-bigquery/issues/39#issuecomment-267175814)

But BigQuery now supports 2 different kinds of date-partitioned tables (the old partitioned by ingestion time type and the new field-based date-partitioned tables).

We are heavily using the field-based date-partitioned tables and currently how we integrate with kafka-connect-bigquery connector is that we manually create the tables required with field partition enabled and only using kafka-connect-bigquery to ingest data into them. But it is troublesome to do because we need to take care of schema update, etc.

It would be better to allow users to configure the table partition type. And I personally think that allowing users to disable partition totally should also be supported.

duanshiqiang avatar Jul 09 '19 07:07 duanshiqiang

https://cloud.google.com/bigquery/docs/partitioned-tables

duanshiqiang avatar Jul 09 '19 07:07 duanshiqiang

@duanshiqiang totally agree and wait for this feature

magiciiboy avatar Jul 11 '19 04:07 magiciiboy

@duanshiqiang @magiciiboy Added a PR for this: https://github.com/wepay/kafka-connect-bigquery/pull/229

darshanmehta10 avatar Nov 01 '19 19:11 darshanmehta10

any update on this?

darrenhaken avatar Jan 23 '20 10:01 darrenhaken