linkedin / linkedin/spark-tfrecord

encountered a FileAlreadyExistsException when trying to save array of arrays of arrays (3d array)

Open
#35 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
300
Forks
57
PR merge metrics
No merged PRs in 30d

Description

I got a FileAlreadyExistsException when I was trying to save a pyspark dataframe that has 3d array columns. The saving worked for me when I only had 1d, 2d, and scalars in the dataframe. Is there any plan to support 3d arrays in the near future?

Contributor guide

Open the contributing guide

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.

Research direction

Start by reproducing the reported save failure with a PySpark dataframe containing a 3D array column, then inspect the project’s handling of nested arrays and the resulting FileAlreadyExistsException. Done means a dataframe with 1D, 2D, and 3D array columns can be saved successfully in TFRecord format.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, scala, spark, tensorflow
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.