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 — Support both seconds from epoch and timestamp string · Issue #1382 · googleapis/google-cloud-python

Support both seconds from epoch and timestamp string #1382

New issue
Copy link
New issue
Copy link
Closed
Closed
Support both seconds from epoch and timestamp string#1382
Copy link
Assignees
tseaver
Labels
api: bigqueryIssues related to the BigQuery API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Description

@dhermes
dhermes
opened on Jan 12, 2016
Issue body actions

If someone already has a timestamp string, we shouldn't force them to convert it to datetime.datetime so that we can in turn convert that into seconds. (Inspired by #1381.)

From the docs

TIMESTAMP data types can be described in two ways: UNIX timestamps or calendar datetimes. BigQuery stores TIMESTAMP data internally as a UNIX timestamp with microsecond precision.

so we could allow the user to just pass a string and we "take their word for it" that it's a valid datetime. Since Table.insert_data returns a list of errors anyhow, we wouldn't have to do much/anything to enforce this.

Reacted by Jeremiah Lowin

Activity

  1. dhermes
    added
    api: bigqueryIssues related to the BigQuery API.
    on Jan 12, 2016
  2. tseaver
    added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    on Sep 6, 2016
  3. tseaver
    closed this as completedin #2805on Dec 5, 2016
  4. richkadel
    added a commit that references this issue on May 6, 2017

    Allow timestamp strings in 'Table.insert_data'.

    This issue will close once commit ef76615 is merged into the 'master' branch.
    ef76615
  5. JustinBeckwith
    assigned
    tseaver
    on Feb 1, 2021
  6. parthea
    added 2 commits that reference this issue on Nov 24, 2025

    chore: add `transport` argument to py_gapic_library rule to make its …

    0bd0224

    Fix: Less restrictive content-type header check for google authentica…

    8c1f81e
  7. parthea
    added 2 commits that reference this issue on Mar 6, 2026

    chore(deps): update all dependencies (#1382)

    1285ffc

    feat(spanner): add new change_stream.proto (#1382)

    38d4989
  8. parthea
    added a commit that references this issue on Sep 8, 2026

    docs: migrate code from googleapis/python-bigquery (#18303)

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

Metadata

Metadata

Assignees

  • @tseaver
    tseaver

Labels

api: bigqueryIssues related to the BigQuery API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

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.