@@ -0,0 +1,1701 @@
+/*%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage io.prestosql.sql.planner.assertions;%0A%0Aimport io.prestosql.Session;%0Aimport io.prestosql.metadata.QualifiedObjectName;%0Aimport io.prestosql.metadata.TableHandle;%0Aimport io.prestosql.spi.connector.ColumnHandle;%0A%0Aimport java.util.Map;%0Aimport java.util.Optional;%0A%0A/**%0A * Extension of %7B@link BasePlanTest%7D that provides connector metadata methods%0A */%0Apublic abstract class BasePushdownPlanTest%0A        extends BasePlanTest%0A%7B%0A    protected Optional%3CTableHandle%3E getTableHandle(Session session, QualifiedObjectName objectName)%0A    %7B%0A        return getQueryRunner().inTransaction(session, transactionSession -%3E %7B return getQueryRunner().getMetadata().getTableHandle(transactionSession, objectName); %7D);%0A    %7D%0A%0A    protected Map%3CString, ColumnHandle%3E getColumnHandles(Session session, QualifiedObjectName tableName)%0A    %7B%0A        return getQueryRunner().inTransaction(session, transactionSession -%3E %7B%0A            Optional%3CTableHandle%3E table = getQueryRunner().getMetadata().getTableHandle(transactionSession, tableName);%0A            return getQueryRunner().getMetadata().getColumnHandles(transactionSession, table.get());%0A        %7D);%0A    %7D%0A%7D%0A

Add BasePushdownPlanTest class