You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iceberg.apache.org by Mayur Srivastava <Ma...@twosigma.com> on 2021/09/27 14:32:17 UTC

In-memory implementation of FileIO

Hi,

Is there an in-memory implementation of the FileIO interface?
I'm looking for one for writing unit tests (basically avoiding touching local file system or other external resources).

Thanks,
Mayur


RE: In-memory implementation of FileIO

Posted by Mayur Srivastava <Ma...@twosigma.com>.
Hi Ryan,

I have put together an in-memory FileIO and in-memory Catalog in this pr https://github.com/apache/iceberg/pull/3294.

Thanks,
Mayur

From: Ryan Blue <bl...@tabular.io>
Sent: Monday, September 27, 2021 11:13 AM
To: Iceberg Dev List <de...@iceberg.apache.org>
Subject: Re: In-memory implementation of FileIO

I don't think so. There's one that wraps the local file system we use for testing that at least doesn't depend on Hadoop though. If you want to build an in-memory one that would be great.

On Mon, Sep 27, 2021 at 7:32 AM Mayur Srivastava <Ma...@twosigma.com>> wrote:
Hi,

Is there an in-memory implementation of the FileIO interface?
I’m looking for one for writing unit tests (basically avoiding touching local file system or other external resources).

Thanks,
Mayur



--
Ryan Blue
Tabular

Re: In-memory implementation of FileIO

Posted by Ryan Blue <bl...@tabular.io>.
I don't think so. There's one that wraps the local file system we use for
testing that at least doesn't depend on Hadoop though. If you want to build
an in-memory one that would be great.

On Mon, Sep 27, 2021 at 7:32 AM Mayur Srivastava <
Mayur.Srivastava@twosigma.com> wrote:

> Hi,
>
>
>
> Is there an in-memory implementation of the FileIO interface?
>
> I’m looking for one for writing unit tests (basically avoiding touching
> local file system or other external resources).
>
>
>
> Thanks,
> Mayur
>
>
>


-- 
Ryan Blue
Tabular