Skip to content

Conversation

@rockwotj
Copy link
Collaborator

This fixes: #202

@rockwotj rockwotj force-pushed the master branch 2 times, most recently from 3b80db7 to 750e1de Compare December 18, 2024 14:59
@rockwotj rockwotj changed the title default values: fix logical types for default values logicalType/decimal: fix default values Dec 18, 2024
Copy link
Collaborator

@mihaitodor mihaitodor left a comment

Choose a reason for hiding this comment

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

LGTM @rockwotj! :shipit:

Unlike timestamp types which accepts native values, decimal types must
be big.Rat, which means defaults need to be converted.

This fixes: linkedin#202
@rockwotj rockwotj merged commit e1419b3 into linkedin:master Jan 10, 2025
7 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.

Can't specify default values for LogicalType: "decimal" fields

2 participants