Skip to content

Add more numeric types - #271

Open
RemcoSmitsDev wants to merge 3 commits into
smi2:masterfrom
RemcoSmitsDev:feat/extend-clickhouse-types
Open

RemcoSmitsDev wants to merge 3 commits into
smi2:masterfrom
RemcoSmitsDev:feat/extend-clickhouse-types

Conversation

@RemcoSmitsDev

Copy link
Copy Markdown

No description provided.

@RemcoSmitsDev
RemcoSmitsDev marked this pull request as draft September 17, 2026 12:33
@sander-hash

Copy link
Copy Markdown
Contributor

You are missing the Uint32 type

@sander-hash

Copy link
Copy Markdown
Contributor

Should we make the numeric types with bytes 32 and below make INT since php supports this native?

@RemcoSmitsDev

Copy link
Copy Markdown
Author

Should we make the numeric types with bytes 32 and below make INT since php supports this native?

I’d keep the numeric type wrappers string-backed for consistency across all ClickHouse integer types. Although Int8, Int32, UInt8, UInt32 fit in a 64-bit PHP int, using strings keeps the API platform-independent and avoids changing behavior between small and large integer types.

@RemcoSmitsDev
RemcoSmitsDev marked this pull request as ready for review September 17, 2026 12:52

This branch has not been deployed

No deployments
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