From a5acda8816dc0d9849a780fb5d32efd016fee9c6 Mon Sep 17 00:00:00 2001 From: Kevin Ge Date: Wed, 31 Jul 2024 13:25:32 -0400 Subject: [PATCH] Import class not member --- .../coral/trino/rel2trino/RelToTrinoConverter.java | 7 +++---- .../linkedin/coral/trino/rel2trino/TrinoSqlDialect.java | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/coral-trino/src/main/java/com/linkedin/coral/trino/rel2trino/RelToTrinoConverter.java b/coral-trino/src/main/java/com/linkedin/coral/trino/rel2trino/RelToTrinoConverter.java index dccd1898b..a2b3c6145 100644 --- a/coral-trino/src/main/java/com/linkedin/coral/trino/rel2trino/RelToTrinoConverter.java +++ b/coral-trino/src/main/java/com/linkedin/coral/trino/rel2trino/RelToTrinoConverter.java @@ -5,7 +5,6 @@ */ package com.linkedin.coral.trino.rel2trino; -import com.linkedin.coral.transformers.CoralRelToSqlNodeConverter; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Collections; @@ -33,9 +32,9 @@ import com.linkedin.coral.common.HiveMetastoreClient; import com.linkedin.coral.common.functions.CoralSqlUnnestOperator; import com.linkedin.coral.common.functions.FunctionFieldReferenceOperator; +import com.linkedin.coral.transformers.CoralRelToSqlNodeConverter; import static com.google.common.base.Preconditions.*; -import static com.linkedin.coral.transformers.CoralRelToSqlNodeConverter.INSTANCE; import static com.linkedin.coral.trino.rel2trino.CoralTrinoConfigKeys.*; @@ -62,7 +61,7 @@ public class RelToTrinoConverter extends RelToSqlConverter { * @param mscClient client interface used to interact with the Hive Metastore service. */ public RelToTrinoConverter(HiveMetastoreClient mscClient) { - super(INSTANCE); + super(CoralRelToSqlNodeConverter.INSTANCE); _hiveMetastoreClient = mscClient; } @@ -72,7 +71,7 @@ public RelToTrinoConverter(HiveMetastoreClient mscClient) { * @param configs configs */ public RelToTrinoConverter(HiveMetastoreClient mscClient, Map configs) { - super(INSTANCE); + super(CoralRelToSqlNodeConverter.INSTANCE); checkNotNull(configs); this.configs = configs; _hiveMetastoreClient = mscClient; 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 ab870e96c..58c66110f 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-2024 LinkedIn Corporation. All rights reserved. + * Copyright 2017-2023 LinkedIn Corporation. All rights reserved. * Licensed under the BSD-2 Clause license. * See LICENSE in the project root for license information. */