Skip to content

[pull] main from apache:main#100

Merged
pull[bot] merged 4 commits intoburaksenn:mainfrom
apache:main
Apr 13, 2026
Merged

[pull] main from apache:main#100
pull[bot] merged 4 commits intoburaksenn:mainfrom
apache:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Apr 13, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

xiedeyantu and others added 4 commits April 13, 2026 09:02
## Which issue does this PR close?

- Closes #.

## Rationale for this change

PostgreSQL array literals should be rendered using `ARRAY[...]` syntax
when unparsing SQL. Without this, roundtripped PostgreSQL SQL can lose
the dialect-specific array form and emit a plain bracketed array literal
instead.

## What changes are included in this PR?

- Added a dialect hook to indicate whether array literals should render
as `ARRAY[...]`.
- Enabled that behavior for `PostgreSqlDialect`.
- Updated the SQL unparser to honor the dialect setting when rendering
array expressions.
- Adjusted the PostgreSQL roundtrip test to expect `ARRAY[1, 2, 3, 4,
5]`.

## Are these changes tested?

Yes. The PostgreSQL roundtrip test in plan_to_sql.rs covers the array
literal case and verifies the unparsed SQL now uses `ARRAY[...]`.

## Are there any user-facing changes?

Yes. PostgreSQL SQL generated by DataFusion will now emit array literals
in `ARRAY[...]` form instead of plain bracketed form.
…y zero (#21557)

## Which issue does this PR close?

- Closes #21514.

## Rationale for this change
please see issue 

## What changes are included in this PR?
adjust pmod and mod to return NULL as expected

## Are these changes tested?
added and adjusted tests


## Are there any user-facing changes?
This methods will return NULL instead of Nan on this specific case.
## Which issue does this PR close?

N/A

## Rationale for this change

to be able to derive `Hash`

## What changes are included in this PR?

derive `Hash`

## Are these changes tested?

no

## Are there any user-facing changes?
yes, new trait impl
## Which issue does this PR close?

- Part of #21078.

## Rationale for this change

The `branch-52` release work added the `52.5.0` changelog in #21407, and
that changelog should also be present on `main`.

## What changes are included in this PR?

This PR ports `dev/changelog/52.5.0.md` from #21407 onto `main`.

Implementation note: I used `git cherry-pick -n` of the merged
`branch-52` commit and kept only the changelog file, discarding the
version and config changes that do not belong on `main`.

## Are these changes tested?

This is a documentation-only chabge

## Are there any user-facing changes?

Yes. The `52.5.0` changelog is now available on `main`.
@pull pull bot locked and limited conversation to collaborators Apr 13, 2026
@pull pull bot added the ⤵️ pull label Apr 13, 2026
@pull pull bot merged commit d3cedb2 into buraksenn:main Apr 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants