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: apache/datafusion-sqlparser-rs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: formalco/datafusion-sqlparser-rs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 20 files changed
  • 1 contributor

Commits on Aug 26, 2025

  1. Configuration menu
    Copy the full SHA
    377dfd2 View commit details
    Browse the repository at this point in the history
  2. Add PostgreSQL CREATE USER and ALTER USER support

    Currently, the library only supports `CREATE ROLE` and `ALTER ROLE` for
    PostgreSQL. `CREATE USER` and `ALTER USER` fail to parse with errors
    like `"Expected: an object type after CREATE, found: USER"`
    
    But in PostgreSQL reference:
    - `CREATE USER` is equivalent to `CREATE ROLE`, except that `LOGIN` is assumed by default
    - `ALTER USER` is an alias to `ALTER ROLE`
    - Both should support the same options as their ROLE counterparts
    
    This commit extends the existing `CreateRole` and `AlterRole`
    structures to distinct which keyword has been used: `USER` or
    `ROLE`. It allows these expressions to be parsed and displayed back.
    ramnes committed Aug 26, 2025
    Configuration menu
    Copy the full SHA
    c58827a View commit details
    Browse the repository at this point in the history
Loading