Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 656B8200B9A for ; Fri, 7 Oct 2016 22:13:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 63EEA160AE8; Fri, 7 Oct 2016 20:13:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9F1AE160AC6 for ; Fri, 7 Oct 2016 22:13:21 +0200 (CEST) Received: (qmail 54397 invoked by uid 500); 7 Oct 2016 20:13:20 -0000 Mailing-List: contact dev-help@arrow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@arrow.apache.org Delivered-To: mailing list dev@arrow.apache.org Received: (qmail 54369 invoked by uid 99); 7 Oct 2016 20:13:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2016 20:13:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 791722C0086 for ; Fri, 7 Oct 2016 20:13:20 +0000 (UTC) Date: Fri, 7 Oct 2016 20:13:20 +0000 (UTC) From: "Steven Phillips (JIRA)" To: dev@arrow.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ARROW-326) ComplexWriter should initialize nested writers when container vector is already populated MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 07 Oct 2016 20:13:22 -0000 Steven Phillips created ARROW-326: ------------------------------------- Summary: ComplexWriter should initialize nested writers when container vector is already populated Key: ARROW-326 URL: https://issues.apache.org/jira/browse/ARROW-326 Project: Apache Arrow Issue Type: Bug Reporter: Steven Phillips Assignee: Steven Phillips It's possible and sometimes useful to use reuse a nested vector that was populated in a previous ComplexWriter. The new ComplexWriter should be aware of the fields that are present in the vector. As it is right now, if a particular column were determined to be a specific type (or a union type), but the new writer finds a new type, the original type may be thrown out. What should happen is that the type should be promoted to union (or have a new subtype added to the union field). -- This message was sent by Atlassian JIRA (v6.3.4#6332)