|
1 | 1 | /** |
2 | | - * Copyright 2017-2023 LinkedIn Corporation. All rights reserved. |
| 2 | + * Copyright 2017-2025 LinkedIn Corporation. All rights reserved. |
3 | 3 | * Licensed under the BSD-2 Clause license. |
4 | 4 | * See LICENSE in the project root for license information. |
5 | 5 | */ |
|
16 | 16 | import com.google.common.base.Splitter; |
17 | 17 | import com.google.common.collect.ImmutableList; |
18 | 18 | import com.google.common.collect.Iterables; |
19 | | -import com.linkedin.coral.common.types.CoralDataType; |
20 | | -import com.linkedin.coral.common.types.CoralTypeToRelDataTypeConverter; |
21 | | -import com.linkedin.coral.common.types.StructField; |
22 | | -import com.linkedin.coral.common.types.StructType; |
| 19 | + |
23 | 20 | import org.apache.calcite.DataContext; |
24 | 21 | import org.apache.calcite.config.CalciteConnectionConfig; |
25 | 22 | import org.apache.calcite.linq4j.Enumerable; |
|
42 | 39 | import org.slf4j.Logger; |
43 | 40 | import org.slf4j.LoggerFactory; |
44 | 41 |
|
| 42 | +import com.linkedin.coral.common.types.CoralDataType; |
| 43 | +import com.linkedin.coral.common.types.CoralTypeToRelDataTypeConverter; |
| 44 | +import com.linkedin.coral.common.types.StructField; |
| 45 | +import com.linkedin.coral.common.types.StructType; |
| 46 | + |
45 | 47 |
|
46 | 48 | /** |
47 | 49 | * Adaptor class from Hive {@link org.apache.hadoop.hive.metastore.api.Table} representation to |
@@ -221,7 +223,6 @@ private RelDataType getRowTypeDirectConversion(RelDataTypeFactory typeFactory) { |
221 | 223 | * |
222 | 224 | * @return StructType representing the full table schema (columns + partitions) |
223 | 225 | */ |
224 | | - @Override |
225 | 226 | public CoralDataType getCoralSchema() { |
226 | 227 | final List<FieldSchema> cols = getColumns(); |
227 | 228 | final List<StructField> fields = new ArrayList<>(); |
|
0 commit comments