Skip to content

feat: Add now() and current_timestamp function#1391

Open
anandamideShakyan wants to merge 1 commit intomainfrom
implement-now-function
Open

feat: Add now() and current_timestamp function#1391
anandamideShakyan wants to merge 1 commit intomainfrom
implement-now-function

Conversation

@anandamideShakyan
Copy link
Member

In the past, we were not implementing functions like now() that returned constants in Velox. This was because Presto Java would infer the constant value at the co-ordinator and fold it, so the worker was never passed this function in execution.

However, with recent changes for side-car and worker based constant folding implementation, we need native implementations for functions like now(), so adding to Velox as well.

@prestodb-ci prestodb-ci force-pushed the main branch 10 times, most recently from b3ffe3f to a32ad3c Compare November 26, 2025 04:21
@prestodb-ci prestodb-ci force-pushed the main branch 8 times, most recently from 7259d87 to 8d72141 Compare December 10, 2025 06:26
@prestodb-ci prestodb-ci force-pushed the main branch 11 times, most recently from 39be3fb to c9d5bf2 Compare December 16, 2025 02:05
@prestodb-ci prestodb-ci force-pushed the main branch 12 times, most recently from 5f02206 to d584e2b Compare January 15, 2026 12:46
@prestodb-ci prestodb-ci force-pushed the main branch 8 times, most recently from 90fb009 to da44354 Compare January 22, 2026 17:13
@prestodb-ci prestodb-ci force-pushed the main branch 4 times, most recently from 2a3357c to 9d01541 Compare January 30, 2026 20:15
@prestodb-ci prestodb-ci force-pushed the main branch 5 times, most recently from 3fc79b1 to d196f5a Compare February 7, 2026 01:10
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.

1 participant