Skip to content

Conversation

@ssive7b
Copy link
Contributor

@ssive7b ssive7b commented Jan 8, 2026

Summary

Adds a note clarifying that init scripts in /docker-entrypoint-initdb.d/ execute in alphabetical order.

Motivation

When using multiple init scripts with dependencies (e.g., creating materialized views that reference tables), users encounter "Unknown table" errors if scripts aren't named correctly.

This behavior comes from shell glob expansion in entrypoint.sh (for f in /docker-entrypoint-initdb.d/*) but wasn't documented.

Changes

Added note about script execution order in Docker initialization.

Added note about script execution order in Docker initialization.
@ssive7b ssive7b requested a review from a team as a code owner January 8, 2026 11:49
@vercel
Copy link

vercel bot commented Jan 8, 2026

@ssive7b is attempting to deploy a commit to the ClickHouse Team on Vercel.

A member of the Team first needs to authorize it.

@Blargian Blargian merged commit db640b5 into ClickHouse:main Jan 9, 2026
8 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants