Skip to content

fix null count stats computation - #18276

Merged
adriangb merged 2 commits into
apache:mainfrom
pydantic:fix-null-counts
Oct 25, 2025
Merged

adriangb merged 2 commits into
apache:mainfrom
pydantic:fix-null-counts

Conversation

@adriangb

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions github-actions Bot added the datasource Changes to the datasource crate label Oct 24, 2025
@adriangb
adriangb marked this pull request as ready for review October 24, 2025 22:40
@github-actions github-actions Bot added the sqllogictest SQL Logic Tests (.slt) label Oct 24, 2025
FROM t
WHERE b = 2;
----
2

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On main this outputs 0 rows:

❯ datafusion-cli -f q.sql
DataFusion CLI v50.0.0
+-------+
| count |
+-------+
| 1     |
+-------+
1 row(s) fetched. 
Elapsed 0.002 seconds.

0 row(s) fetched. 
Elapsed 0.001 seconds.

+---+
| b |
+---+
+---+
0 row(s) fetched. 
Elapsed 0.003 seconds.

@Jefffrey Jefffrey left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense 👍

@adriangb
adriangb added this pull request to the merge queue Oct 25, 2025
Merged via the queue into apache:main with commit 97b9029 Oct 25, 2025
@adriangb
adriangb deleted the fix-null-counts branch October 25, 2025 18:27
adriangb added a commit to pydantic/datafusion that referenced this pull request Oct 27, 2025
tschwarzinger pushed a commit to tschwarzinger/datafusion that referenced this pull request Nov 2, 2025
maxburke pushed a commit to urbanlogiq/arrow-datafusion that referenced this pull request Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

datasource Changes to the datasource crate sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants