Skip to content

[HUDI-6214] Enabling compaction by default for batch writes with MOR table#8718

Merged
codope merged 3 commits intoapache:masterfrom
nsivabalan:enableCompactionMor
Aug 14, 2023
Merged

[HUDI-6214] Enabling compaction by default for batch writes with MOR table#8718
codope merged 3 commits intoapache:masterfrom
nsivabalan:enableCompactionMor

Conversation

@nsivabalan
Copy link
Contributor

Change Logs

By default inline compaction is disabled for batch writes (spark datasource writes and soark-sql writes). But from a user exp standpoint, its better to enable it by default. So, if a user does not explicitly enable inline compaction w/ spark-datasource or spark-sql writes, inline compaction will be enabled. If user explicitly overwrites and disables, no overrides will happen.

Impact

Improves out of the box user experience.

Risk level (write none, low medium or high below)

low

Documentation Update

Describe any necessary documentation update if there is any new feature, config, or user-facing change

  • The config description must be updated if new configs are added or the default value of the configs are changed
  • Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
    ticket number here and follow the instruction to make
    changes to the website.

Contributor's checklist

  • Read through contributor's guide
  • Change Logs and Impact were stated clearly
  • Adequate tests were added if applicable
  • CI passed

@nsivabalan nsivabalan changed the title [HUDI-6214] Enabling compaction by default for batch writes for MOR table [HUDI-6214] Enabling compaction by default for batch writes with MOR table May 16, 2023
@nsivabalan nsivabalan added release-0.14.0 priority:critical Production degraded; pipelines stalled labels May 16, 2023
@nsivabalan nsivabalan added priority:blocker Production down; release blocker and removed priority:critical Production degraded; pipelines stalled labels Jul 5, 2023
Copy link
Member

@codope codope left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with some minor comments. Can you please rebase?

@codope codope self-assigned this Aug 4, 2023
@codope codope force-pushed the enableCompactionMor branch from 27ae6fc to e15a030 Compare August 4, 2023 18:11
@codope codope force-pushed the enableCompactionMor branch from e15a030 to 52129fa Compare August 5, 2023 07:58
@nsivabalan nsivabalan added priority:critical Production degraded; pipelines stalled and removed priority:blocker Production down; release blocker labels Aug 6, 2023
@codope codope force-pushed the enableCompactionMor branch from 52129fa to 76f2bd5 Compare August 14, 2023 05:00
@codope codope force-pushed the enableCompactionMor branch from 76f2bd5 to e43cede Compare August 14, 2023 08:32
@apache apache deleted a comment from hudi-bot Aug 14, 2023
@codope
Copy link
Member

codope commented Aug 14, 2023

@hudi-bot run azure

@hudi-bot
Copy link
Collaborator

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

@codope codope merged commit d4f8241 into apache:master Aug 14, 2023
prashantwason pushed a commit that referenced this pull request Aug 18, 2023
…table (#8718)

Support better out-of-box user experience. If a user does not explicitly enable 
inline compaction w/ spark-datasource or spark-sql writes, inline compaction will 
be enabled. If user explicitly overwrites and disables, no overrides will happen.

---------

Co-authored-by: Sagar Sumit <sagarsumit09@gmail.com>
leosanqing pushed a commit to leosanqing/hudi that referenced this pull request Sep 13, 2023
…table (apache#8718)

Support better out-of-box user experience. If a user does not explicitly enable 
inline compaction w/ spark-datasource or spark-sql writes, inline compaction will 
be enabled. If user explicitly overwrites and disables, no overrides will happen.

---------

Co-authored-by: Sagar Sumit <sagarsumit09@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:critical Production degraded; pipelines stalled release-0.14.0

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants