Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/python-bigquery-sqlalchemy
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.9.0
Choose a base ref
...
head repository: googleapis/python-bigquery-sqlalchemy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.10.0
Choose a head ref
  • 16 commits
  • 18 files changed
  • 9 contributors

Commits on Dec 13, 2023

  1. Configuration menu
    Copy the full SHA
    b319d82 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. Configuration menu
    Copy the full SHA
    8986066 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3960ac3 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. fix: Avoid implicit join when using join with unnest (#924)

    * fix: avoid implicit join when using join with unnest
    
    When using JOIN with UNNEST statements, and then creating a SELECT statement
    based on it, the UNNESTed table will appear twice in the FROM clause,
    causing an implicit join of the table with itself
    
    * Add safety checks
    
    * Add tests and fix cover
    snapiri authored Dec 19, 2023
    Configuration menu
    Copy the full SHA
    ac74a34 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. feat: allow to set clustering and time partitioning options at table …

    …creation (#928)
    
    * refactor: standardize bigquery options handling to manage more options
    
    * feat: handle table partitioning, table clustering and more table options (expiration_timestamp, expiration_timestamp, require_partition_filter, default_rounding_mode) via create_table dialect options
    
    * fix: having clustering fields and partitioning exposed has table indexes leads to bad autogenerated version file
    
    def upgrade() -> None:
        # ### commands auto generated by Alembic - please adjust! ###
        op.drop_index('clustering', table_name='dataset.some_table')
        op.drop_index('partition', table_name='dataset.some_table')
        # ### end Alembic commands ###
    
    def downgrade() -> None:
        # ### commands auto generated by Alembic - please adjust! ###
        op.create_index('partition', 'dataset.some_table', ['createdAt'], unique=False)
        op.create_index('clustering', 'dataset.some_table', ['id', 'createdAt'], unique=False)
        # ### end Alembic commands ###
    
    * docs: update README to describe how to create clustered and partitioned table as well as other newly supported table options
    
    * test: adjust system tests since indexes are no longer populated from table partitions and clustering info
    
    * test: alembic now supports creating partitioned tables
    
    * test: run integration tests with all the new create_table options
    
    * chore: rename variables to represent what it is a bit more clearly
    
    * fix: assertions should no be used to validate user inputs
    
    * refactor: extract process_option_value() from post_create_table() for improved readability
    
    * docs: add docstring to post_create_table() and _process_option_value()
    
    * test: increase code coverage by testing error cases
    
    * refactor: better represent the distinction between the option value data type check and the transformation in SQL literal
    
    * test: adding test cases for _validate_option_value_type() and _process_option_value()
    
    * chore: coding style
    
    * chore: reformat files with black
    
    * test: typo in tests
    
    * feat: change the option name for partitioning to leverage the TimePartitioning interface of the Python Client for Google BigQuery
    
    * fix: TimePartitioning.field is optional
    
    * chore: coding style
    
    * test: fix system test with table option bigquery_require_partition_filter
    
    * feat: add support for experimental range_partitioning option
    
    * test: fix system test with new bigquery_time_partitioning table option
    
    * docs: update README with time_partitioning and range_partitioning
    
    * test: relevant comments in unit tests
    
    * test: cover all error cases
    
    * chore: no magic numbers
    
    * chore: consistency in docstrings
    
    * chore: no magic number
    
    * chore: better error types
    
    * chore: fix W605 invalid escape sequence
    nlenepveu authored Jan 10, 2024
    Configuration menu
    Copy the full SHA
    c2c2958 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. test: change compliance test rerun condition regex string (#982)

    * test: change compliance test rerun condition regex string
    
    * try sys test
    
    * add sleep to time
    
    * change exceed rate limit code to 400
    
    * change rerun condition format
    
    * delete compliance tests to make it faster
    
    * stop on first fail
    
    * add rerun condition
    
    * change rerun condition format
    
    * add back the deleted tests
    
    * remove investigation changes and add owlbot change
    
    * black
    
    * revert README
    Linchin authored Jan 12, 2024
    Configuration menu
    Copy the full SHA
    b11a110 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. build(python): fix docs and docfx builds (#1006)

    Source-Link: googleapis/synthtool@fac8444
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:5ea6d0ab82c956b50962f91d94e206d3921537ae5fe1549ec5326381d8905cfa
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jan 17, 2024
    Configuration menu
    Copy the full SHA
    fcd5755 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2024

  1. Configuration menu
    Copy the full SHA
    88af7d1 View commit details
    Browse the repository at this point in the history
  2. build(deps): bump cryptography from 41.0.6 to 42.0.0 in /synthtool/gc…

    …p/templates/python_library/.kokoro (#1022)
    
    Source-Link: googleapis/synthtool@e13b22b
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:97b671488ad548ef783a452a9e1276ac10f144d5ae56d98cc4bf77ba504082b4
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Chalmer Lowe <chalmerlowe@google.com>
    3 people authored Feb 6, 2024
    Configuration menu
    Copy the full SHA
    89c5ff2 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. Configuration menu
    Copy the full SHA
    99887df View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

  1. Configuration menu
    Copy the full SHA
    23dd876 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. build(deps): bump cryptography from 42.0.0 to 42.0.2 in .kokoro (#1032)

    Source-Link: googleapis/synthtool@8d392a5
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:a0c4463fcfd9893fc172a3b3db2b6ac0c7b94ec6ad458c7dcea12d9693615ac3
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Feb 20, 2024
    Configuration menu
    Copy the full SHA
    93c533f View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. Configuration menu
    Copy the full SHA
    92550b9 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. Configuration menu
    Copy the full SHA
    5a49598 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

  1. build(deps): bump cryptography from 42.0.2 to 42.0.4 in .kokoro (#1035)

    Source-Link: googleapis/synthtool@d895aec
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:98f3afd11308259de6e828e37376d18867fd321aba07826e29e4f8d9cab56bad
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Feb 27, 2024
    Configuration menu
    Copy the full SHA
    9182302 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. chore(main): release 1.10.0 (#936)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    release-please[bot] authored Feb 28, 2024
    Configuration menu
    Copy the full SHA
    626de15 View commit details
    Browse the repository at this point in the history
Loading