Giter Club home page Giter Club logo

Comments (5)

mukulmurthy avatar mukulmurthy commented on July 3, 2024

Hi @balluashok,

By nested structure, do you mean nested columns in a Delta table? We've made an effort to have everything in Delta Lake work with nested columns; please let us know if you encounter any issues.

from delta.

balluashok avatar balluashok commented on July 3, 2024

Thanks @mukulmurthy

Yest nested columns assume : Person can have multiple addresses(work address, home address), can have multiple contact numbers ( mobile, home, work).

we have to represented this relation in nested structure -> one person can have many addresses and can have many contact numbers.

And Person can change only his cell number or can change work address.. then we have to keep the history and SANPSHOT(latest data).. let me know we can achieve this use case using Delta.

from delta.

mukulmurthy avatar mukulmurthy commented on July 3, 2024

Delta column types support all columns Spark supports, including ArrayType and StructType (nested types) if that's what you're using. Partitioning on nested columns is also supported.

from delta.

balluashok avatar balluashok commented on July 3, 2024

Thanks @mukulmurthy , i will do a POC.

from delta.

mrijken avatar mrijken commented on July 3, 2024

Partition on nested columns (ie partitionBy("struct.column")) is not possible. I assume that https://issues.apache.org/jira/browse/SPARK-18084 is the reason.

from delta.

Related Issues (20)

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.