Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Allow setting JSON type schema max depth #1844

Merged

Conversation

erezrokah
Copy link
Member

@erezrokah erezrokah commented Jul 31, 2024

Summary

#1819 fixed it for the gRPC message, but it seems our backend can't handle the size of the Stripe tables.json (see https://stackoverflow.com/questions/59209884/cloud-run-request-limit).
With the current default max depth of 4 it's ~40MB.
Setting it to 3 lowers it to ~11MB.


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 ✅

@erezrokah erezrokah requested a review from a team as a code owner July 31, 2024 21:21
@github-actions github-actions bot added feat and removed feat labels Jul 31, 2024
@kodiakhq kodiakhq bot merged commit 0b28389 into cloudquery:main Aug 1, 2024
7 checks passed
@erezrokah erezrokah deleted the feat/allow_configuring_json_type_nesting branch August 1, 2024 09:17
kodiakhq bot pushed a commit that referenced this pull request Aug 1, 2024
🤖 I have created a release *beep* *boop*
---


## [4.57.0](v4.56.0...v4.57.0) (2024-08-01)


### Features

* Allow setting JSON type schema max depth ([#1844](#1844)) ([0b28389](0b28389))


### Bug Fixes

* **deps:** Update golang.org/x/exp digest to 8a7402a ([#1845](#1845)) ([5f7eb25](5f7eb25))
* **deps:** Update module github.com/cloudquery/cloudquery-api-go to v1.12.5 ([#1841](#1841)) ([4361e84](4361e84))
* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.21.4 ([#1847](#1847)) ([281b945](281b945))
* **deps:** Update opentelemetry-go monorepo to v1.28.0 ([#1846](#1846)) ([3a5c90c](3a5c90c))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This pull request was closed.
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