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

[Enhancement] Convert Trino function from_iso8601_timestamp -> timestamp #55573

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update Trino2SRFunctionCallTransformer.java
for function from_iso8601_timestamp -> timestamp

Signed-off-by: Craig <117254390+click9000@users.noreply.github.com>
  • Loading branch information
click9000 authored Feb 5, 2025
commit cfeeb92e2239abfee2d2e9583241410fe6d88492
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,10 @@ private static void registerDateFunctionTransformer() {
new IntLiteral(100))
)
)));

// from_iso8601_timestamp -> timestamp
registerFunctionTransformer("from_iso8601_timestamp", 1, "timestamp",
List.of(Expr.class));
}

private static void registerStringFunctionTransformer() {
Expand Down