fread support for common big data formats

Open
#3,307 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp, pandas, python

Research direction

The issue names no files, tests, or entry points. Start by tracing datatable’s existing file-reading API and compare the requested AVRO and ORC reads with pandas.read_orc and fastavro.reader. Done should be defined as working reads for both formats, with tests and performance expectations agreed with maintainers.

Written by the indexing model from the issue text.

Description

This is a feature request to implement AVRO and ORC reads into datatable. The ORC read function would be akin to the Pandas implementation:

df = pd.read_orc("my_orc_file")

To my knowledge, there is currently no fast way to read an avro file into Pandas. The fastest way I am familiar with is:

import fastavro
with open(file, "rb") as f:
    reader = fastavro.reader(f)
    records = [r for r in reader]
    df = pd.DataFrame.from_records(records)
Dominant language
C++
Stars
1.9k
Forks
164
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from h2oai/datatable

All issues in h2oai/datatable

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.