GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tracing: update CloudSpanner.Transaction.execute_streaming_sql to execute_sql; start Transaction.commit span up top to ensure · Issue #1286 · googleapis/python-spanner

This repository was archived by the owner on Jun 8, 2026. It is now read-only.
This repository was archived by the owner on Jun 8, 2026. It is now read-only.

tracing: update CloudSpanner.Transaction.execute_streaming_sql to execute_sql; start Transaction.commit span up top to ensure #1286

Copy link
Copy link
Closed
#1287
Closed
tracing: update CloudSpanner.Transaction.execute_streaming_sql to execute_sql; start Transaction.commit span up top to ensure#1286
#1287
Copy link
Assignees
odeke-em
Labels
api: spannerIssues related to the googleapis/python-spanner API.

Description

@odeke-em
odeke-em
opened on Jan 9, 2025
Issue body actions

An issue for myself to fix requests from our last review session

  • update "CloudSpanner.Transaction.execute_streaming_sql" span name to "execute_sql"
  • Starting the CloudSpanner.Transaction.commit span before the inlined .begin()
  • Ensure that using a tracer_provider with ALWAYS_OFF set doesn't crash due to NonRecording span not having _span
-            if (not span._status) or span._status.status_code == StatusCode.UNSET:
+            if getattr(span, '_status', None) is None or span._status.status_code == StatusCode.UNSET:

Thanks @harshachinta @surbhigarg92 @sakthivelmanii

Activity

  1. product-auto-label
    added
    api: spannerIssues related to the googleapis/python-spanner API.
    on Jan 9, 2025
  2. blunderbuss-gcf
    assigned
    hengfengli
    on Jan 9, 2025
  3. harshachinta
    assigned
    odeke-em
    and unassigned
    hengfengli
    on Jan 9, 2025
  4. odeke-em
    added 4 commits that reference this issue on Jan 9, 2025

    fix(tracing): ensure nesting of Transaction.begin under commit + fix …

    This issue will close once commit e83b4af is merged into the 'main' branch.
    e83b4af

    fix(tracing): ensure nesting of Transaction.begin under commit + fix …

    This issue will close once commit 423e5bc is merged into the 'main' branch.
    423e5bc

    fix(tracing): ensure nesting of Transaction.begin under commit + fix …

    This issue will close once commit c953e5b is merged into the 'main' branch.
    c953e5b

    fix(tracing): ensure nesting of Transaction.begin under commit + fix …

    This issue will close once commit 6fba449 is merged into the 'main' branch.
    6fba449
  5. harshachinta
    closed this as completedin #1287on Jan 13, 2025
  6. harshachinta
    added a commit that references this issue on Jan 13, 2025

    fix(tracing): ensure nesting of Transaction.begin under commit + fix …

    This issue will close once commit d9ee75a is merged into the 'main' branch.
    d9ee75a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @odeke-em
    odeke-em

Labels

api: spannerIssues related to the googleapis/python-spanner API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.