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: datafusion-contrib/datafusion-postgres
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: datafusion-postgres-v0.11.0
Choose a base ref
...
head repository: datafusion-contrib/datafusion-postgres
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: datafusion-postgres-v0.12.0
Choose a head ref
  • 20 commits
  • 21 files changed
  • 6 contributors

Commits on Oct 2, 2025

  1. flake.lock: Update

    Flake lock file updates:
    
    • Updated input 'fenix':
        'github:nix-community/fenix/6ed03ef4c8ec36d193c18e06b9ecddde78fb7e42?narHash=sha256-tl/0cnsqB/Yt7DbaGMel2RLa7QG5elA8lkaOXli6VdY%3D' (2025-08-19)
      → 'github:nix-community/fenix/0956bc5d1df2ea800010172c6bc4470d9a22cb81?narHash=sha256-hmiTEoVAqLnn80UkreCNunnRKPucKvcg5T4/CELEtbw%3D' (2025-10-01)
    • Updated input 'fenix/rust-analyzer-src':
        'github:rust-lang/rust-analyzer/a905e3b21b144d77e1b304e49f3264f6f8d4db75?narHash=sha256-VX0B9hwhJypCGqncVVLC%2BSmeMVd/GAYbJZ0MiiUn2Pk%3D' (2025-08-18)
      → 'github:rust-lang/rust-analyzer/a6bc4a4bbe6a65b71cbf76a0cf528c47a8d9f97f?narHash=sha256-H4Hx/EuMJ9qi1WzPV4UG2bbZiDCdREtrtDvYcHr0kmk%3D' (2025-09-30)
    • Updated input 'nixpkgs':
        'github:NixOS/nixpkgs/a58390ab6f1aa810eb8e0f0fc74230e7cc06de03?narHash=sha256-BA9MuPjBDx/WnpTJ0EGhStyfE7hug8g85Y3Ju9oTsM4%3D' (2025-08-19)
      → 'github:NixOS/nixpkgs/5b5be50345d4113d04ba58c444348849f5585b4a?narHash=sha256-FIBE1qXv9TKvSNwst6FumyHwCRH3BlWDpfsnqRDCll0%3D' (2025-10-01)
    sunng87 committed Oct 2, 2025
    Configuration menu
    Copy the full SHA
    3ddbd66 View commit details
    Browse the repository at this point in the history
  2. feat: pgwire 0.33 (#197)

    * feat: update pgwire to 0.33
    
    * test: update duckdb example
    sunng87 authored Oct 2, 2025
    Configuration menu
    Copy the full SHA
    19c1d4f View commit details
    Browse the repository at this point in the history
  3. Fix insert "rows affected" for extended queries (#198)

    We already handle "rows affected" properly for do_query in the
    SimpleQueryHandler implementation, so let's do the same for do_query in
    the ExtendedQueryHandler implementation too.
    
    To avoid duplicate code, this common logic has been extracted into a new
    `map_rows_affected_for_insert` function.
    mjgarton authored Oct 2, 2025
    Configuration menu
    Copy the full SHA
    e4f62ab View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    24368e4 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2025

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

Commits on Oct 4, 2025

  1. chore(deps): bump datafusion from 50.0.0 to 50.1.0 (#200)

    * chore(deps): bump datafusion from 50.0.0 to 50.1.0
    
    Bumps [datafusion](https://github.com/apache/datafusion) from 50.0.0 to 50.1.0.
    - [Changelog](https://github.com/apache/datafusion/blob/main/CHANGELOG.md)
    - [Commits](apache/datafusion@50.0.0...50.1.0)
    
    ---
    updated-dependencies:
    - dependency-name: datafusion
      dependency-version: 50.1.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * fix: update all datafusion packages
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Ning Sun <sunning@greptime.com>
    dependabot[bot] and sunng87 authored Oct 4, 2025
    Configuration menu
    Copy the full SHA
    49c3cee View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2025

  1. Introduce QueryHook so users can process custom queries with own logi…

    …c. (#204)
    
    * initial query hook support
    
    * introduce QueryHook
    
    * switch to accepting datafusion statements
    
    * remove transaction state
    
    * accept a vector of hooks instead of options of hooks
    
    * add a small test
    
    * run cargo fmt
    
    * update trait to accept sqlparser::ast::Statement instead, so we don't need to wrap in a datafusion::Statement
    
    * since handle_query only accepts a single statement, only a single response is expected.
    tonyalaribe authored Oct 7, 2025
    Configuration menu
    Copy the full SHA
    2b9a11c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    defcb3d View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2025

  1. chore(deps): bump duckdb from 1.4.0 to 1.4.1 (#206)

    Bumps [duckdb](https://github.com/duckdb/duckdb-rs) from 1.4.0 to 1.4.1.
    - [Release notes](https://github.com/duckdb/duckdb-rs/releases)
    - [Commits](duckdb/duckdb-rs@v1.4.0...v1.4.1)
    
    ---
    updated-dependencies:
    - dependency-name: duckdb
      dependency-version: 1.4.1
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 8, 2025
    Configuration menu
    Copy the full SHA
    9c9f3b6 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2025

  1. chore(deps): bump postgres-types from 0.2.10 to 0.2.11 (#207)

    Bumps [postgres-types](https://github.com/rust-postgres/rust-postgres) from 0.2.10 to 0.2.11.
    - [Release notes](https://github.com/rust-postgres/rust-postgres/releases)
    - [Commits](rust-postgres/rust-postgres@postgres-types-v0.2.10...postgres-types-v0.2.11)
    
    ---
    updated-dependencies:
    - dependency-name: postgres-types
      dependency-version: 0.2.11
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 9, 2025
    Configuration menu
    Copy the full SHA
    67811cd View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2025

  1. Update query hook (#208)

    * Retain Statement when parsing
    
    When we parse the sql, retain the parsed statement as well as the raw
    string and the plan.  This is because we have upcoming cases where we
    want to reference the statement without needing to re-parse the query.
    
    * Add extended query support to QueryHook
    
    Add extended query support to QueryHook,.
    
    Also re-use the parsed statement instead of parsing it again because it
    is was wasted work, and it also made the code less clean.
    
    (We still potentially handle the params more than once, which can be
    fixed later)
    
    Finally, ensure the client is Send + Sync. (Should this be enforced in
    pgwire?)
    
    * Add handle_extended_parse_query to QueryHook
    
    Add handle_extended_parse_query to QueryHook so that parse phase
    operations can be processed.
    
    * Apply suggestion from @sunng87
    
    ---------
    
    Co-authored-by: Ning Sun <classicning@gmail.com>
    mjgarton and sunng87 authored Oct 11, 2025
    Configuration menu
    Copy the full SHA
    fd20234 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2025

  1. feat: make set/show a hook implementation (#209)

    * feat: make set/show a hook implementation
    
    * feat: implment extended query part
    
    * refactor: avoid duplicate testing code
    
    * chore: resolve lint issue
    sunng87 authored Oct 12, 2025
    Configuration menu
    Copy the full SHA
    efff49d View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2025

  1. chore(deps): bump rust_decimal from 1.38.0 to 1.39.0 (#212)

    Bumps [rust_decimal](https://github.com/paupino/rust-decimal) from 1.38.0 to 1.39.0.
    - [Release notes](https://github.com/paupino/rust-decimal/releases)
    - [Changelog](https://github.com/paupino/rust-decimal/blob/master/CHANGELOG.md)
    - [Commits](paupino/rust-decimal@1.38.0...1.39.0)
    
    ---
    updated-dependencies:
    - dependency-name: rust_decimal
      dependency-version: 1.39.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 13, 2025
    Configuration menu
    Copy the full SHA
    1823b8c View commit details
    Browse the repository at this point in the history
  2. Rework SET statement handling (#211)

    * Rework SET statement handling
    
    Use proper syntax for set statement timeout statements.
    
    Replace much of the string matching for SET statements with with matching on
    proper ast types.
    
    * Fix clippy issues
    mjgarton authored Oct 13, 2025
    Configuration menu
    Copy the full SHA
    21229ab View commit details
    Browse the repository at this point in the history
  3. Rework SHOW handling (#213)

    Rework SHOW handling to use ast values instead of custom string parsing.
    mjgarton authored Oct 13, 2025
    Configuration menu
    Copy the full SHA
    d8dbf08 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2025

  1. chore(deps): bump datafusion from 50.1.0 to 50.2.0 (#214)

    Bumps [datafusion](https://github.com/apache/datafusion) from 50.1.0 to 50.2.0.
    - [Changelog](https://github.com/apache/datafusion/blob/main/CHANGELOG.md)
    - [Commits](apache/datafusion@50.1.0...50.2.0)
    
    ---
    updated-dependencies:
    - dependency-name: datafusion
      dependency-version: 50.2.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 14, 2025
    Configuration menu
    Copy the full SHA
    d7435bc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4709fd9 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2025

  1. chore(deps): bump tokio from 1.47.1 to 1.48.0 (#215)

    Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.47.1 to 1.48.0.
    - [Release notes](https://github.com/tokio-rs/tokio/releases)
    - [Commits](tokio-rs/tokio@tokio-1.47.1...tokio-1.48.0)
    
    ---
    updated-dependencies:
    - dependency-name: tokio
      dependency-version: 1.48.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 15, 2025
    Configuration menu
    Copy the full SHA
    116141d View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2025

  1. chore(deps): bump pgwire from 0.33.0 to 0.34.0 (#216)

    * chore(deps): bump pgwire from 0.33.0 to 0.34.0
    
    Bumps [pgwire](https://github.com/sunng87/pgwire) from 0.33.0 to 0.34.0.
    - [Release notes](https://github.com/sunng87/pgwire/releases)
    - [Changelog](https://github.com/sunng87/pgwire/blob/master/CHANGELOG.md)
    - [Commits](sunng87/pgwire@v0.33.0...v0.34.0)
    
    ---
    updated-dependencies:
    - dependency-name: pgwire
      dependency-version: 0.34.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * feat: update pgwire to latest release
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Ning Sun <sunng@protonmail.com>
    dependabot[bot] and sunng87 authored Oct 20, 2025
    Configuration menu
    Copy the full SHA
    a0300ac View commit details
    Browse the repository at this point in the history
  2. chore: Release

    sunng87 committed Oct 20, 2025
    Configuration menu
    Copy the full SHA
    0580445 View commit details
    Browse the repository at this point in the history
Loading