Skip to content

Fix compile errors on v0.51-exaforce#32

Closed
sundaresanr wants to merge 1 commit intov0.51-exaforcefrom
v0.51-exaforce-build-fix
Closed

Fix compile errors on v0.51-exaforce#32
sundaresanr wants to merge 1 commit intov0.51-exaforcefrom
v0.51-exaforce-build-fix

Conversation

@sundaresanr
Copy link
Copy Markdown

Summary

Unblocks the Publish workflow on v0.51-exaforce, which has been red on every push since Nov 2025.

Three mechanical fixes, all in lib/codecs:

  1. encoding/serializer.rs — add ParquetSerializer, ParquetSerializerConfig, ParquetSerializerOptions to the use super::format::{ ... } block. Resolves 7 E0412/E0433 errors (lines 124/255/326/350/624/627/628).
  2. encoding/serializer.rs:260SerializerConfig::GelfSerializerConfig::Gelf(..). The enum defines Gelf(GelfSerializerConfig) (tuple variant); the match arm in build_batched() was using unit-variant syntax. Resolves E0532.
  3. encoding/format/parquet.rs:302 — drop ref mut from BoolColumnWriter(ref mut writer). Rust 2024 match-ergonomics disallows explicit ref mut when default binding mode is already move. The sibling arms (Int64ColumnWriter(writer), etc.) already use the bare form.

Local verification: cargo check -p codecs — green.

- Add ParquetSerializer, ParquetSerializerConfig, ParquetSerializerOptions
  to the format:: import block in serializer.rs (7 E0412/E0433 errors).
- Fix SerializerConfig::Gelf match arm in build_batched() — the enum is
  Gelf(GelfSerializerConfig), not a unit variant (E0532).
- Drop `ref mut` from BoolColumnWriter match arm in parquet.rs — Rust
  2024 match ergonomics disallow it when binding mode is already `move`.

Verified with `cargo check -p codecs`.
@sundaresanr
Copy link
Copy Markdown
Author

Closing — the 3 fixes get codecs compiling but the real failures are 39 errors in the vector crate. Root cause: upstream v0.51 bumped to azure-core 0.25 (commit 09461c9), and the exaforce azure_blob queue source + src/azure/mod.rs helpers were written against azure-core 0.21. Proper migration is a day+ of Rust work.

Superseding with a new PR that drops the azure_blob queue source and GCP impersonation patches (both confirmed unused in production Vector configs) and keeps only the parquet codec.

@sundaresanr sundaresanr deleted the v0.51-exaforce-build-fix branch April 17, 2026 22:38
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.

1 participant