Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fixed local file partitioning file not found issue #976#981

Merged
mwylde merged 3 commits intoArroyoSystems:masterfrom
benamartin43:master
Jan 13, 2026
Merged

Fixed local file partitioning file not found issue #976#981
mwylde merged 3 commits intoArroyoSystems:masterfrom
benamartin43:master

Conversation

Copy link
Contributor

benamartin43 commented Dec 22, 2025

Added code to create parent directories when partitioning is used. I found that the code to automatically do this seems to have been removed when the iceberg partitioning was added (b0c83ea). I have based my code on the previous code. Please let me know if I need to change the PR in any way.

I was able to reproduce #976 and verify the fix using the following query with the nexmark data source.

CREATE TABLE sink (
window_start TIMESTAMP,
total DOUBLE,
bid_count BIGINT,
name TEXT
) WITH (
connector = 'filesystem',
type = 'sink',
path = 'file:////tmp/',
format = 'parquet',
'partitioning.time_pattern' = 'year=%Y/month=%m/day=%d/hour=%H/minute=%M'
);

INSERT INTO sink
SELECT
window.start as window_start,
total,
bid_count,
name
FROM (
SELECT
TUMBLE(INTERVAL '1 minute') as window,
person.name as name,
SUM(CAST(bid.price AS DOUBLE)) as total,
COUNT(*) as bid_count
FROM nexmark
GROUP BY
TUMBLE(INTERVAL '1 minute'),
person.name
);

mwylde approved these changes Jan 13, 2026
Copy link
Member

mwylde left a comment

Choose a reason for hiding this comment

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

Apologies for the slow review and thanks for the fix!

mwylde merged commit b1b4fae into ArroyoSystems:master Jan 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

mwylde mwylde approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants