Skip to content

Commit

Permalink
Import class not member
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinGe00 committed Jul 31, 2024
1 parent bd35f9a commit a5acda8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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.*;


Expand All @@ -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;
}

Expand All @@ -72,7 +71,7 @@ public RelToTrinoConverter(HiveMetastoreClient mscClient) {
* @param configs configs
*/
public RelToTrinoConverter(HiveMetastoreClient mscClient, Map<String, Boolean> configs) {
super(INSTANCE);
super(CoralRelToSqlNodeConverter.INSTANCE);
checkNotNull(configs);
this.configs = configs;
_hiveMetastoreClient = mscClient;
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*/
Expand Down

0 comments on commit a5acda8

Please sign in to comment.