From 957afa129d603dd5768fe0f48b45339a88949ad9 Mon Sep 17 00:00:00 2001 From: Kevin Ge Date: Fri, 26 Jul 2024 17:15:15 -0400 Subject: [PATCH] temp --- .../linkedin/coral/trino/rel2trino/TrinoSqlDialect.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/coral-trino/src/main/java/com/linkedin/coral/trino/rel2trino/TrinoSqlDialect.java b/coral-trino/src/main/java/com/linkedin/coral/trino/rel2trino/TrinoSqlDialect.java index 58c66110f..7453670bb 100644 --- a/coral-trino/src/main/java/com/linkedin/coral/trino/rel2trino/TrinoSqlDialect.java +++ b/coral-trino/src/main/java/com/linkedin/coral/trino/rel2trino/TrinoSqlDialect.java @@ -1,5 +1,5 @@ /** - * Copyright 2017-2023 LinkedIn Corporation. All rights reserved. + * Copyright 2017-2024 LinkedIn Corporation. All rights reserved. * Licensed under the BSD-2 Clause license. * See LICENSE in the project root for license information. */ @@ -76,11 +76,7 @@ public void unparseCall(SqlWriter writer, SqlCall call, int leftPrec, int rightP unparseMapValueConstructor(writer, call, leftPrec, rightPrec); break; default: - if (call.getOperator().getName().equals("timestamp_from_unixtime")) { - TIMESTAMP_FROM_UNIXTIME.unparse(writer, call, leftPrec, rightPrec); - } else { - super.unparseCall(writer, call, leftPrec, rightPrec); - } + super.unparseCall(writer, call, leftPrec, rightPrec); } }