-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[C++] DataType::ToString should optionally show metadata #39864
Comments
Hi! I'm interested in this issue and want to try implementing it! |
I have 2 questions to confirm.
|
Yes!
I suppose so, yes. In any case, we want the API to be consistent, this makes life easier for users. |
…39888) ### Rationale for this change Support showing metadata of nested DataType which have child fields. ### What changes are included in this PR? Add an optional argument "show_metadata" to the ToString() of DataType and other DataType derived class. And we also add it to TypeHolder::ToString(). ### Are these changes tested? Yes, I add tests for changes. ### Are there any user-facing changes? No. Closes: #39864 * Closes: #39864 Lead-authored-by: xiansen.chen <[email protected]> Co-authored-by: Antoine Pitrou <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
…data (apache#39888) ### Rationale for this change Support showing metadata of nested DataType which have child fields. ### What changes are included in this PR? Add an optional argument "show_metadata" to the ToString() of DataType and other DataType derived class. And we also add it to TypeHolder::ToString(). ### Are these changes tested? Yes, I add tests for changes. ### Are there any user-facing changes? No. Closes: apache#39864 * Closes: apache#39864 Lead-authored-by: xiansen.chen <[email protected]> Co-authored-by: Antoine Pitrou <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
…data (apache#39888) ### Rationale for this change Support showing metadata of nested DataType which have child fields. ### What changes are included in this PR? Add an optional argument "show_metadata" to the ToString() of DataType and other DataType derived class. And we also add it to TypeHolder::ToString(). ### Are these changes tested? Yes, I add tests for changes. ### Are there any user-facing changes? No. Closes: apache#39864 * Closes: apache#39864 Lead-authored-by: xiansen.chen <[email protected]> Co-authored-by: Antoine Pitrou <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
### Rationale for this change We can't throw warnings on cran. ### What changes are included in this PR? Update function to match changes in libarrow added in GH-39864 ### Are these changes tested? CI ### Are there any user-facing changes? No * GitHub Issue: #41398 Authored-by: Jacob Wujciak-Jens <[email protected]> Signed-off-by: Jacob Wujciak-Jens <[email protected]>
…he#41409) ### Rationale for this change We can't throw warnings on cran. ### What changes are included in this PR? Update function to match changes in libarrow added in apacheGH-39864 ### Are these changes tested? CI ### Are there any user-facing changes? No * GitHub Issue: apache#41398 Authored-by: Jacob Wujciak-Jens <[email protected]> Signed-off-by: Jacob Wujciak-Jens <[email protected]>
### Rationale for this change We can't throw warnings on cran. ### What changes are included in this PR? Update function to match changes in libarrow added in GH-39864 ### Are these changes tested? CI ### Are there any user-facing changes? No * GitHub Issue: #41398 Authored-by: Jacob Wujciak-Jens <[email protected]> Signed-off-by: Jacob Wujciak-Jens <[email protected]>
…he#41409) ### Rationale for this change We can't throw warnings on cran. ### What changes are included in this PR? Update function to match changes in libarrow added in apacheGH-39864 ### Are these changes tested? CI ### Are there any user-facing changes? No * GitHub Issue: apache#41398 Authored-by: Jacob Wujciak-Jens <[email protected]> Signed-off-by: Jacob Wujciak-Jens <[email protected]>
Describe the enhancement requested
A DataType doesn't directly carry metadata, but if it is a nested DataType, some of its child fields might carry metadata.
Therefore, similar to Schema::ToString, DataType::ToString should take an optional
show_metadata
argument.Component(s)
C++
The text was updated successfully, but these errors were encountered: