Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2023 02:36 AM
Yes. Because the row number with order by functionality have to bring all the records to a single worker so that it can assign a running id to your data sequentially. So only after this operation is completed, the write can happen in parallel depending on your partitions. You can also consider ordering your input 'installment' table while writing itself on the column that you are ordering and see if it can bring down your timings.