Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avoid shuffle? #388

Open
tooptoop4 opened this issue Oct 14, 2020 · 1 comment
Open

avoid shuffle? #388

tooptoop4 opened this issue Oct 14, 2020 · 1 comment

Comments

@tooptoop4
Copy link

i read csv input then write parquet with partitionby, it takes a long time. any settings u recommend ? maybe https://issues.apache.org/jira/browse/SPARK-24940 ?

@lyogev
Copy link
Contributor

lyogev commented Oct 15, 2020

So if you're reading a single CSV and perform partitionby the first part will be a single partition.
You can either repartition using the hints in the link or create a multi config job with a CSV repartitioned to parquet (using the repartition flag in the parquet output) and then reading and running your business logic on top of it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants