← Back to Pull requests

GH-55603: [C++][FlightRPC][ODBC] Fix `Advanced Properties` DSN table not saving known keys #55869

Open
unknown opened this pull request with 156 lines diff across 1 files
View on GitHub
unknown unknown commented on Nov 30, 2026 23:15 UTC
Author

Rationale for this change


GH-55603

What changes are included in this PR?

  • Configuration::LoadDsn reads StringColumnLength, UseWideChar and

  • ChunkBufferCapacity , and User_ID explicitly, before RemoveAllKnownKeys strips them.
  • [Windows] Add new FlightSqlConnection::DSN_DIALOG_KEYS to list the keys that have a dedicated

  • field in the DSN dialog.
  • [Windows] Configuration::GetCustomKeys excludes DSN_DIALOG_KEYS instead of ALL_KEYS,

  • so known keys without a dialog field appear in "Advanced properties" of DSN Window and are
    saved again.
  • [macOS] odbc_spi_impl_test now also links iODBC so the unit tests can call

  • ODBC installer symbols.

    Are these changes tested?

  • Yes, in CI and tested DSN Window GUI manually as well.
  • Are there any user-facing changes?

    Yes, users will see the DSN UI window fixed.

    Was AI used for this PR?

    In accordance to the AI generation guidelines, please disclose below whether and how AI was used in this PR.

    PR code and description written by:

  • Human

  • AI
  • Reviewed before submission by:

  • Human

  • AI

  • Not reviewed
  • GitHub Issue: Closes #55603
  • Diff: 156 lines (+117 / -39) across 1 files Reviewer: kou Review duration: 3402m
    All Vouch review confidence checks passed
    Residual risk 0.19 = Change Risk (0.33) × (1 − Review Confidence (0.43)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.33 · 156 lines diff across 1 files
    0.33
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    42%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.303
    Real PR Conversation Timeline
    1 comments
    "Review active on #55869"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 43.0% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 33.2% (LOW) · Higher = larger blast radius
    33.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 43.0% · Lower = rushed or shallow review
    43.0%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 19.0% · Safe to merge
    19.0%
    Repository