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 — fix(DBAPI): keep cursor hot when statement is a script by mistercrunch · Pull Request #386 · googleapis/python-bigquery

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

Conversation

@mistercrunch

@mistercrunch mistercrunch commented Nov 12, 2020 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

all the details here: #377

I guess technically a script isn't DML :trollface:

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@product-auto-label product-auto-label Bot added the api: bigquery Issues related to the googleapis/python-bigquery API. label Nov 12, 2020
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Nov 12, 2020
@mistercrunch
fix(DBAPI): keep cursor hot when statement is a script
9d8d416
@mistercrunch
mistercrunch force-pushed the script_isnt_dml branch from 1eb297d to 9d8d416 Compare November 12, 2020 07:12
@mistercrunch mistercrunch mentioned this pull request Nov 12, 2020
DBAPI - running a series of statements that depend on each other (DECLARE, SET, SELECT, ...) #377
Closed
@tswast

tswast commented Nov 12, 2020

Copy link
Copy Markdown
Contributor

Makes sense to me.

Actually, we can probably consider removing the is_dml logic altogether now that we moved to getQueryResults instead of tabledata.list (#375). The destination table of a DML query would return a non-null value that was unreadable or would return nonsense with DML (and some DDL) queries. Before we do that, I'll want to double-check that we have a system test for this case. (I think a DDL to CREATE VIEW would be a good choice for that)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mistercrunch

mistercrunch commented Nov 13, 2020

Copy link
Copy Markdown
Contributor Author

Superseded by #387

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mistercrunch mistercrunch closed this Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: bigquery Issues related to the googleapis/python-bigquery API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@mistercrunch @tswast
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.