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 62A1F200C3A for ; Thu, 16 Mar 2017 17:42:46 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 614D8160B72; Thu, 16 Mar 2017 16:42:46 +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 A2C6E160B78 for ; Thu, 16 Mar 2017 17:42:45 +0100 (CET) Received: (qmail 78215 invoked by uid 500); 16 Mar 2017 16:42:44 -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 78204 invoked by uid 99); 16 Mar 2017 16:42:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Mar 2017 16:42:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id E93BC1809F9 for ; Thu, 16 Mar 2017 16:42:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.451 X-Spam-Level: * X-Spam-Status: No, score=1.451 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id nlWzsVqdaZJR for ; Thu, 16 Mar 2017 16:42:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 1229A5F238 for ; Thu, 16 Mar 2017 16:42:43 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C8203E04FE for ; Thu, 16 Mar 2017 16:42:41 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 8EA30254B7 for ; Thu, 16 Mar 2017 16:42:41 +0000 (UTC) Date: Thu, 16 Mar 2017 16:42:41 +0000 (UTC) From: "Julien Le Dem (JIRA)" To: dev@arrow.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ARROW-638) [Format] Add metadata for single and double precision complex numbers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 16 Mar 2017 16:42:46 -0000 [ https://issues.apache.org/jira/browse/ARROW-638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928404#comment-15928404 ] Julien Le Dem commented on ARROW-638: ------------------------------------- I see several possibilities: - first class complex types: but we have to curate types so that we don't create too many of them. - have two float columns: but I guess we want the two values next to each other - have one float column where odd and even indices are the components of the complex value: which I guess would be the same binary representation as an array of numpy.complex values - embed floats in a fixed_width_byte_array: we lose meaning in the metadata but also allows a zero copy import of a numpy array. - define a generic row/struct/compound type which is a fixed width representation of several values: Basically the same binary representation as the previous one but associating metadata to it. > [Format] Add metadata for single and double precision complex numbers > --------------------------------------------------------------------- > > Key: ARROW-638 > URL: https://issues.apache.org/jira/browse/ARROW-638 > Project: Apache Arrow > Issue Type: New Feature > Components: Format > Reporter: Wes McKinney > > Numerical computing libraries like NumPy and TensorFlow feature complex64 and complex128 numbers -- This message was sent by Atlassian JIRA (v6.3.15#6346)