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: add support for ARRAY<STRUCT> to CloudCilentExecutor #3544

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

larkee
Copy link

@larkee larkee commented Dec 11, 2024

There are SPANNER_SYS tables that contain ARRAY columns. Adding support for this in the CloudClientExecutor so that queries involving these tables do not throw an error.

@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: spanner Issues related to the googleapis/java-spanner API. labels Dec 11, 2024
@larkee larkee marked this pull request as ready for review December 11, 2024 05:51
@larkee larkee requested a review from a team as a code owner December 11, 2024 05:51
@larkee larkee force-pushed the executor-struct-array-support branch from 1dea3ab to 1ac1f07 Compare December 13, 2024 03:55
value.setStringValue(ascii);
break;
case JSON:
value.setStringValue(result.getJson(i));
value.setStringValue(struct.getJson(i));
break;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to handle the case of STRUCT (non-array)?

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 googleapis/java-spanner API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants