Skip to content

Commit

Permalink
Merge pull request #1798 from rudderlabs/hotfix-release/v1.97.3
Browse files Browse the repository at this point in the history
chore(release): pull hotfix-release/v1.97.3 into main
  • Loading branch information
aashishmalik authored Nov 14, 2024
2 parents f9cca3b + b873046 commit 3bb60cc
Show file tree
Hide file tree
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
Expand Up @@ -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)


Expand Down
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,
Expand Down
2 changes: 1 addition & 1 deletion src/configurations/destinations/bq/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
12 changes: 12 additions & 0 deletions src/configurations/destinations/bq/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
50 changes: 49 additions & 1 deletion test/data/validation/destinations/bq.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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)$\""
]
},
{
Expand Down

0 comments on commit 3bb60cc

Please sign in to comment.