You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Ludwik Bielczynski (JIRA)" <ji...@apache.org> on 2017/08/22 14:49:00 UTC

[jira] [Created] (ARROW-1398) No support reading columns of type decimal(19,4)

Ludwik Bielczynski created ARROW-1398:
-----------------------------------------

             Summary: No support reading columns of type decimal(19,4)
                 Key: ARROW-1398
                 URL: https://issues.apache.org/jira/browse/ARROW-1398
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
    Affects Versions: 0.6.0
         Environment: Ubuntu 16.04, Python 3.6
            Reporter: Ludwik Bielczynski


I have a localy saved parquet database created in spark from querrying an SQL database. When I run:

{code:python}
import pyarrow.parquet as pq

path = "path/to/parquet/dataset"
dataset = pq.ParquetDataset(path)
dataset.read()
{code}

an error indicating that there is no support for reading columns of type decimal(19,4). It's quite a common type used in SQL databases and I saw in the source code that there is an implementation for decimals. I'm stuck trying to figuring out a solution. Is there a walk around (conversion of decimals to integers during reading)?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)