[ 
https://issues.apache.org/jira/browse/PARQUET-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17777653#comment-17777653
 ] 

ASF GitHub Bot commented on PARQUET-2355:
-----------------------------------------

Fokko commented on code in PR #1175:
URL: https://github.com/apache/parquet-mr/pull/1175#discussion_r1366716582


##########
parquet-thrift/src/main/java/org/apache/parquet/thrift/projection/deprecated/DeprecatedFieldProjectionFilter.java:
##########
@@ -1,106 +0,0 @@
-/* 
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you 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 org.apache.parquet.thrift.projection.deprecated;
-
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Objects;
-
-import org.apache.parquet.thrift.projection.FieldsPath;
-import org.apache.parquet.thrift.projection.FieldProjectionFilter;
-import org.apache.parquet.thrift.projection.ThriftProjectionException;
-
-/**
- * Filter thrift attributes using glob syntax.
- * This is used for parsing values assigned to 
ThriftReadSupport.THRIFT_COLUMN_FILTER_KEY
- */
-@Deprecated
-public class DeprecatedFieldProjectionFilter implements FieldProjectionFilter {

Review Comment:
   These classes are [marked as deprecated in 
2015](https://github.com/apache/parquet-mr/commit/7fc7998398373a14b4cdc0ce18abdeb221b1ccf9),
 and released in Parquet 1.8.0 :) Removing these was also suggested by 
@steveloughran in https://github.com/apache/parquet-mr/pull/979





> Deprecate parquet-thrift
> ------------------------
>
>                 Key: PARQUET-2355
>                 URL: https://issues.apache.org/jira/browse/PARQUET-2355
>             Project: Parquet
>          Issue Type: Improvement
>            Reporter: Fokko Driesprong
>            Assignee: Fokko Driesprong
>            Priority: Major
>
> I was in the process of updating to [the latest version of 
> Thrift|https://github.com/apache/parquet-mr/pull/1138] (from 0.16.0 to 
> 0.19.0). Mostly because it contains CVEs and makes the release process easier 
> because you don't have to install Thrift from source (it is just available on 
> homebrew etc).
>  
> While working on this, I ran into an issue with Elephantbird, which is using 
> a very old version of Thrift (0.7.0). Trying to bump this I noticed that a 
> lot of classes that we use in the tests 
> [have|https://github.com/apache/parquet-mr/pull/1156] [ been made 
> private|https://github.com/apache/parquet-mr/pull/1156]. Therefore it is hard 
> to test if we break anything.
>  
> It looks like parquet-thrift [is not used by anyone 
> anymore|https://mvnrepository.com/artifact/org.apache.parquet/parquet-thrift].
>  I would suggest removing this from the repository unless anyone objects.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to