You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Unblock the releases on Node Bigquery (#7946)
* Revert "feat: Add high precision TIMESTAMP values for queries (#7147)"
This reverts commit bea42b2.
# Conflicts:
# handwritten/bigquery/src/bigquery.ts
# handwritten/bigquery/src/job.ts
# handwritten/bigquery/test/bigquery.ts
* Revert "feat: support high precision timestamp strings on getRows calls (#1596)"
This reverts commit b3217a3.
# Conflicts:
# handwritten/bigquery/src/table.ts
* skip a test
* Remove the High Precision Query System tests
* Source code changes for timestamp precision flag
* Add tests back
* Add test file back in
* Modify tests to only run for high precision or not
* listParams add
* remove listParams
* skip tests if picosecond support is not turned on
* remove only
* Don’t create separate code paths when not needed
* extend the default options
* Skip the before hook if picosecond support not on
* Add documentation back in for methods
* Remove the if block since release is done
* Eliminate redundant feature flag check.
* Add qs back in
* Add commands to test for picoseconds in system t
* Revert "Remove the if block since release is done"
This reverts commit 757dfdc.
* Eliminate environment variable for parsing check
* Always use try block
* Change type to GetRowsOptions
* Remove exception
* Some typescript simplifications
* Eliminate default options branching
* Change defaults for current requests
* Don’t need extra import
* Don’t gate with picosecond flag
* Just add an extra test file
* test(bigquery): parameterize system tests for picosecond support
Wraps the BigQuery system tests in a parameterized function to run them
both with and without the BIGQUERY_PICOSECOND_SUPPORT environment
variable. Clients and resources are re-instantiated within a before hook
to ensure the library picks up the environment changes for each run.
The existing indentation is preserved to maintain a clean PR diff.
Co-authored-by: danieljbruce <8935272+danieljbruce@users.noreply.github.com>
* test(bigquery): add high precision timestamp wrapper system test
Creates a new system test file that programmatically re-runs the
entire BigQuery system test suite with BIGQUERY_PICOSECOND_SUPPORT=true.
This is achieved by clearing the Node.js require cache for the package
and requiring the existing bigquery.ts test file within a new describe
block. This approach leaves the original test file untouched, ensuring
a clean PR diff and avoiding linting issues.
Co-authored-by: danieljbruce <8935272+danieljbruce@users.noreply.github.com>
* linting change and copyright year
* Correct package.json errors
* This file is not working well with test runner
* Run the timestamp output format tests as well
* Add a wrapper
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: danieljbruce <8935272+danieljbruce@users.noreply.github.com>
0 commit comments