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

[GLUTEN-8208][CORE] A new unified approach of source folder isolation for iceberg / hudi / delta with Maven #8198

Merged
merged 23 commits into from
Dec 16, 2024

Conversation

zhztheplayer
Copy link
Member

@zhztheplayer zhztheplayer commented Dec 10, 2024

This patch refactors Maven settings to use a unified method for managing source / resource / test-source folders' profile-based activations.

After the change, all the required data lake extension folders in every Maven module will be toggled on if the relevant Maven profile is enabled. This is configured in the root pom.xml so no further settings are needed in each Maven submodule. All the previous settings in Maven submodules will be removed in this PR.

The new approach will give all the flexibilities to user since each data lake extension will have its own immediate source folder under each Maven module. Which means, there will be src-iceberg / src-delta / src-hudi on the same level with src under backend-velox and any other modules. Each of them is a full-featured maven source folder that consists of Java sources, Scala sources, resources, test sources, etc.

Copy link

Run Gluten Clickhouse CI on x86

@apache apache deleted a comment from github-actions bot Dec 10, 2024
@zhztheplayer zhztheplayer changed the title [CORE] A new unified approach of source folder isolation for iceberg / hudi / delta [CORE] A new unified approach of source folder isolation for iceberg / hudi / delta with Maven Dec 10, 2024
Copy link

Run Gluten Clickhouse CI on x86

@zhztheplayer zhztheplayer marked this pull request as ready for review December 11, 2024 01:47
@zhztheplayer
Copy link
Member Author

cc @baibaichen thanks

<resources>
<resource>
<directory>${cpp.releases.dir}</directory>
<targetPath>${platform}/${arch}</targetPath>
Copy link
Member Author

Choose a reason for hiding this comment

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

Weird. It seems that Intellij IDEA doesn't pick up this line and put the libraries directly under the root resource dir. Investigating.

@zhouyuan
Copy link
Contributor

@zhztheplayer thanks, could you please create one issue to track these changes?

Thanks,
-yuan

@zhztheplayer zhztheplayer changed the title [CORE] A new unified approach of source folder isolation for iceberg / hudi / delta with Maven [GLUTEN-8208][CORE] A new unified approach of source folder isolation for iceberg / hudi / delta with Maven Dec 11, 2024
Copy link

#8208

Copy link

Run Gluten Clickhouse CI on x86

@github-actions github-actions bot added the INFRA label Dec 11, 2024
Copy link

Run Gluten Clickhouse CI on x86

1 similar comment
Copy link

Run Gluten Clickhouse CI on x86

@zhouyuan
Copy link
Contributor

Hi @zzcclp @baibaichen could you please prioritize review on this patch? since this patch introduced a big change on code footprint and may easily get conflict

Thanks,
-yuan

Copy link

Run Gluten Clickhouse CI on x86

@github-actions github-actions bot removed the INFRA label Dec 11, 2024
Copy link

Run Gluten Clickhouse CI on x86

2 similar comments
Copy link

Run Gluten Clickhouse CI on x86

Copy link

Run Gluten Clickhouse CI on x86

Copy link

Run Gluten Clickhouse CI on x86

3 similar comments
Copy link

Run Gluten Clickhouse CI on x86

Copy link

Run Gluten Clickhouse CI on x86

Copy link

Run Gluten Clickhouse CI on x86

Copy link

Run Gluten Clickhouse CI on x86

Copy link

Run Gluten Clickhouse CI on x86

1 similar comment
@lwz9103
Copy link
Contributor

lwz9103 commented Dec 13, 2024

Run Gluten Clickhouse CI on x86

Copy link
Contributor

@baibaichen baibaichen left a comment

Choose a reason for hiding this comment

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

LGTM

@zhztheplayer
Copy link
Member Author

@lwz9103 @baibaichen Thank you for helping verifying this.

@zhztheplayer zhztheplayer merged commit 08bdb42 into apache:main Dec 16, 2024
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants