FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(dbapi): avoid running % format when no query parameters are passed · Issue #346 · googleapis/python-bigquery · GitHub

This repository was archived by the owner on Mar 6, 2026. It is now read-only.
/ python-bigquery Public archive
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

fix(dbapi): avoid running % format when no query parameters are passed #346

Description

Is your feature request related to a problem? Please describe.

It is unexpected to get format errors when a string contains %, but there are no query parameters in the query.

googleapis/python-bigquery-sqlalchemy#72

Describe the solution you'd like

In addition to checking if parameters is none, check if len(parameters) == 0 to avoid unnecessary format operations.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL