Skip to content

fix: Duplicate JSONToMap in JSONUtils and JSONUtil #4977

Open
Ma77Ball wants to merge 2 commits intoapache:mainfrom
Ma77Ball:fix/json_utils_duplicates
Open

fix: Duplicate JSONToMap in JSONUtils and JSONUtil #4977
Ma77Ball wants to merge 2 commits intoapache:mainfrom
Ma77Ball:fix/json_utils_duplicates

Conversation

@Ma77Ball
Copy link
Copy Markdown
Contributor

@Ma77Ball Ma77Ball commented May 7, 2026

What changes were proposed in this PR?

JSONToMap was duplicated byte-for-byte in JSONUtils.scala (workflow-core) and JSONUtil.scala (workflow-operator). Deleted the workflow-operator copy and updated JSONLScanSourceOpExec to import from JSONUtils.

Any related issues, documentation, discussions?

closes: #4813

How was this PR tested?

Existing JSONLScanSourceOpExec tests. No behavior change

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

Co-authored by Claude Opus 4.7 in compliance with ASF

@aglinxinyuan aglinxinyuan enabled auto-merge (squash) May 7, 2026 08:04
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 42.68%. Comparing base (9fc5b39) to head (4574778).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #4977   +/-   ##
=========================================
  Coverage     42.68%   42.68%           
  Complexity     2183     2183           
=========================================
  Files          1031     1031           
  Lines         38110    38110           
  Branches       4004     4004           
=========================================
  Hits          16269    16269           
  Misses        20824    20824           
  Partials       1017     1017           
Flag Coverage Δ *Carryforward flag
access-control-service 39.53% <ø> (ø)
agent-service 33.72% <ø> (ø) Carriedforward from 9fc5b39
amber 43.15% <ø> (ø) Carriedforward from 9fc5b39
computing-unit-managing-service 0.00% <ø> (ø)
config-service 0.00% <ø> (ø)
file-service 33.24% <ø> (ø)
frontend 33.00% <ø> (ø) Carriedforward from 9fc5b39
python 88.90% <ø> (ø) Carriedforward from 9fc5b39
workflow-compiling-service 47.72% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JSONUtil duplicates JSONUtils.JSONToMap byte-for-byte

4 participants