Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-783

Add official python support to create hudi datasets using pyspark

    XMLWordPrintableJSON

    Details

      Description

      Goal:
      As a pyspark user, I would like to read/write hudi datasets using pyspark.

      There are several components to achieve this goal.

      1. Create a hudi-pyspark package that users can import and start reading/writing hudi datasets.
      2. Explain how to read/write hudi datasets using pyspark in a blog post/documentation.
      3. Add the hudi-pyspark module to the hudi demo docker along with the instructions.
      4. Make the package available as part of the spark packages index and python package index

      hudi-pyspark packages should implement HUDI data source API for Apache Spark using which HUDI files can be read as DataFrame and write to any Hadoop supported file system.

      Usage pattern after we launch this feature should be something like this:

      Install the package using:

      pip install hudi-pyspark

      or

      Include hudi-pyspark package in your Spark Applications using:

      spark-shell, pyspark, or spark-submit

      > $SPARK_HOME/bin/spark-shell --packages org.apache.hudi:hudi-pyspark_2.11:0.5.2

       

       

       

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vino Vinoth Govindarajan
                Reporter:
                vino Vinoth Govindarajan
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: