Skip to content

Conversation

@dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Sep 12, 2025

What changes were proposed in this pull request?

This PR aims to use google::protobuf::TextFormat instead of DebugString for Protobuf v30+.

Why are the changes needed?

Otherwise, our C++ orc-metadata tool will have a regression to expose the debug marker string, goo.gle/debugstr.

Currently, branch-2.0 CI is broken on MacOS due to this.

+goo.gle/debugonly

How was this patch tested?

Pass the CIs.

Was this patch authored or co-authored using generative AI tooling?

No.

…tring` for `Protobuf` v30+

### What changes were proposed in this pull request?

This PR aims to use `google::protobuf::TextFormat` instead of `DebugString` for Protobuf v30+.

- https://github.com/protocolbuffers/protobuf/releases/tag/v30.0

    > Make DebugString print debug output, enable debug markers for debug output

### Why are the changes needed?

Otherwise, our C++ `orc-metadata` tool will have a regression to expose the debug marker string, `goo.gle/debugstr`.

Currently, `branch-2.1` CI is broken on `MacOS` due to this.
- https://github.com/apache/orc/tree/branch-2.1
  - https://github.com/apache/orc/actions/runs/17683046777/job/50261415209

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes apache#2387 from dongjoon-hyun/ORC-1974-2.1.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
@github-actions github-actions bot added the CPP label Sep 12, 2025
@dongjoon-hyun
Copy link
Member Author

All MacOS 14 CIs passed.

Since MacOS 15 CIs are failing due to a new Snappy issue, it's irrelevant.

Merged to branch-2.0.

dongjoon-hyun added a commit that referenced this pull request Sep 12, 2025
…tring` for `Protobuf` v30+

### What changes were proposed in this pull request?

This PR aims to use `google::protobuf::TextFormat` instead of `DebugString` for Protobuf v30+.

- https://github.com/protocolbuffers/protobuf/releases/tag/v30.0

    > Make DebugString print debug output, enable debug markers for debug output

### Why are the changes needed?

Otherwise, our C++ `orc-metadata` tool will have a regression to expose the debug marker string, `goo.gle/debugstr`.

Currently, `branch-2.0` CI is broken on `MacOS` due to this.
- https://github.com/apache/orc/actions/runs/17683726166/job/50263664096

> +goo.gle/debugonly

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #2390 from dongjoon-hyun/ORC-1974-2.0.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
@dongjoon-hyun dongjoon-hyun deleted the ORC-1974-2.0 branch September 12, 2025 19:56
@dongjoon-hyun dongjoon-hyun added this to the 2.0.7 milestone Sep 12, 2025
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.

1 participant