Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DP-103] Add aiq_day_start() pushdown #24

Merged
merged 5 commits into from
Sep 19, 2024
Merged

Conversation

@MasterDDT MasterDDT changed the base branch from master to branch-0.30.0 September 19, 2024 17:58
Comment on lines +246 to +259
val innerTsm = ConstantString("TIMESTAMP_MILLIS") + blockStatement(convertStatement(timestamp, fields))
val innerDt = ConstantString("DATETIME") + blockStatement(
innerTsm + "," + tzStmt
)
val dtAdd = ConstantString("DATETIME_ADD") + blockStatement(
innerDt + ", INTERVAL " + convertStatement(plusDays, fields) + " DAY"
)
val dtTrunc = ConstantString("DATETIME_TRUNC") + blockStatement(
dtAdd + ", DAY"
)
val outerTs = ConstantString("TIMESTAMP") + blockStatement(
dtTrunc + "," + tzStmt
)
ConstantString("UNIX_MILLIS") + blockStatement(outerTs)

Choose a reason for hiding this comment

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

Can you please put in the tickets for the Spark functions refactoring that this needs cause things are pilling up 🙏

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yep will do

@MasterDDT MasterDDT merged commit cdaca0e into branch-0.30.0 Sep 19, 2024
@MasterDDT MasterDDT deleted the DayStartPushdown branch September 19, 2024 18: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.

2 participants