GithubHelp home page GithubHelp logo

programming-exercises's Introduction

Set Up

  1. maven needs to be set up on the local machine
  2. pyspark version 3.0.0 is required

Goal

The goal of the programming exercise is

  1. Read data from a json file without inferring schema.
  2. Explode arrays
  3. Unwrap nested structures.
  4. Write the dataframe to csv
  5. Create delta table
  6. Write to table
  7. Read from table

Additional questions

  1. Spark cluster components and deployment modes
  2. Caching - cache(), persist(), unpersist(), and storage levels
  3. Partitioning
    1. Initial DataFrame partitioning when reading from data source
    2. Repartitioning via coalesce() vs repartition()
    3. Controlling number of shuffle partitions
  4. Performance
    1. Catalyst optimizer
    2. Identifying performance bottlenecks in Spark applications
  5. Transformations, actions, and other operations
    1. Wide vs Narrow
  6. Joins
    1. Broadcast Joins
    2. Cross Joins
  7. Defining and using User Defined Functions (UDFs)
  8. Window functions
  9. Streaming
    1. Checkpoints
    2. Aggregation using time windows
    3. Watermarking

programming-exercises's People

Contributors

rohanghorpade avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.