Skip to content

Commit

Permalink
Merge pull request #1799 from rudderlabs/main
Browse files Browse the repository at this point in the history
chore(release): pull main into develop post release v1.97.3
krishna2020 authored Nov 14, 2024
2 parents 2e64eca + 3bb60cc commit 5744ae3
Showing 6 changed files with 72 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [1.97.3](https://github.com/rudderlabs/rudder-config-schema/compare/v1.97.2...v1.97.3) (2024-11-14)


### Bug Fixes

* bq partitioning for additional columns ([#1797](https://github.com/rudderlabs/rudder-config-schema/issues/1797)) ([498f0b0](https://github.com/rudderlabs/rudder-config-schema/commit/498f0b0afa11ef8e18902950de00f01651e440c4))

### [1.97.2](https://github.com/rudderlabs/rudder-config-schema/compare/v1.97.1...v1.97.2) (2024-11-07)


4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rudder-config-schema",
"version": "1.97.2",
"version": "1.97.3",
"description": "",
"main": "src/index.ts",
"private": true,
2 changes: 1 addition & 1 deletion src/configurations/destinations/bq/schema.json
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@
},
"partitionColumn": {
"type": "string",
"pattern": "^(_PARTITIONTIME|loaded_at|received_at)$",
"pattern": "^(_PARTITIONTIME|loaded_at|received_at|timestamp|sent_at|original_timestamp)$",
"default": "_PARTITIONTIME"
},
"partitionType": {
12 changes: 12 additions & 0 deletions src/configurations/destinations/bq/ui-config.json
Original file line number Diff line number Diff line change
@@ -160,6 +160,18 @@
{
"name": "Received At",
"value": "received_at"
},
{
"name": "Timestamp",
"value": "timestamp"
},
{
"name": "Sent At",
"value": "sent_at"
},
{
"name": "Original Timestamp",
"value": "original_timestamp"
}
],
"defaultOption": {
50 changes: 49 additions & 1 deletion test/data/validation/destinations/bq.json
Original file line number Diff line number Diff line change
@@ -45,6 +45,54 @@
},
"result": true
},
{
"config": {
"project": "test-gcs-project",
"location": "",
"bucketName": "test-bucket",
"prefix": "xyzxx",
"namespace": "eu_new3",
"partitionColumn": "sent_at",
"partitionType": "hour",
"credentials": "{}",
"syncFrequency": "30",
"testConnection": false,
"testConnectionTS": 1621402528550
},
"result": true
},
{
"config": {
"project": "test-gcs-project",
"location": "",
"bucketName": "test-bucket",
"prefix": "xyzxx",
"namespace": "eu_new3",
"partitionColumn": "timestamp",
"partitionType": "hour",
"credentials": "{}",
"syncFrequency": "30",
"testConnection": false,
"testConnectionTS": 1621402528550
},
"result": true
},
{
"config": {
"project": "test-gcs-project",
"location": "",
"bucketName": "test-bucket",
"prefix": "xyzxx",
"namespace": "eu_new3",
"partitionColumn": "original_timestamp",
"partitionType": "hour",
"credentials": "{}",
"syncFrequency": "30",
"testConnection": false,
"testConnectionTS": 1621402528550
},
"result": true
},
{
"config": {
"project": "test-gcs-project",
@@ -61,7 +109,7 @@
},
"result": false,
"error": [
"partitionColumn must match pattern \"^(_PARTITIONTIME|loaded_at|received_at|timestamp)$\""
"partitionColumn must match pattern \"^(_PARTITIONTIME|loaded_at|received_at|timestamp|sent_at|original_timestamp)$\""
]
},
{

0 comments on commit 5744ae3

Please sign in to comment.