Repository navigation
refactor(config): remove the unread UDF Python log settings - #8742
Merged
aglinxinyuan merged 1 commit intoOct 24, 2026
Merged
Conversation
Nothing has read python.log.fileHandler.* or streamHandler.format since apache#1958 deleted the Python UDF V1 launcher; the worker only receives the stream-handler level. Drop the four conf keys with their env overrides, the matching UdfConfig vals (never used since apache#3466 added them), and their UdfConfigSpec assertions.
Contributor
Automated Reviewer SuggestionsBased on the
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8742 +/- ##
============================================
- Coverage 92.59% 92.58% -0.01%
Complexity 4962 4962
============================================
Files 1242 1242
Lines 52883 52879 -4
Branches 6546 6546
============================================
- Hits 48965 48960 -5
- Misses 2290 2291 +1
Partials 1628 1628
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
|
| config | throughput | MB/s | latency | max Δ latest / 7d | |
|---|---|---|---|---|---|
| 🔴 | bs=10 sw=10 sl=64 | 358 | 0.218 | 27,031/33,606/33,606 us | 🔴 +13.4% / 🔴 +114.9% |
| 🟢 | bs=100 sw=10 sl=64 | 783 | 0.478 | 126,495/155,735/155,735 us | 🟢 -15.9% / 🔴 +44.3% |
| ⚪ | bs=1000 sw=10 sl=64 | 905 | 0.552 | 1,101,305/1,204,743/1,204,743 us | ⚪ within ±5% / 🔴 +16.3% |
Baseline details
Latest main acc6dd1 from same runner
| config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
|---|---|---|---|---|---|---|
| bs=10 sw=10 sl=64 | throughput | 358 tuples/sec | 372 tuples/sec | 807.63 tuples/sec | -3.8% | -55.7% |
| bs=10 sw=10 sl=64 | MB/s | 0.218 MB/s | 0.227 MB/s | 0.493 MB/s | -4.0% | -55.8% |
| bs=10 sw=10 sl=64 | p50 | 27,031 us | 23,840 us | 12,578 us | +13.4% | +114.9% |
| bs=10 sw=10 sl=64 | p95 | 33,606 us | 37,605 us | 16,088 us | -10.6% | +108.9% |
| bs=10 sw=10 sl=64 | p99 | 33,606 us | 37,605 us | 19,009 us | -10.6% | +76.8% |
| bs=100 sw=10 sl=64 | throughput | 783 tuples/sec | 783 tuples/sec | 1,039 tuples/sec | 0.0% | -24.6% |
| bs=100 sw=10 sl=64 | MB/s | 0.478 MB/s | 0.478 MB/s | 0.634 MB/s | 0.0% | -24.6% |
| bs=100 sw=10 sl=64 | p50 | 126,495 us | 125,246 us | 101,098 us | +1.0% | +25.1% |
| bs=100 sw=10 sl=64 | p95 | 155,735 us | 185,287 us | 107,890 us | -15.9% | +44.3% |
| bs=100 sw=10 sl=64 | p99 | 155,735 us | 185,287 us | 119,853 us | -15.9% | +29.9% |
| bs=1000 sw=10 sl=64 | throughput | 905 tuples/sec | 913 tuples/sec | 1,065 tuples/sec | -0.9% | -15.0% |
| bs=1000 sw=10 sl=64 | MB/s | 0.552 MB/s | 0.557 MB/s | 0.65 MB/s | -0.9% | -15.1% |
| bs=1000 sw=10 sl=64 | p50 | 1,101,305 us | 1,091,034 us | 992,940 us | +0.9% | +10.9% |
| bs=1000 sw=10 sl=64 | p95 | 1,204,743 us | 1,160,578 us | 1,035,756 us | +3.8% | +16.3% |
| bs=1000 sw=10 sl=64 | p99 | 1,204,743 us | 1,160,578 us | 1,062,329 us | +3.8% | +13.4% |
Raw CSV
config_idx,batch_size,schema_width,string_len,num_batches,total_ms,total_tuples,total_bytes,tuples_per_sec,mb_per_sec,lat_p50_us,lat_p95_us,lat_p99_us
0,10,10,64,20,558.73,200,128000,358,0.218,27030.93,33605.97,33605.97
1,100,10,64,20,2553.78,2000,1280000,783,0.478,126495.05,155735.08,155735.08
2,1000,10,64,20,22106.60,20000,12800000,905,0.552,1101304.97,1204743.44,1204743.44
aglinxinyuan
enabled auto-merge
October 8, 2026 07:40
bobbai00
approved these changes
Oct 21, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to no response for status checks
Oct 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this PR?
Removes the UDF Python log settings that nothing reads. −30 lines. There is no behaviour change.
udf.conf: thepython.log.fileHandlersection (dir,level,formatand theirUDF_PYTHON_LOG_FILEHANDLER_*overrides) andpython.log.streamHandler.format(withUDF_PYTHON_LOG_STREAMHANDLER_FORMAT).UdfConfig:pythonLogStreamHandlerFormat,pythonLogFileHandlerDir,pythonLogFileHandlerLevel,pythonLogFileHandlerFormat. The vals and the keys go together, because the vals' eagergetStringwould throw once a key is gone.UdfConfigSpec: the assertions for the removed settings.python.log.streamHandler.levelstays.PythonWorkflowWorkerforwards it asloggerLevel, and CI setsUDF_PYTHON_LOG_STREAMHANDLER_LEVEL.History
core/config": theUdfConfigvalsUdfConfigvals were never usedThe keys have been dead for over three years. The worker installs one stderr sink at the forwarded level and has never received a format or a file-handler setting since #1958.
Any related issues, documentation, discussions?
Closes #8741
How was this PR tested?
No new tests.
UdfConfigSpeckeeps its cases for the surviving settings.Locally, from the repo root with Java 17:
sbt "Config/Test/compile" "WorkflowExecutionService/Test/compile": success.sbt "Config/testOnly *UdfConfigSpec *PythonUtilsSpec": 4 tests, all pass.sbt "Config/scalafmtCheckAll" "Config/scalafixAll --check" "WorkflowExecutionService/scalafmtCheckAll" "WorkflowExecutionService/scalafixAll --check": clean.To re-check:
Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Opus 5.5)
🤖 Generated with Claude Code