You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…JSON (#44532)
### Rationale for this change
The printJson is not a valid json now. This is ok for human-read, but when I want to analysis it with json tools or ai, it will prevent from using it.
### What changes are included in this PR?
Change the output to be a valid json.
Style:
previously, the `\"` trailing would be added in start of object, but this patch put it to end of object
Before:
```
stream << "\", \"number\":\"" << number;
stream << "\"...";
```
After:
```
stream << ", \"number\":\"" << number << "\"";
```
### Are these changes tested?
Yes
### Are there any user-facing changes?
Minor format change
* GitHub Issue: #44101
Authored-by: mwish <[email protected]>
Signed-off-by: mwish <[email protected]>
Describe the enhancement requested
Currently we're using debug tools to analysis, I found that the printJson might not print a valid json message
This is ok for human-reading, but making analysis harder
Component(s)
C++, Parquet
The text was updated successfully, but these errors were encountered: