Skip to content

multi-level partition #2017

@Yogashri12

Description

@Yogashri12

Hi,
I have a dataset which contain many columns.
now i want to store this dataset based on year/month.

hudi_options = {
'hoodie.table.name': tableName,
'hoodie.datasource.write.recordkey.field': 'ID',
'hoodie.datasource.write.table.name': tableName,
'hoodie.datasource.write.operation': 'upsert',
'hoodie.datasource.write.precombine.field': 'ID',
'hoodie.upsert.shuffle.parallelism': 2,
'hoodie.insert.shuffle.parallelism': 2,
'hoodie.datasource.write.partitionpath.field':'year/month'
}

when i use partition path as year/month,it doesn't create any partition.

i want my partition path as (year/month) year--->month--->then parquet files.

i saw your sample example where you have used (region/country/city)

i am using pyspark to connect with apache Hudi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions