Skip to content

Conversation

@drmingdrmer
Copy link
Contributor

What changes are included in this PR?

TableCreation::builder().properties() should be able to accept any IntoIterator type that can be used to build an HashMap.

For example, TableCreation::builder().properties([("foo".to_string(), "bar".to_string())]) should build a HashMap with one key value pair foo -> bar.

Are these changes tested?

Unittest are provided.

`TableCreation::builder().properties()` should be able to accept any
`IntoIterator` type that can be used to build an `HashMap`.

For example, `TableCreation::builder().properties([("foo".to_string(), "bar".to_string())])`
should build a `HashMap` with one key value pair `foo -> bar`.
Copy link
Contributor

@liurenjie1024 liurenjie1024 left a comment

Choose a reason for hiding this comment

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

Thanks @drmingdrmer for this pr, LGTM!

@liurenjie1024 liurenjie1024 merged commit 53ceb2b into apache:main Apr 22, 2025
17 checks passed
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

Successfully merging this pull request may close these issues.

2 participants