Skip to content

Commit

Permalink
Introduce BaseHiveColumnHandle
Browse files Browse the repository at this point in the history
  • Loading branch information
imjalpreet authored and yingsu00 committed Dec 4, 2023
1 parent e1b7061 commit d56656c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.facebook.presto.hive;

import com.facebook.presto.spi.ColumnHandle;

public interface BaseHiveColumnHandle
extends ColumnHandle
{
String getName();
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
import static java.util.Objects.requireNonNull;

public class HiveColumnHandle
implements ColumnHandle
implements BaseHiveColumnHandle
{
public static final int PATH_COLUMN_INDEX = -11;
public static final String PATH_COLUMN_NAME = "$path";
Expand Down

0 comments on commit d56656c

Please sign in to comment.