crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel Reid (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CRUNCH-421) MemPipeline can't write PTable to Avro file
Date Mon, 16 Jun 2014 14:48:01 GMT

     [ https://issues.apache.org/jira/browse/CRUNCH-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gabriel Reid updated CRUNCH-421:
--------------------------------

    Attachment: CRUNCH-421.patch

Thanks for pointing this out and adding the test case [~tomwhite]. It looks like there was
an artificial check that disallowed writing Avro PTables from within MemPipelines, but I don't
know what it was doing there -- in any case, removing it (as is done in this patch) makes
your test work and doesn't break anything else.

> MemPipeline can't write PTable to Avro file
> -------------------------------------------
>
>                 Key: CRUNCH-421
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-421
>             Project: Crunch
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.10.0
>            Reporter: Tom White
>            Assignee: Josh Wills
>         Attachments: CRUNCH-421-test.patch, CRUNCH-421.patch
>
>
> Writing a PTable to an Avro file writes a text file when using the in-memory pipeline.
It correctly writes an Avro file when using MRPipeline.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message