[go: nahoru, domu]

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

spannertest: support JSON type #10302

Open
husam-e opened this issue Jun 2, 2024 · 1 comment
Open

spannertest: support JSON type #10302

husam-e opened this issue Jun 2, 2024 · 1 comment
Assignees
Labels
api: spanner Issues related to the Spanner API. triage me I really want to be triaged.

Comments

@husam-e
Copy link
husam-e commented Jun 2, 2024

Is your feature request related to a problem? Please describe.
spannertest currently does not support the JSON type. As we expect to shift our testing left and have comprehensive unit tests against our schemas and DB related code (using the spannertest package), this prevents us from using the JSON type at all in our code with Spanner.

Describe the solution you'd like
spannertest should support the JSON type for columns, along with the spanner client operations and APIs for them.

Describe alternatives you've considered

  • Not unit testing (not a viable option for us)
  • Storing JSON as string instead (subpar and even less efficient as it requires parsing to JSON in order to make use of the structure)

Additional context
This has been a gap in spannertest for a long time and it would be great if it can finally be supported.

@husam-e husam-e added the triage me I really want to be triaged. label Jun 2, 2024
@product-auto-label product-auto-label bot added the api: spanner Issues related to the Spanner API. label Jun 2, 2024
@wdzeng
Copy link
wdzeng commented Jun 12, 2024

Possibly can be fixed by #9686.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the Spanner API. triage me I really want to be triaged.
Projects
None yet
Development

No branches or pull requests

3 participants