Skip to content

fix: Refactor the parameters for timestamp expressions and fix bug for timeGranularity lowercase#7856

Open
yvonnep165 wants to merge 1 commit intoyvonne/timestamp-expressionsfrom
yvonne/refactor-timestamp-parameters
Open

fix: Refactor the parameters for timestamp expressions and fix bug for timeGranularity lowercase#7856
yvonnep165 wants to merge 1 commit intoyvonne/timestamp-expressionsfrom
yvonne/refactor-timestamp-parameters

Conversation

@yvonnep165
Copy link
Contributor

Changes on top of #7826:

  • Create new type TimeUnit and refactor the timestampAdd, timestampSubtract and timestampDiff expressions to use this value
  • Change the type TimeGranularity to include type TimeUnit directly and change the camelCase value to lowercase
  • Remove the toLowerCase() usage in timestampTruncate and timestampExtract

@yvonnep165 yvonnep165 requested review from dlarocque and milaGGL March 24, 2026 21:18
@yvonnep165 yvonnep165 requested a review from a team as a code owner March 24, 2026 21:18
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