From user-return-699-archive-asf-public=cust-asf.ponee.io@arrow.apache.org Wed Oct 7 19:34:50 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-ec2-va.apache.org (mxout1-ec2-va.apache.org [3.227.148.255]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id B5501180644 for ; Wed, 7 Oct 2020 21:34:50 +0200 (CEST) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-ec2-va.apache.org (ASF Mail Server at mxout1-ec2-va.apache.org) with SMTP id B603345AF6 for ; Wed, 7 Oct 2020 19:34:45 +0000 (UTC) Received: (qmail 87572 invoked by uid 500); 7 Oct 2020 19:34:42 -0000 Mailing-List: contact user-help@arrow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@arrow.apache.org Delivered-To: mailing list user@arrow.apache.org Received: (qmail 87503 invoked by uid 99); 7 Oct 2020 19:34:42 -0000 Received: from Unknown (HELO mailrelay1-lw-us.apache.org) (10.10.3.159) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Oct 2020 19:34:42 +0000 Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) by mailrelay1-lw-us.apache.org (ASF Mail Server at mailrelay1-lw-us.apache.org) with ESMTPSA id 0C4C94043C for ; Wed, 7 Oct 2020 19:34:42 +0000 (UTC) Received: by mail-lf1-f41.google.com with SMTP id y11so3666270lfl.5 for ; Wed, 07 Oct 2020 12:34:41 -0700 (PDT) X-Gm-Message-State: AOAM530DD+vTJhA2Cs6obbpIIIsyUAFx5vdJyeuv2kWN3T/I7pLrUq4X JR5ylP1QQPupPzcfNJifdyd5yOXtjA7Yj7P47Cc= X-Google-Smtp-Source: ABdhPJwcce/Emw6TykNbd7xHrrue58lAszRzV6f0PNuLBOAzpBKu4QHtN/YzQz+2XBRLJBkEjcBooVD/WgTURksXffw= X-Received: by 2002:a05:6512:32a8:: with SMTP id q8mr1558729lfe.209.1602099281088; Wed, 07 Oct 2020 12:34:41 -0700 (PDT) MIME-Version: 1.0 From: Michael Mior Date: Wed, 7 Oct 2020 15:34:29 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Access Schema from ArrowReader in Java To: user@arrow.apache.org Content-Type: text/plain; charset="UTF-8" Why is the Schema object not exposed in ArrowReader? (e.g. readSchema is protected). Instead, I need to call getVectorSchemaRoot().getSchema() which unnecessarily allocates a VectorSchemaRoot that I don't immediately need. -- Michael Mior mmior@apache.org