Skip to content

INT32 and FLOAT32 - #226

Merged
comnik merged 7 commits into
mainfrom
ncg-32bit
Mar 5, 2026
Merged

INT32 and FLOAT32#226
comnik merged 7 commits into
mainfrom
ncg-32bit

Conversation

@comnik

@comnik comnik commented Mar 5, 2026

Copy link
Copy Markdown
Collaborator

LQP is meant to support the same set of types that Iceberg does. 32-bit integer and float types were missing so far. This PR introduces them as INT32 and FLOAT32.

@comnik
comnik requested a review from nystrom March 5, 2026 13:27
@comnik comnik self-assigned this Mar 5, 2026

@nystrom nystrom 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.

Thanks! Some minor issues.

Comment thread meta/src/meta/target_builtins.py Outdated
register_builtin("format_int64", [INT64], STRING)
register_builtin("format_int32", [INT32], STRING)
register_builtin("format_float32", [FLOAT32], STRING)
register_builtin("format_int32_literal", [INT32], STRING)

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.

There's already format_int32. Can we just fix that instead?

Comment thread meta/src/meta/codegen_templates.py Outdated
Comment thread meta/src/meta/codegen_templates.py
@comnik

comnik commented Mar 5, 2026

Copy link
Copy Markdown
Collaborator Author

@nystrom I think I cleaned up the int32 handling in e85b8aa and 231be37.

@comnik
comnik requested a review from nystrom March 5, 2026 14:16
@comnik
comnik merged commit 8aa9db3 into main Mar 5, 2026
5 checks passed
@comnik
comnik deleted the ncg-32bit branch March 5, 2026 14:49
@comnik comnik mentioned this pull request Mar 6, 2026
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