hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7098) RecordUpdater should extend RecordWriter
Date Wed, 02 Jul 2014 19:56:25 GMT

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

Alan Gates updated HIVE-7098:
-----------------------------

    Status: Open  (was: Patch Available)

After looking more at this I'm not sure this is the best way forward.  I want to review the
design further before committing this patch, so moving it from patch available to open.

> RecordUpdater should extend RecordWriter
> ----------------------------------------
>
>                 Key: HIVE-7098
>                 URL: https://issues.apache.org/jira/browse/HIVE-7098
>             Project: Hive
>          Issue Type: Sub-task
>          Components: File Formats, Transactions
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>         Attachments: HIVE-7098.patch
>
>
> A new interface ql.io.RecordUpdater was added as part of the ACID work in 0.13.  This
interface should extend RecordWriter because:
> # If it does not significant portions of FileSinkOperator will have to be reworked to
handle both RecordWriter and RecordUpdater
> # Once a file format accepts transactions, it should not generally be possible to write
using RecordWriter.write as that will write old style records without transaction information.



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

Mime
View raw message