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

Use Metadata supplied by client library #1

Merged
merged 8 commits into from Nov 11, 2020
Merged

Use Metadata supplied by client library #1

merged 8 commits into from Nov 11, 2020

Conversation

apstndb
Copy link
Owner

@apstndb apstndb commented Oct 23, 2020

Merge after google-cloud-go/spanner has been released.
Use spanner/v1.12.0 and show Metadata at any time.

$ go run ./ ${DATABASE_ID} --query-mode=PLAN --sql='SELECT @str.*' --param='str:STRUCT<FirstName STRING, LastName STRING>' --format=yaml --filter='.metadata'
rowType:
  fields:
  - name: FirstName
    type:
      code: STRING
  - name: LastName
    type:
      code: STRING
transaction:
  readTimestamp: 2020-10-23T03:07:29.088435Z

refs googleapis/google-cloud-go#1805

@apstndb apstndb changed the title Use SDK supplied Metadata Use Metadata supplied by client library Oct 23, 2020
@apstndb apstndb marked this pull request as ready for review November 11, 2020 03:15
@apstndb apstndb merged commit 22f8c78 into main Nov 11, 2020
@apstndb apstndb deleted the feature/row-type branch November 11, 2020 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant