presto-main/src/main/java/io/prestosql/sql/planner/InputExtractor.java/InputExtractor/createInput
class InputExtractor:    private Input createInput(Session session, TableHandle table, Set<Column> columns)
    {
        SchemaTableName schemaTable = metadata.getTableMetadata(session, table).getTable();
        Optional<Object> inputMetadata = metadata.getInfo(session, table);
        return new Input(table.getCatalogName(), schemaTable.getSchemaName(), schemaTable.getTableName(), inputMetadata, ImmutableList.copyOf(columns));
    }