Skip to content

Add support for hour(timestamp_ntz)#1974

Open
Mariamalmesfer wants to merge 1 commit intots_ntz_ibmfrom
ts-ntz-hour-support
Open

Add support for hour(timestamp_ntz)#1974
Mariamalmesfer wants to merge 1 commit intots_ntz_ibmfrom
ts-ntz-hour-support

Conversation

@Mariamalmesfer
Copy link
Copy Markdown
Collaborator

No description provided.


FOLLY_ALWAYS_INLINE void call(
int32_t& result,
const arg_type<TimestampNTZ>& timestamp) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Sorry for the confusion, we need to use TimestampUtcType. TimestampNTZ is being removed (see facebookincubator#16886). You might could refer to struct TimestampPlusOneFunction for how to register a function for both Timestamp and TimestampUtc types.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

No worries, switched to TimestampUtcType following the TimestampPlusOneFunction pattern

@Mariamalmesfer Mariamalmesfer force-pushed the ts-ntz-hour-support branch from 484eb10 to 5b830a8 Compare May 3, 2026 14:57
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