Skip to content

fix(test-migrate): Add CqId to migrate tests tables#695

Merged
kodiakhq[bot] merged 2 commits intocloudquery:mainfrom
erezrokah:fix/test_migrate_add_cq_id
Feb 20, 2023
Merged

fix(test-migrate): Add CqId to migrate tests tables#695
kodiakhq[bot] merged 2 commits intocloudquery:mainfrom
erezrokah:fix/test_migrate_add_cq_id

Conversation

@erezrokah
Copy link
Copy Markdown
Member

Summary

Extracted from #694.
Some destinations need at least one not null column (for example a sorting key in ClickHouse). This PRs adds the CqId column for tables created during migrate tests.
I think this is also closer to reality as we always have that column in our schema.


Use the following steps to ensure your PR is ready to be reviewed

  • Read the contribution guidelines 🧑‍🎓
  • Run go fmt to format your code 🖊
  • Lint your changes via golangci-lint run 🚨 (install golangci-lint here)
  • Update or add tests 🧪
  • Ensure the status checks below are successful ✅

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 20, 2023

⏱️ Benchmark results

  • DefaultConcurrencyDFS-2 resources/s: 10,418
  • DefaultConcurrencyRoundRobin-2 resources/s: 12,384
  • Glob-2 ns/op: 196.6
  • TablesWithChildrenDFS-2 resources/s: 29,710
  • TablesWithChildrenRoundRobin-2 resources/s: 26,525
  • TablesWithRateLimitingDFS-2 resources/s: 28.53
  • TablesWithRateLimitingRoundRobin-2 resources/s: 847.8
  • BufferedScanner-2 ns/op: 9.395
  • LogReader-2 ns/op: 31.05

@erezrokah erezrokah changed the title fix(testing): Add CqId to migrate tests tables fix(test-migrate): Add CqId to migrate tests tables Feb 20, 2023
@github-actions github-actions Bot added fix and removed fix labels Feb 20, 2023
@kodiakhq kodiakhq Bot merged commit e996a11 into cloudquery:main Feb 20, 2023
kodiakhq Bot pushed a commit that referenced this pull request Feb 20, 2023
🤖 I have created a release *beep* *boop*
---


## [1.38.2](v1.38.1...v1.38.2) (2023-02-20)


### Bug Fixes

* **test-migrate:** Add CqId to migrate tests tables ([#695](#695)) ([e996a11](e996a11))
* **test-migrate:** Ignore order when comparing resources read ([#696](#696)) ([aea1b82](aea1b82))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants