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

[Improve][Paimon] upgrade version and add fs config #8002

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

yoogoc
Copy link

@yoogoc yoogoc commented Nov 8, 2024

Purpose of this pull request

Does this PR introduce any user-facing change?

How was this patch tested?

debug in local

Check list

@yoogoc yoogoc changed the title Improve Paimon: upgrade version and add fs config [Improve][Paimon] upgrade version and add fs config Nov 8, 2024
@@ -30,7 +30,7 @@
<name>SeaTunnel : Connectors V2 : Paimon</name>

<properties>
<paimon.version>0.7.0-incubating</paimon.version>
<paimon.version>0.9.0</paimon.version>
Copy link
Member

Choose a reason for hiding this comment

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

@Hisoka-X
Copy link
Member

Hi @yoogoc , please follow the guide to open github action on your fork repository. https://github.com/apache/seatunnel/pull/8002/checks?check_run_id=32718704961

@yoogoc
Copy link
Author

yoogoc commented Nov 12, 2024

paimon 0.9.0 have a bug about handle tinyint and smallint correctly bug(pr here).
I'm not sure whether to skip e2e or wait for the new version.
@Hisoka-X

@Hisoka-X
Copy link
Member

paimon 0.9.0 have a bug about handle tinyint and smallint correctly bug(pr here). I'm not sure whether to skip e2e or wait for the new version. @Hisoka-X

Thanks @yoogoc for share this information. I think we should wait for 0.9.1. Any update can not break feature we already supported.

@@ -31,7 +31,7 @@ libfb303-xxx.jar

Copy link
Contributor

Choose a reason for hiding this comment

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

Piamon version 0.7 is incompatible with version 0.9. You are advised to provide the mapping between the ST Paimon Connector and the Paimon version.

@@ -46,6 +46,7 @@ libfb303-xxx.jar
| paimon.table.write-props | Map | No | - | Properties passed through to paimon table initialization, [reference](https://paimon.apache.org/docs/master/maintenance/configurations/#coreoptions). |
| paimon.hadoop.conf | Map | No | - | Properties in hadoop conf |
| paimon.hadoop.conf-path | String | No | - | The specified loading path for the 'core-site.xml', 'hdfs-site.xml', 'hive-site.xml' files |
| paimon.fs.conf | Map | No | - | Properties when the catalog type is filesystem |
Copy link
Contributor

Choose a reason for hiding this comment

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

please add paimon.fs.conf examples

@@ -106,6 +106,12 @@ public class PaimonConfig implements Serializable {
.withDescription(
"The specified loading path for the 'core-site.xml', 'hdfs-site.xml', 'hive-site.xml' files");

public static final Option<Map<String, String>> FS_CONF =
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the purpose of paimon.fs.conf configuration? Integrate oss s3 configuration?

Copy link
Author

Choose a reason for hiding this comment

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

yes, current connector don't write to s3/oss, I will add some examples

Copy link
Contributor

Choose a reason for hiding this comment

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

Think you @yoogoc . The other filesystems are available as plugins in paimon, so Paimon-bundle has no s3 or oss dependencies. Other than that, I don't think we should have a separate fs.conf for all of this, so we can just do it in the original hadoop.conf. I already support writing to s3, it will be committed today, if you still need oss you can continue to develop base it.

@hawk9821
Copy link
Contributor

Thank you @yoogoc A PR should only do one thing, and upgrades and fs support should be separate.

@dailai
Copy link
Contributor

dailai commented Nov 13, 2024

Thank you @yoogoc A PR should only do one thing, and upgrades and fs support should be separate.

+1 It is recommended that upgrading the paimon version be a separate pr, which is a big deal.

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

Successfully merging this pull request may close these issues.

4 participants