{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D40","name":"Network Egress Confinement","shortDescription":{"text":"Network Egress Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D40"},{"id":"D41","name":"Kernel \u0026 Syscall Confinement","shortDescription":{"text":"Kernel \u0026 Syscall Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D41"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF2","name":"Allocation hygiene","shortDescription":{"text":"Allocation hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF2"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"FastHiveDecimalImpl.fastSetFromBytes (cyclomatic 96): FastHiveDecimalImpl.fastSetFromBytes has cyclomatic complexity 96 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 18 of the 81 methods over the threshold \u2014 including the worst \u2014 and 272 of the 671 points over it (41%), 6.6\u00D7 the next-largest file (extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala at 41). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"8592e1b1926f1df25b35781ff908b53cbd12ccdd60557f90e2009d4227f59004"}},{"ruleId":"D1","level":"warning","message":{"text":"FastHiveDecimalImpl.fastSubtractDifferentScale (cyclomatic 58): FastHiveDecimalImpl.fastSubtractDifferentScale has cyclomatic complexity 58 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 18 of the 81 methods over the threshold \u2014 including the worst \u2014 and 272 of the 671 points over it (41%), 6.6\u00D7 the next-largest file (extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala at 41). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":6866}}}],"partialFingerprints":{"codehealthFindingId/v1":"321da425b804b85cb9e7b693bd9c0a42d785dfe778c19882826ee7e4dd31aa0b"}},{"ruleId":"D1","level":"warning","message":{"text":"LineageParser.extractColumnsLineage (cyclomatic 56): LineageParser.extractColumnsLineage has cyclomatic complexity 56 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac972cd58c91417c413ef02c032bef0b17ba3163b48e53e3d4ff92b495a24c2e"}},{"ruleId":"D1","level":"warning","message":{"text":"FastHiveDecimalImpl.fastBigIntegerBytesUnscaled (cyclomatic 53): FastHiveDecimalImpl.fastBigIntegerBytesUnscaled has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 18 of the 81 methods over the threshold \u2014 including the worst \u2014 and 272 of the 671 points over it (41%), 6.6\u00D7 the next-largest file (extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala at 41). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":2521}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ca0f20a1e9e8f9594848a6cf94d354429b724f00bc6cf30a0ff2698cb112c9"}},{"ruleId":"D1","level":"warning","message":{"text":"useChatStream.useChatStream.handleSseEvent (cyclomatic 42): useChatStream.useChatStream.handleSseEvent has cyclomatic complexity 42 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/composables/useChatStream.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1df6d835a90ca27a33ed3d3363e02448e3c05010f1f8e3a29400f18cd0ece7"}},{"ruleId":"D1","level":"warning","message":{"text":"FastHiveDecimalImpl.doFastRound (cyclomatic 40): FastHiveDecimalImpl.doFastRound has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 18 of the 81 methods over the threshold \u2014 including the worst \u2014 and 272 of the 671 points over it (41%), 6.6\u00D7 the next-largest file (extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala at 41). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":4353}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33014e77ae83ec49906f355029884a6b078949ecd11010f336840b2757a2cd9"}},{"ruleId":"D1","level":"warning","message":{"text":"Utils.extractURLComponents (cyclomatic 34): Utils.extractURLComponents has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/Utils.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d15d737e69a9b1b493fadcb961a3b1389a45ba88ffb4cb5d607c5898a2ee00"}},{"ruleId":"D1","level":"warning","message":{"text":"FastHiveDecimalImpl.doFastToBytes (cyclomatic 32): FastHiveDecimalImpl.doFastToBytes has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 18 of the 81 methods over the threshold \u2014 including the worst \u2014 and 272 of the 671 points over it (41%), 6.6\u00D7 the next-largest file (extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala at 41). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":8985}}}],"partialFingerprints":{"codehealthFindingId/v1":"8faf0043a9fff7793fbbf1b5d20316e14c782f489fdad6af078d76d9ed8cac33"}},{"ruleId":"D1","level":"warning","message":{"text":"KyuubiEnsureRequirements.ensureDistributionAndOrdering (cyclomatic 30): KyuubiEnsureRequirements.ensureDistributionAndOrdering has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4579986c69db510a943f74cc938d6b7ea76a84c92fc102b4757a9ac19fcd1533"}},{"ruleId":"D1","level":"warning","message":{"text":"KyuubiEnsureRequirements.ensureDistributionAndOrdering (cyclomatic 29): KyuubiEnsureRequirements.ensureDistributionAndOrdering has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"713857a9ce36cfb7b94e89f512e8ec570379949a465f992bc10da494272407a9"}},{"ruleId":"D1","level":"warning","message":{"text":"KyuubiEnsureRequirements.checkKeyGroupCompatible (cyclomatic 28): KyuubiEnsureRequirements.checkKeyGroupCompatible has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1db6a2d069c72d7bcbf7d961f97ec4bdafc3a6f5a48a891acbd56d38554abf2"}},{"ruleId":"D1","level":"warning","message":{"text":"Commands.executeInternal (cyclomatic 28): Commands.executeInternal has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d85a8f116c9c42305a8f5a36e13033ff586a3b9d273659c2fa599b5ae54594"}},{"ruleId":"D1","level":"warning","message":{"text":"FastHiveDecimalImpl.fastSetFromBigIntegerBytesAndScale (cyclomatic 27): FastHiveDecimalImpl.fastSetFromBigIntegerBytesAndScale has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 18 of the 81 methods over the threshold \u2014 including the worst \u2014 and 272 of the 671 points over it (41%), 6.6\u00D7 the next-largest file (extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala at 41). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d17b66be5092cad6f94b865f7eb9e25d29ba23096537f852d227c0b512c9a3e"}},{"ruleId":"D1","level":"warning","message":{"text":"FastHiveDecimalImpl.isRoundPortionHalfEven (cyclomatic 27): FastHiveDecimalImpl.isRoundPortionHalfEven has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 18 of the 81 methods over the threshold \u2014 including the worst \u2014 and 272 of the 671 points over it (41%), 6.6\u00D7 the next-largest file (extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala at 41). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":4763}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3c5f636fcc985d34a27e4bf4a522325171558ecdf0c20cfe57a17b4d4efe61"}},{"ruleId":"D1","level":"warning","message":{"text":"DataAgentResource.chat (cyclomatic 26): DataAgentResource.chat has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/DataAgentResource.scala"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c234648caac299fdac3cdf6548e89126f441072bb7718ff9f20e4231e891875b"}},{"ruleId":"D1","level":"warning","message":{"text":"request.request (cyclomatic 26): request.request has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/utils/request.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74a567e8cace0d3ab6060b641888401bbb6c1fe12fe0701d43fe9486f8592ad"}},{"ruleId":"D1","level":"warning","message":{"text":"TrinoContext.convertTRowSet (cyclomatic 25): TrinoContext.convertTRowSet has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/TrinoContext.scala"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4057d80f1c94c150a16d1a51a1e4237be1397d2acaddce9463b4403b429938"}},{"ruleId":"D1","level":"warning","message":{"text":"FastHiveDecimalImpl.fastCompareTo (cyclomatic 25): FastHiveDecimalImpl.fastCompareTo has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 18 of the 81 methods over the threshold \u2014 including the worst \u2014 and 272 of the 671 points over it (41%), 6.6\u00D7 the next-largest file (extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala at 41). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":3809}}}],"partialFingerprints":{"codehealthFindingId/v1":"782548a42deda5c6a097ce67924750305f122d9ca1bb5759f317ae2aa123f5b6"}},{"ruleId":"D1","level":"warning","message":{"text":"Connection.__init__ (cyclomatic 25): Connection.__init__ has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/hive.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf553b9f545821c44ed16e178cf844b711a452bf8af884deede5130a5b8b2ad"}},{"ruleId":"D1","level":"warning","message":{"text":"KyuubiEnsureRequirements.checkKeyGroupCompatible (cyclomatic 24): KyuubiEnsureRequirements.checkKeyGroupCompatible has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"295d2923dbe82569da4aae12cfb47f9a399d395ca6ce410187f0f3b54696e206"}},{"ruleId":"D1","level":"warning","message":{"text":"TrinoContext.apply (cyclomatic 24): TrinoContext.apply has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/TrinoContext.scala"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"3052f295960a8343506caf91bab84ee342954485e1c7fca255686af68ff06f5a"}},{"ruleId":"D1","level":"warning","message":{"text":"KyuubiConnection.\u003Cinit\u003E (cyclomatic 24): KyuubiConnection.\u003Cinit\u003E has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8095e537ccd3e92fb543216e14ed08158a3f718393ad83042399b3973681e1a8"}},{"ruleId":"D1","level":"warning","message":{"text":"merge_kyuubi_pr.main (cyclomatic 24): merge_kyuubi_pr.main has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/merge_kyuubi_pr.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf309a1bd8fd73eec4da71575be29d7400f74f90d1be527f1b72af7b0810d0b"}},{"ruleId":"D1","level":"warning","message":{"text":"MaxScanStrategy.checkScan (cyclomatic 23): MaxScanStrategy.checkScan has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d4bc96024566adbcd9bb19b6143ada44bc7bd988950736d6667d68637da9c3"}},{"ruleId":"D1","level":"warning","message":{"text":"MaxScanStrategy.checkScan (cyclomatic 23): MaxScanStrategy.checkScan has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e391325b0fdf371c1853e49426c29cb99496b486cbee0261784e59d489b1eb2"}},{"ruleId":"D1","level":"warning","message":{"text":"MaxScanStrategy.checkScan (cyclomatic 23): MaxScanStrategy.checkScan has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8577ebe8e613111cea72d10961f2753ce2456057154e91f88d0cc0967d3789"}},{"ruleId":"D1","level":"warning","message":{"text":"MaxScanStrategy.checkScan (cyclomatic 23): MaxScanStrategy.checkScan has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e882ee1e14c0f34a00ce677f62cd2afea05133de74535e574d2a3faa73c3abb"}},{"ruleId":"D1","level":"warning","message":{"text":"MaxScanStrategy.checkScan (cyclomatic 23): MaxScanStrategy.checkScan has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e31dd6e7643346649b0b2b32c0a0a0b6da7223f62514805861c9a9fb038193b"}},{"ruleId":"D1","level":"warning","message":{"text":"FastHiveDecimalImpl.fastSetFromDigitsOnlyBytesAndScale (cyclomatic 23): FastHiveDecimalImpl.fastSetFromDigitsOnlyBytesAndScale has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 18 of the 81 methods over the threshold \u2014 including the worst \u2014 and 272 of the 671 points over it (41%), 6.6\u00D7 the next-largest file (extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala at 41). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"371d1e0881af98f8b71d69c614f4981d645e76fb990ddb2277013d0c00172d38"}},{"ruleId":"D1","level":"warning","message":{"text":"ZooKeeperHiveClientHelper.applyConfs (cyclomatic 23): ZooKeeperHiveClientHelper.applyConfs has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/ZooKeeperHiveClientHelper.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"53218d80ba57aebfec42951c7d5b37dc53f85b20d5ce5afc6298b8b45c40a549"}},{"ruleId":"D1","level":"warning","message":{"text":"AccessType.apply (cyclomatic 22): AccessType.apply has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/ranger/AccessType.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0395697be0a50d3f85deae5540711afd327f0216e797863bf9fbfa1faf84b003"}},{"ruleId":"D1","level":"warning","message":{"text":"Utils.splitSqlStatement (cyclomatic 22): Utils.splitSqlStatement has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/Utils.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ee13e6c9326fe050bc30ac632795aa65cf067cde49e9c58e590adcadb06945"}},{"ruleId":"D1","level":"warning","message":{"text":"KyuubiCommands.executeInternal (cyclomatic 22): KyuubiCommands.executeInternal has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bfe6e11cfefbb75fa614c023ea3d4ab5001b9796da036ad6a1e3359f6f1797"}},{"ruleId":"D1","level":"warning","message":{"text":"Reflector.convert (cyclomatic 22): Reflector.convert has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Reflector.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e27ded152531bbe28a6b5ad675dfcdb65dd31f0fe65621b5251af2abc12003"}},{"ruleId":"D1","level":"warning","message":{"text":"ControlCliArguments.getCommand (cyclomatic 21): ControlCliArguments.getCommand has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/cli/ControlCliArguments.scala"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1163ecdcc2ca04fa199c58bac382ad7e4d2615c6bf345c4a23d01ea0f6812f34"}},{"ruleId":"D1","level":"warning","message":{"text":"EngineRef.create (cyclomatic 21): EngineRef.create has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/engine/EngineRef.scala"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc08207f7da92b02f441f7699220f28bffd5220c8ce852004993230968aeb8b4"}},{"ruleId":"D1","level":"warning","message":{"text":"BatchesResource.openBatchSessionInternal (cyclomatic 21): BatchesResource.openBatchSessionInternal has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/BatchesResource.scala"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"96da2b2cd0f6e3ba064ffad6f8c7be1f425142f398d895ab2733882e4b10493b"}},{"ruleId":"D1","level":"warning","message":{"text":"KyuubiParser.unescapeSQLString (cyclomatic 20): KyuubiParser.unescapeSQLString has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/sql/parser/KyuubiParserBase.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d20aef7ba0bf4c73ff17d4f75ed5e1a7f2283156f4a3f37fdc52c212fa1f3ab"}},{"ruleId":"D1","level":"warning","message":{"text":"FastHiveDecimalImpl.doMultiply (cyclomatic 20): FastHiveDecimalImpl.doMultiply has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 18 of the 81 methods over the threshold \u2014 including the worst \u2014 and 272 of the 671 points over it (41%), 6.6\u00D7 the next-largest file (extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala at 41). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":7787}}}],"partialFingerprints":{"codehealthFindingId/v1":"d379a6930b16a46458453d364e01e94eec90af6908fdc81ef0d93d17a356498b"}},{"ruleId":"D1","level":"warning","message":{"text":"FastHiveDecimalImpl.fastTrailingDecimalZeroCount (cyclomatic 20): FastHiveDecimalImpl.fastTrailingDecimalZeroCount has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 18 of the 81 methods over the threshold \u2014 including the worst \u2014 and 272 of the 671 points over it (41%), 6.6\u00D7 the next-largest file (extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala at 41). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":6392}}}],"partialFingerprints":{"codehealthFindingId/v1":"606fd2cced1df6280b528fac9fc6d8cf95f6f9a7afa67a6bb32fc414f81ee8ee"}},{"ruleId":"D1","level":"warning","message":{"text":"InferRebalanceAndSortOrders.infer (cyclomatic 19): InferRebalanceAndSortOrders.infer has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"17805ecab72ff59cfde9dca2f65a042bd98b8b0848485c100ab30c3ad8d33d07"}},{"ruleId":"D1","level":"warning","message":{"text":"KyuubiEnsureRequirements.ensureDistributionAndOrdering (cyclomatic 19): KyuubiEnsureRequirements.ensureDistributionAndOrdering has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e4ae3942706e71d5434f80c95f55cc849df57a0da06f16b14b4cfc28fedd80"}},{"ruleId":"D1","level":"warning","message":{"text":"InferRebalanceAndSortOrders.infer (cyclomatic 19): InferRebalanceAndSortOrders.infer has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdea0432d286663c9b236a1abd749a44c98193928977395ff63c8e07766afb8"}},{"ruleId":"D1","level":"warning","message":{"text":"KyuubiEnsureRequirements.ensureDistributionAndOrdering (cyclomatic 19): KyuubiEnsureRequirements.ensureDistributionAndOrdering has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff4e9f22ca999935963ee99a4aa87b66bd8063bd23816c00626aa45477d8143"}},{"ruleId":"D1","level":"warning","message":{"text":"InferRebalanceAndSortOrders.infer (cyclomatic 19): InferRebalanceAndSortOrders.infer has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d93fafdf2f5eed6c034a307b032c0f67f3de677b462d7aeabcbdb55995962a0"}},{"ruleId":"D1","level":"warning","message":{"text":"KyuubiEnsureRequirements.ensureDistributionAndOrdering (cyclomatic 19): KyuubiEnsureRequirements.ensureDistributionAndOrdering has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c7fb0c8a85e0578887df7199952d5c2febeb324d19e57ba10baa2aa3ac9b08"}},{"ruleId":"D1","level":"warning","message":{"text":"InferRebalanceAndSortOrders.infer (cyclomatic 19): InferRebalanceAndSortOrders.infer has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a8c1c8bf1c2217d860d5a439b157dbeae803f6d30bbb1f1f7b8f345dd27ace"}},{"ruleId":"D1","level":"warning","message":{"text":"InferRebalanceAndSortOrders.infer (cyclomatic 19): InferRebalanceAndSortOrders.infer has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b32db97e3e2850463fc1f671f6ebcf33ff2cdd0858a6177e2621edbff11e220"}},{"ruleId":"D1","level":"warning","message":{"text":"PrivilegesBuilder.buildCommand (cyclomatic 19): PrivilegesBuilder.buildCommand has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/PrivilegesBuilder.scala"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"507d7376c68a8c89f65bad339237da8cee79b22d6359d06abd6c94851ed9a861"}},{"ruleId":"D1","level":"warning","message":{"text":"FastHiveDecimalImpl.fastSerializationUtilsRead (cyclomatic 19): FastHiveDecimalImpl.fastSerializationUtilsRead has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 18 of the 81 methods over the threshold \u2014 including the worst \u2014 and 272 of the 671 points over it (41%), 6.6\u00D7 the next-largest file (extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala at 41). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":1863}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff84d5b88292c3345ff2923b594fe870d2288708c0c972cd6cfae926d855b57b"}},{"ruleId":"D1","level":"warning","message":{"text":"KyuubiConnection.getHttpClient (cyclomatic 19): KyuubiConnection.getHttpClient has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"90888a3d38dd1d8b8e3deb129e4230454a5c97c4bc1b9cea82bb13c2ae7a545d"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandLineUtils.parseOptionString (cyclomatic 18): CommandLineUtils.parseOptionString has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-util-scala/src/main/scala/org/apache/kyuubi/util/command/CommandLineUtils.scala"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a6fb6ad0f0ce2ce663ade7f625e3b86149c584d12d27db9d1d02221a1454ac"}},{"ruleId":"D1","level":"warning","message":{"text":"FastHiveDecimalImpl.fastScaleByPowerOfTen (cyclomatic 18): FastHiveDecimalImpl.fastScaleByPowerOfTen has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 18 of the 81 methods over the threshold \u2014 including the worst \u2014 and 272 of the 671 points over it (41%), 6.6\u00D7 the next-largest file (extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala at 41). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":4194}}}],"partialFingerprints":{"codehealthFindingId/v1":"465e3111d38346cc53e00757fb0ca69ee06942cd7d872897f0534a833729d5f3"}},{"ruleId":"D1","level":"warning","message":{"text":"BeeLine.connectUsingArgs (cyclomatic 18): BeeLine.connectUsingArgs has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4a5392bcb4f5b96c69f0e45ed75aba7b4c94545afacd6220c35b3b235fcad6"}},{"ruleId":"D1","level":"warning","message":{"text":"KyuubiCommands.connect (cyclomatic 18): KyuubiCommands.connect has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07ce44eafa315bf8a98dc2393a654b10e51c531a1da700da3c5592178532902"}},{"ruleId":"D1","level":"warning","message":{"text":"Cursor.__init__ (cyclomatic 18): Cursor.__init__ has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/presto.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0deeb09d93b898ac9def925994b6dd1de4396d00da52f0e49c81deab81596ec2"}},{"ruleId":"D1","level":"warning","message":{"text":"KyuubiSessionImpl.openEngineSession (cyclomatic 17): KyuubiSessionImpl.openEngineSession has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/session/KyuubiSessionImpl.scala"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"521c6723ae7a83006821bb39f687144fad6538400e3cdd21260f4261540f9514"}},{"ruleId":"D1","level":"warning","message":{"text":"ArrowColumnVector.initAccessor (cyclomatic 17): ArrowColumnVector.initAccessor has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/arrow/ArrowColumnVector.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e632cd8a9d00e33971a70598d9c59f3750648c3e80d4f38390efd78458d904f2"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpRequestInterceptorBase.process (cyclomatic 17): HttpRequestInterceptorBase.process has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/auth/HttpRequestInterceptorBase.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6464b93ce04b7604c15a0a6ec6e78c1f61fb97aca97e4c392a916e4b6acb73cd"}},{"ruleId":"D1","level":"warning","message":{"text":"FastHiveDecimalImpl.fastIsValid (cyclomatic 17): FastHiveDecimalImpl.fastIsValid has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 18 of the 81 methods over the threshold \u2014 including the worst \u2014 and 272 of the 671 points over it (41%), 6.6\u00D7 the next-largest file (extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala at 41). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":9217}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f744659a5d0b68b759a5ad9a4c4da6f4c8f67af785af4ac067a55c0c0d4536"}},{"ruleId":"D1","level":"warning","message":{"text":"FastHiveDecimalImpl.fastLongWordPrecision (cyclomatic 17): FastHiveDecimalImpl.fastLongWordPrecision has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 18 of the 81 methods over the threshold \u2014 including the worst \u2014 and 272 of the 671 points over it (41%), 6.6\u00D7 the next-largest file (extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala at 41). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":6153}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa58785813bae5559f18b60cabe5bc9f0c40a1150526ce40b3f77cb4423f0ea"}},{"ruleId":"D1","level":"warning","message":{"text":"FastHiveDecimalImpl.fastScaleUp (cyclomatic 17): FastHiveDecimalImpl.fastScaleUp has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 18 of the 81 methods over the threshold \u2014 including the worst \u2014 and 272 of the 671 points over it (41%), 6.6\u00D7 the next-largest file (extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala at 41). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":5994}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04cd7d677df8db965a82add79d51eb8f297a687bd6912c6cff8c21991572a01"}},{"ruleId":"D1","level":"warning","message":{"text":"FastHiveDecimalImpl.fastSerializationUtilsWrite (cyclomatic 17): FastHiveDecimalImpl.fastSerializationUtilsWrite has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 18 of the 81 methods over the threshold \u2014 including the worst \u2014 and 272 of the 671 points over it (41%), 6.6\u00D7 the next-largest file (extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala at 41). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":2016}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e94b85dc289c7435fda9a66e7f325f16bb647bb4d082a009f4ac3e7e791055b"}},{"ruleId":"D1","level":"warning","message":{"text":"KyuubiConnection.waitLaunchEngineToComplete (cyclomatic 17): KyuubiConnection.waitLaunchEngineToComplete has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"1108ca0a376320bc77ba5adc54ce295e54082ff7fed6987277e2dc3ac48dbb57"}},{"ruleId":"D1","level":"warning","message":{"text":"KyuubiStatement.waitForOperationToComplete (cyclomatic 17): KyuubiStatement.waitForOperationToComplete has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiStatement.java"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0ad9ea7946827d981a32eabf1359f538650d36c65107fcadd1d26073e04aee"}},{"ruleId":"D1","level":"warning","message":{"text":"HiveStringUtils.removeComments (cyclomatic 17): HiveStringUtils.removeComments has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/common/util/HiveStringUtils.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"264e46cc781f678e3f306b92ca39161acf92c7ea920c6f4f2d5c8ce739b01e2b"}},{"ruleId":"D1","level":"warning","message":{"text":"KyuubiDatabaseConnection.connect (cyclomatic 17): KyuubiDatabaseConnection.connect has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiDatabaseConnection.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e246d72fe86fa9ae0b693cce23454200ab863394271939fa9cec46d793ceae"}},{"ruleId":"D1","level":"warning","message":{"text":"useChatStream.useChatStream.handleApproval (cyclomatic 17): useChatStream.useChatStream.handleApproval has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/composables/useChatStream.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea29de950cafa965ad723791915bf993c27660e7896bfbcd94ddd6ad2ec033f"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicShufflePartitions.apply (cyclomatic 16): DynamicShufflePartitions.apply has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7ee93c676d9faa3efdd3d029665016049fba366aac70911fe0812fc1ebaddb"}},{"ruleId":"D1","level":"warning","message":{"text":"KyuubiEnsureRequirements.checkKeyGroupCompatible (cyclomatic 16): KyuubiEnsureRequirements.checkKeyGroupCompatible has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4495a0140e1292810f4df8480c96f2083b4da9c53120a99a7f4edab765a1cfb"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicShufflePartitions.apply (cyclomatic 16): DynamicShufflePartitions.apply has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3f614ae57a3251078bf4fd7d2cadaf2367df6e030ef9322c2df25a126c97e0"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicShufflePartitions.apply (cyclomatic 16): DynamicShufflePartitions.apply has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c729024d54ad46642f0e9e492930967174df2b7c8bd004218b9f7bbcca917974"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicShufflePartitions.apply (cyclomatic 16): DynamicShufflePartitions.apply has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e523a4c51a2aa2f883d34db85ff705734613e62075319565c1eaed81ced85d6c"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicShufflePartitions.apply (cyclomatic 16): DynamicShufflePartitions.apply has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77bf6d5ee07d65d4095010a3004f264b4cade7c83c48b3b00bd02cc2a908cd1"}},{"ruleId":"D1","level":"warning","message":{"text":"BatchJobSubmission.submitAndMonitorBatchJob (cyclomatic 16): BatchJobSubmission.submitAndMonitorBatchJob has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/operation/BatchJobSubmission.scala"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"698fd33f159fddeea51404321b21a1649a6b0cb7169b83f96991c8c38a49081e"}},{"ruleId":"D1","level":"warning","message":{"text":"DataAgentResource.streamResults (cyclomatic 16): DataAgentResource.streamResults has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/DataAgentResource.scala"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee36168eb0aebb123dc8865ad0a753bd61c7ba47d0dcabbea806603ec0892255"}},{"ruleId":"D1","level":"warning","message":{"text":"FastHiveDecimalImpl.fastSetFromBigInteger (cyclomatic 16): FastHiveDecimalImpl.fastSetFromBigInteger has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 18 of the 81 methods over the threshold \u2014 including the worst \u2014 and 272 of the 671 points over it (41%), 6.6\u00D7 the next-largest file (extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala at 41). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2cb070e05601ae938514fd9cb4b9ac5a830d01eb22eea7c1fc840dd503c028"}},{"ruleId":"D1","level":"warning","message":{"text":"KyuubiConnection.openSession (cyclomatic 16): KyuubiConnection.openSession has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd38b6afd34521037007031a81f55dae99a07b80e2658ebcff47506a2b3bdfce"}},{"ruleId":"D1","level":"warning","message":{"text":"BeeLine.getDefaultConnectionUrl (cyclomatic 16): BeeLine.getDefaultConnectionUrl has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d9ce8c41cf59830108833e7514e05aff357422e8419895a3679f6d6894fa2e"}},{"ruleId":"D1","level":"warning","message":{"text":"BeeLine.handleSQLException (cyclomatic 16): BeeLine.handleSQLException has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":1900}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca374b41093cef4b9952e5dac350fff7036c0d2ada6cc687b7df3f0a0345b0a5"}},{"ruleId":"D1","level":"warning","message":{"text":"KyuubiBeeLine.initArgs (cyclomatic 16): KyuubiBeeLine.initArgs has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiBeeLine.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89a25bf6a23cd6003e3277b808cd24196ec34291372394bffc3cd238a5448fa"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastSubtractDifferentScale (cognitive 197): FastHiveDecimalImpl.fastSubtractDifferentScale has cognitive complexity 197 (threshold 15). Drivers by points: if/else 99 (197 pts) (nesting depth added 98). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":6866}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef794fac67b983c739c8e0ade0f35b9612d94c2fdc959cac359b6a7bcb91aa50"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastBigIntegerBytesUnscaled (cognitive 169): FastHiveDecimalImpl.fastBigIntegerBytesUnscaled has cognitive complexity 169 (threshold 15). Drivers by points: if/else 45 (131 pts), loops 12 (36 pts), boolean chains 2 (nesting depth added 110). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":2521}}}],"partialFingerprints":{"codehealthFindingId/v1":"532682ecb3da19aa62a320e4c507d0b2d9b2e12961a90a5655c87a7e27f74357"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastSetFromBytes (cognitive 165): FastHiveDecimalImpl.fastSetFromBytes has cognitive complexity 165 (threshold 15). Drivers by points: if/else 69 (120 pts), boolean chains 20, loops 8 (18 pts), ternaries 3 (7 pts) (nesting depth added 65). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd913327de0840690aa68ed361c9f5311ba00a511c8fdc9cead912ababaa36a9"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.doFastRound (cognitive 82): FastHiveDecimalImpl.doFastRound has cognitive complexity 82 (threshold 15). Drivers by points: if/else 31 (78 pts), match/switch 2 (4 pts) (nesting depth added 49). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":4353}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac802896a4eec03af75467184112ad11d716fb868e1c50c1d6b4bc01a4def925"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.isRoundPortionHalfEven (cognitive 75): FastHiveDecimalImpl.isRoundPortionHalfEven has cognitive complexity 75 (threshold 15). Drivers by points: if/else 38 (71 pts), boolean chains 4 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":4763}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a96e664bf380624fd45297ba578f0fdf7cc182cf38181b5176239360afd3e01"}},{"ruleId":"D2","level":"warning","message":{"text":"Utils.extractURLComponents (cognitive 66): Utils.extractURLComponents has cognitive complexity 66 (threshold 15). Drivers by points: if/else 31 (56 pts), loops 4 (8 pts), boolean chains 2 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/Utils.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d7c1c32b543c21866246c58a3dbe6dd590295238faf70c119746252658b591"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiEnsureRequirements.ensureDistributionAndOrdering (cognitive 63): KyuubiEnsureRequirements.ensureDistributionAndOrdering has cognitive complexity 63 (threshold 15). Drivers by points: if/else 23 (33 pts), match/switch 7 (21 pts), boolean chains 9 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"685a0b25cb62c5ac08883c337525417a2be68a1d5a9e2f394913539b5b1b9f72"}},{"ruleId":"D2","level":"warning","message":{"text":"MaxScanStrategy.checkScan (cognitive 61): MaxScanStrategy.checkScan has cognitive complexity 61 (threshold 15). Drivers by points: if/else 23 (57 pts), match/switch 2 (4 pts) (nesting depth added 36). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"27805bef79f8708a1b5f27cd130099e0d7df030f41c2792c58bf64c7a52a280e"}},{"ruleId":"D2","level":"warning","message":{"text":"MaxScanStrategy.checkScan (cognitive 61): MaxScanStrategy.checkScan has cognitive complexity 61 (threshold 15). Drivers by points: if/else 23 (57 pts), match/switch 2 (4 pts) (nesting depth added 36). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce708fee563c6bf812b1bb9a36c9b83ef4fdd9930b7b96bfe1cc29f89a3a67d"}},{"ruleId":"D2","level":"warning","message":{"text":"MaxScanStrategy.checkScan (cognitive 61): MaxScanStrategy.checkScan has cognitive complexity 61 (threshold 15). Drivers by points: if/else 23 (57 pts), match/switch 2 (4 pts) (nesting depth added 36). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d370f582544539947b543f1d3fb5f6a76e4d3fe5b7a8ff05bf140dd556edd56"}},{"ruleId":"D2","level":"warning","message":{"text":"MaxScanStrategy.checkScan (cognitive 61): MaxScanStrategy.checkScan has cognitive complexity 61 (threshold 15). Drivers by points: if/else 23 (57 pts), match/switch 2 (4 pts) (nesting depth added 36). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a64c6ecb5f2eb6bbd27cd2f639c613db8c3859ca6752ad6b26ca6e70ac6cf15"}},{"ruleId":"D2","level":"warning","message":{"text":"MaxScanStrategy.checkScan (cognitive 61): MaxScanStrategy.checkScan has cognitive complexity 61 (threshold 15). Drivers by points: if/else 23 (57 pts), match/switch 2 (4 pts) (nesting depth added 36). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2dfaa1f79f8fea73eedd05982b5cfda9a21561960eb93fca6a486a7af3bd8c"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.doFastToBytes (cognitive 61): FastHiveDecimalImpl.doFastToBytes has cognitive complexity 61 (threshold 15). Drivers by points: if/else 20 (41 pts), loops 7 (16 pts), boolean chains 3, ternaries 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":8985}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc124e0606b23b9741c461404bed2e1f09ba74ede46e5f998655ddab9c12d4cc"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiEnsureRequirements.checkKeyGroupCompatible (cognitive 59): KyuubiEnsureRequirements.checkKeyGroupCompatible has cognitive complexity 59 (threshold 15). Drivers by points: if/else 19 (40 pts), boolean chains 13, match/switch 1 (6 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe2cfd1ab459ea60044519392292623be423487232a61ec09dd9beb6decd323"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiEnsureRequirements.ensureDistributionAndOrdering (cognitive 56): KyuubiEnsureRequirements.ensureDistributionAndOrdering has cognitive complexity 56 (threshold 15). Drivers by points: if/else 20 (29 pts), match/switch 7 (19 pts), boolean chains 8 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7acfef366a9dcd4eb7c2bb2bdd4fe709bb8dbd4f438a0a5a8ddb18135a71f56"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiEnsureRequirements.checkKeyGroupCompatible (cognitive 55): KyuubiEnsureRequirements.checkKeyGroupCompatible has cognitive complexity 55 (threshold 15). Drivers by points: if/else 18 (39 pts), boolean chains 10, match/switch 1 (6 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe7a0a598a4891352059b753b0a1db9f1348f892957c8154a24da9bf214ba57"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastScaleByPowerOfTen (cognitive 52): FastHiveDecimalImpl.fastScaleByPowerOfTen has cognitive complexity 52 (threshold 15). Drivers by points: if/else 24 (52 pts) (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":4194}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50574a57ee8ce0f2681435dfe54fa0de056a51989eb25d4f48005b2130064ab"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastCompareTo (cognitive 50): FastHiveDecimalImpl.fastCompareTo has cognitive complexity 50 (threshold 15). Drivers by points: if/else 22 (39 pts), ternaries 3 (8 pts), boolean chains 3 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":3809}}}],"partialFingerprints":{"codehealthFindingId/v1":"039c1fefc4b00336544f2c3ac2866df6e72729735b56aa3649b6ae7d5e196f73"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiConnection.\u003Cinit\u003E (cognitive 49): KyuubiConnection.\u003Cinit\u003E has cognitive complexity 49 (threshold 15). Drivers by points: if/else 18 (33 pts), error handling 4 (7 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"660f56314077cde633d81644644d0ac3d7ed508bca9e00111c1a5bc0565a62b7"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastSetFromBigIntegerBytesAndScale (cognitive 48): FastHiveDecimalImpl.fastSetFromBigIntegerBytesAndScale has cognitive complexity 48 (threshold 15). Drivers by points: if/else 20 (32 pts), loops 5 (10 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f1198f47573147c8e10a3e7903d18a3e1a67e429f35c895363926f9a11fd43"}},{"ruleId":"D2","level":"warning","message":{"text":"useChatStream.useChatStream.handleSseEvent (cognitive 48): useChatStream.useChatStream.handleSseEvent has cognitive complexity 48 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 17, loops 2 (4 pts), error handling 1, match/switch 1 (nesting depth added 13). Of this number, 47 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/composables/useChatStream.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1325c0bb8628896e11c67eec327992617d0d6c187dd04310f602b6fe0e63b17"}},{"ruleId":"D2","level":"warning","message":{"text":"ZooKeeperHiveClientHelper.applyConfs (cognitive 46): ZooKeeperHiveClientHelper.applyConfs has cognitive complexity 46 (threshold 15). Drivers by points: if/else 12 (36 pts), boolean chains 9, loops 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/ZooKeeperHiveClientHelper.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6221ba050daac0dba41382df17f0ed48f4f62787f4d01cda2dfb10cfe062f11"}},{"ruleId":"D2","level":"warning","message":{"text":"LineageParser.extractColumnsLineage (cognitive 45): LineageParser.extractColumnsLineage has cognitive complexity 45 (threshold 15). Drivers by points: match/switch 11 (22 pts), if/else 12 (15 pts), boolean chains 8 (nesting depth added 14). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b9c7b75eedd4d735bf57f42e5445318b50dae9b71943535a63af954e1185b4"}},{"ruleId":"D2","level":"warning","message":{"text":"TrinoContext.convertTRowSet (cognitive 43): TrinoContext.convertTRowSet has cognitive complexity 43 (threshold 15). Drivers by points: if/else 18 (26 pts), match/switch 9 (17 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/TrinoContext.scala"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"087419b2e6303041029e365c073884e7870553dad2b89fc6194f3205d655b107"}},{"ruleId":"D2","level":"warning","message":{"text":"DataAgentResource.streamResults (cognitive 42): DataAgentResource.streamResults has cognitive complexity 42 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 2 (7 pts), error handling 2 (6 pts), match/switch 1 (5 pts), boolean chains 1 (nesting depth added 27). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/DataAgentResource.scala"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af337e0c094e611e62e12a31afc115fa0d03ffe7fc6dfb0d74f126a03a20907"}},{"ruleId":"D2","level":"warning","message":{"text":"Commands.executeInternal (cognitive 42): Commands.executeInternal has cognitive complexity 42 (threshold 15). Drivers by points: if/else 24 (34 pts), boolean chains 4, loops 1 (2 pts), error handling 1, ternaries 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a38787b36424b5c8099820685ecdf99ffa6943453eb493fa5a416b61be4ef6f"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiEnsureRequirements.checkKeyGroupCompatible (cognitive 40): KyuubiEnsureRequirements.checkKeyGroupCompatible has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (36 pts), boolean chains 4 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3fd702085cfac7218df7cd91b9bd30a98543132a2696a512952098e381efcb"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandLineUtils.parseOptionString (cognitive 40): CommandLineUtils.parseOptionString has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (31 pts), match/switch 2 (6 pts), boolean chains 2, loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-util-scala/src/main/scala/org/apache/kyuubi/util/command/CommandLineUtils.scala"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"08dc3a97d182630a0e4a2d7d21ec86e2f22fdabc9b992783615ebb4ecbc21fa6"}},{"ruleId":"D2","level":"warning","message":{"text":"Connection.__init__ (cognitive 39): Connection.__init__ has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (31 pts), boolean chains 7, error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/hive.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a351dce6e2e490eb24ad0c4f1ae1f8dffad923610f9ee59ba30a75fc03a78859"}},{"ruleId":"D2","level":"warning","message":{"text":"merge_kyuubi_pr.main (cognitive 37): merge_kyuubi_pr.main has cognitive complexity 37 (threshold 15). Drivers by points: if/else 17 (27 pts), loops 4 (6 pts), boolean chains 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/merge_kyuubi_pr.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c527a66e2803b1aff5f99b35f64c65d01ffb672a71224f65ff316402e73712"}},{"ruleId":"D2","level":"warning","message":{"text":"PrivilegesBuilder.buildCommand (cognitive 36): PrivilegesBuilder.buildCommand has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (25 pts), error handling 5 (9 pts), match/switch 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/PrivilegesBuilder.scala"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa528445c746353d93dee80b03d065d862b6912f71a8907879572d4815797768"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastLongWordPrecision (cognitive 36): FastHiveDecimalImpl.fastLongWordPrecision has cognitive complexity 36 (threshold 15). Drivers by points: if/else 24 (36 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":6153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09280ee1d5cc7ee991c3533d8d220326beab9105297f928f5a25d37a7cb7d4f"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiEnsureRequirements.ensureDistributionAndOrdering (cognitive 35): KyuubiEnsureRequirements.ensureDistributionAndOrdering has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (20 pts), match/switch 4 (8 pts), boolean chains 7 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb967e07c2c6846c054ed9c3cdc9ae6e17f714d5f80a8ebfd7f87fd4b0bb5d4"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiEnsureRequirements.ensureDistributionAndOrdering (cognitive 35): KyuubiEnsureRequirements.ensureDistributionAndOrdering has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (20 pts), match/switch 4 (8 pts), boolean chains 7 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c41ae9c6f58cad16561665aa0c4772f2fbf06c6d1783bb211f8beb672e124e"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiEnsureRequirements.ensureDistributionAndOrdering (cognitive 35): KyuubiEnsureRequirements.ensureDistributionAndOrdering has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (20 pts), match/switch 4 (8 pts), boolean chains 7 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c183494657f27bad169939bcaf818890b696813fcf567c72417619256604d87a"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastSetFromDigitsOnlyBytesAndScale (cognitive 34): FastHiveDecimalImpl.fastSetFromDigitsOnlyBytesAndScale has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18 (28 pts), boolean chains 4, loops 1, ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"440f9a34582bed8891050f30a8907b63388616cdaf03733bb75cfee32eb308d7"}},{"ruleId":"D2","level":"warning","message":{"text":"Utils.splitSqlStatement (cognitive 34): Utils.splitSqlStatement has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (26 pts), boolean chains 5, match/switch 1 (2 pts), loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/Utils.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b16dae237d1c08a917dbb492eff929d5554e8c5e8c68f7813b4aced711bae91"}},{"ruleId":"D2","level":"warning","message":{"text":"DataAgentResource.chat (cognitive 33): DataAgentResource.chat has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (16 pts), error handling 10 (13 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/DataAgentResource.scala"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5e2ad59d4c839fa6bfd26bb4da7cec1be9b297c4129d412e98dc5f4e2ebd8e"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiSessionImpl.openEngineSession (cognitive 31): KyuubiSessionImpl.openEngineSession has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 4 (9 pts), match/switch 2 (6 pts), boolean chains 4, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/session/KyuubiSessionImpl.scala"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a30d451d584fd30319f09419b96741374262f22a303fa9026aafdc5260fefe0"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiCommands.executeInternal (cognitive 31): KyuubiCommands.executeInternal has cognitive complexity 31 (threshold 15). Drivers by points: if/else 20 (26 pts), loops 1 (2 pts), boolean chains 1, error handling 1, ternaries 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d24d945b0c11c2b2b47f19af4dfde12be3d90fb38f4ca2c3cbce27bd4d5a6d8"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastIsValid (cognitive 30): FastHiveDecimalImpl.fastIsValid has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":9217}}}],"partialFingerprints":{"codehealthFindingId/v1":"9867b3b35ceb9cb41be2a5fc184bdb1e129b6ed39ba54e03511084a9ae0598b7"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastTrailingDecimalZeroCount (cognitive 30): FastHiveDecimalImpl.fastTrailingDecimalZeroCount has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":6392}}}],"partialFingerprints":{"codehealthFindingId/v1":"c662cc25ac4ed25f5d6f1c0a5290f32990718bcb454dd32de57e7295275ccb7c"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiCommands.handleMultiLineCmd (cognitive 30): KyuubiCommands.handleMultiLineCmd has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (18 pts), ternaries 2 (6 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"661a390c6b8847b6a62ed8f72c3eaa3e54bcbc8e756fdf3c77f828aadd5f06f8"}},{"ruleId":"D2","level":"warning","message":{"text":"TableOutputFormat.print (cognitive 30): TableOutputFormat.print has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 3 (8 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/TableOutputFormat.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c03ea6b031ef5efc62df41c39fc43649ed5ef87fe554c602cf840bf3dbb2e15"}},{"ruleId":"D2","level":"warning","message":{"text":"TUGIAssumingProcessor.process (cognitive 29): TUGIAssumingProcessor.process has cognitive complexity 29 (threshold 15). Drivers by points: error handling 5 (16 pts), if/else 5 (8 pts), match/switch 2 (5 pts) (nesting depth added 17). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/service/authentication/HadoopThriftAuthBridgeServer.scala"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f55e7c6f7caf21065fd3b0bb487df441d561941a1d34ccce8fdbf036379328"}},{"ruleId":"D2","level":"warning","message":{"text":"LogBatchCommand.doRun (cognitive 29): LogBatchCommand.doRun has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (18 pts), error handling 2 (5 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/cmd/log/LogBatchCommand.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d35a4977bd1ddbfd475cce48589238f48a56123f25e47492536bada0a2fa792"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastSerializationUtilsRead (cognitive 29): FastHiveDecimalImpl.fastSerializationUtilsRead has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (24 pts), loops 2, ternaries 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":1863}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adeec3dd5f967da76a3356149e267bd34105ab7492c05bc87e3a9181bfd6ae2"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastSerializationUtilsWrite (cognitive 29): FastHiveDecimalImpl.fastSerializationUtilsWrite has cognitive complexity 29 (threshold 15). Drivers by points: if/else 18 (24 pts), loops 3, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":2016}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e64ac53202fedbcc71ef43fc7d9ac53f8bee0cab158839bc5bb48e578ec82f"}},{"ruleId":"D2","level":"warning","message":{"text":"Commands.getCmdList (cognitive 29): Commands.getCmdList has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c2a29f7ea3adb1fa2c3c49c1e6a7c6b34a010dba72a0917074ea18db9bfb2a"}},{"ruleId":"D2","level":"warning","message":{"text":"Cursor.__init__ (cognitive 29): Cursor.__init__ has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 4, loops 1 (2 pts), ternaries 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/presto.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f1e4f944d157e8165e4c02849a43cbdc71f866ba67d772e6e80c32f783423f"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastByteValueClip (cognitive 28): FastHiveDecimalImpl.fastByteValueClip has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (FastHiveDecimalImpl.fastShortValueClip, FastHiveDecimalImpl.fastIntValueClip) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":3052}}}],"partialFingerprints":{"codehealthFindingId/v1":"94fbc43715808b90ccdc69c75913954f9161821b03bd401b845c7176efb507b2"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastIntValueClip (cognitive 28): FastHiveDecimalImpl.fastIntValueClip has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (FastHiveDecimalImpl.fastByteValueClip, FastHiveDecimalImpl.fastShortValueClip) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":3357}}}],"partialFingerprints":{"codehealthFindingId/v1":"a130fc5c824559131f751ada115570eed0c12afeb06b12ba5da7b54dd2e4af6c"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastSetFromBigInteger (cognitive 28): FastHiveDecimalImpl.fastSetFromBigInteger has cognitive complexity 28 (threshold 15). Drivers by points: if/else 18 (27 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3909b3ec4a375ba61b0caf6693d2828ab496a52b526876fdd8b70538298d49f"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastShortValueClip (cognitive 28): FastHiveDecimalImpl.fastShortValueClip has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (FastHiveDecimalImpl.fastByteValueClip, FastHiveDecimalImpl.fastIntValueClip) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":3210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c51bc4800dbe7b4072e8bc5119049c5940b17cb7f3804edd4f68b6b53ddda5c"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiConnection.getHttpClient (cognitive 28): KyuubiConnection.getHttpClient has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (18 pts), ternaries 2 (4 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb87932a46c36660c908d888eaff465341c6cfa0082f3344de9cacd1ab4486c"}},{"ruleId":"D2","level":"warning","message":{"text":"Commands.handleMultiLineCmd (cognitive 28): Commands.handleMultiLineCmd has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 2 (6 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb78e2f76364650b62502264764ba3e76e8ab8eb1dca72585ec93d3366bf1a3"}},{"ruleId":"D2","level":"warning","message":{"text":"InsertZorderBeforeWritingBase.insertZorder (cognitive 27): InsertZorderBeforeWritingBase.insertZorder has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5993cf5a5a624616ed6905dff25c16226791715edfb7fdcec61f995ebbe57b6d"}},{"ruleId":"D2","level":"warning","message":{"text":"InsertZorderBeforeWritingBase.insertZorder (cognitive 27): InsertZorderBeforeWritingBase.insertZorder has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d99566bd872d14a0fce898b11821794db52294e6a4d45f74118558a7578c111"}},{"ruleId":"D2","level":"warning","message":{"text":"InsertZorderBeforeWritingBase.insertZorder (cognitive 27): InsertZorderBeforeWritingBase.insertZorder has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"55493fff1bcdc51cb36f0e3bdf64d2327b8fab3432ac0cdd7e5d33ce834ee0d7"}},{"ruleId":"D2","level":"warning","message":{"text":"InsertZorderBeforeWritingBase.insertZorder (cognitive 27): InsertZorderBeforeWritingBase.insertZorder has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d8c8140a8a289c283103463ada23b297b3afebc9ed218ab9288b686a236917"}},{"ruleId":"D2","level":"warning","message":{"text":"InsertZorderBeforeWritingBase.insertZorder (cognitive 27): InsertZorderBeforeWritingBase.insertZorder has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e78904ca2a014334d2000bd883cab6a25018183281723e9952669ccda05e47"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.doMultiply (cognitive 27): FastHiveDecimalImpl.doMultiply has cognitive complexity 27 (threshold 15). Drivers by points: if/else 19 (25 pts), boolean chains 1, ternaries 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":7787}}}],"partialFingerprints":{"codehealthFindingId/v1":"681a96882747a2bb24b7881235b7e3c715e4ec913214d0d215aa07818f69a67d"}},{"ruleId":"D2","level":"warning","message":{"text":"hive._unwrap_column (cognitive 27): hive._unwrap_column has cognitive complexity 27 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (8 pts), ternaries 2 (8 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/hive.py"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f9a493e5bf9627d74702ecb8dd284dbdfa4ddf15295f773eca73d89fba2ef9"}},{"ruleId":"D2","level":"warning","message":{"text":"request.request (cognitive 27): request.request has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 9, ternaries 4 (5 pts), loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/utils/request.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40adc144df978f60278594daceeacea1900670af6e51ead4a8c078fda47f84e"}},{"ruleId":"D2","level":"warning","message":{"text":"EngineRef.create (cognitive 26): EngineRef.create has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 2, loops 1, match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/engine/EngineRef.scala"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a38ecf1207aad43378bec58d5fafaf5e681f2f77513216748a75af100633552"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchesResource.openBatchSessionInternal (cognitive 26): BatchesResource.openBatchSessionInternal has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 7 (20 pts), if/else 3 (5 pts), error handling 1 (nesting depth added 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/BatchesResource.scala"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"246ced834cd9e3e848d67e5b994c15a2a3697001fb2c23d629c2c18c19c87485"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.doFinishAddSubtractDifferentScale (cognitive 26): FastHiveDecimalImpl.doFinishAddSubtractDifferentScale has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (26 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":6778}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28e925de9512c2653ba054487a62d1d8e89620d8866b0ad13a56ff7920bc310"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastScaleUp (cognitive 26): FastHiveDecimalImpl.fastScaleUp has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":5994}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac6c8912baaac9f69904e28bc004b62bd04cbaec2a831493cbe0b552fb65c75"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicShufflePartitions.apply (cognitive 25): DynamicShufflePartitions.apply has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 4 (10 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b2652ab21cdac4f132bf683257770b7af8a98656bf47327647365ec3cb9e93"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicShufflePartitions.apply (cognitive 25): DynamicShufflePartitions.apply has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 4 (10 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1493fbbdcab44d0b7b60ef5c2d5e13eba45616a7f689f4b6c053f662ad5c472b"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicShufflePartitions.apply (cognitive 25): DynamicShufflePartitions.apply has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 4 (10 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0485285117203d1918396d2e0a908f90506998f96141f68edfb0ff24e461c7b0"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicShufflePartitions.apply (cognitive 25): DynamicShufflePartitions.apply has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 4 (10 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"854d17b6c5436c7c899be3c2b27526be70e5da714420baf74f8e9541773efd57"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicShufflePartitions.apply (cognitive 25): DynamicShufflePartitions.apply has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 4 (10 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0efa4c6115ef4da7a8b7d29736c487ddc9eafdcba4c99991a6aaa233156d41"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.doAddSameScale (cognitive 25): FastHiveDecimalImpl.doAddSameScale has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (25 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":6671}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa18b3db5c8b0b8f14f193ce8a56a8994ab98462533219eb35eb7f28ba565787"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastLongValueClip (cognitive 25): FastHiveDecimalImpl.fastLongValueClip has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16 (25 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":3518}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9156c6827ed9abc86b25631fd3a09dc94731eab202f2ec806fdabd5552337a"}},{"ruleId":"D2","level":"warning","message":{"text":"BeeLine.connectUsingArgs (cognitive 25): BeeLine.connectUsingArgs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (19 pts), loops 3, error handling 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"445f6744bbe600f12929b549c79fcfe8e7c731c8c92ac02f1e847797ccd69b76"}},{"ruleId":"D2","level":"warning","message":{"text":"BeeLine.getDefaultConnectionUrl (cognitive 25): BeeLine.getDefaultConnectionUrl has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (19 pts), error handling 1 (4 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d6817ca2ea6f0c0ab49bb2e9098908f5d0330978743f2caf6499803551a479"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiCommands.getCmdList (cognitive 25): KyuubiCommands.getCmdList has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 4, match/switch 1 (3 pts), loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0493a75791517acb4975874ea920fb0120c22cc2149d162eaa92efc08a0ed1d"}},{"ruleId":"D2","level":"warning","message":{"text":"Logging.initializeLogging (cognitive 23): Logging.initializeLogging has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 2 (6 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/Logging.scala"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"0788c310eb70798fdac93e38393f0dd9dbcc859b622857d04e3a2839d3fb7c6f"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastScaleDownNoRound (cognitive 23): FastHiveDecimalImpl.fastScaleDownNoRound has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":5397}}}],"partialFingerprints":{"codehealthFindingId/v1":"adef11b2289e43223ef9e2aede4ea2660c5ef293cead1e7623ce6e7197bdb8b2"}},{"ruleId":"D2","level":"warning","message":{"text":"AccessType.apply (cognitive 22): AccessType.apply has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (18 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/ranger/AccessType.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86892ba084aff6bc4186e119d81a99d58e2933f80cfa6ac47d8f5fc288d546e"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.doBinaryToDecimalConversion (cognitive 22): FastHiveDecimalImpl.doBinaryToDecimalConversion has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c07544c01192e02bef93780478d2e88040fd659d7b362b2f2bac9d413e40be3"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastRoundFractionalHalfUp5Words (cognitive 22): FastHiveDecimalImpl.fastRoundFractionalHalfUp5Words has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":5676}}}],"partialFingerprints":{"codehealthFindingId/v1":"850f28e90161a47c92ec939b8388ceffb31484423d813ed34546fb8e1aec6a71"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiCommands.connect (cognitive 22): KyuubiCommands.connect has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, error handling 2, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0ddfd1aafb0c512e9b6a26687df7e4e2aaa268c59fc696ed07f67fad3b5711"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiDatabaseConnection.connect (cognitive 22): KyuubiDatabaseConnection.connect has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (10 pts), error handling 5, loops 2 (4 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiDatabaseConnection.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"df684fe9c46e584256676c814648454e8f0cfcc0306a95419c25b0e985071a39"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpRequestInterceptorBase.process (cognitive 21): HttpRequestInterceptorBase.process has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, loops 2 (4 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/auth/HttpRequestInterceptorBase.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6700265a54fd904e5b38f785cecfa66f9c6c6c1ae0a370d6b424e4a45dde96d"}},{"ruleId":"D2","level":"warning","message":{"text":"Reflector.convert (cognitive 21): Reflector.convert has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11, boolean chains 10. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Reflector.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e397ab5814d785f4a11bf9a46b2a824f36a534e3f269c7c2c49b987d3e3fd038"}},{"ruleId":"D2","level":"warning","message":{"text":"useChatStream.useChatStream.handleApproval (cognitive 21): useChatStream.useChatStream.handleApproval has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, loops 2 (3 pts), error handling 1 (nesting depth added 7). Most of this is not in the body itself: 7 of the 21 points are its own statements and the rest belongs to one function item inside it that branches (setApprovalStatus). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/composables/useChatStream.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea3e33de5ed37c83b2c5041903da28adfe29811aa2324e32594bcb790f63b03"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlCliArguments.getCommand (cognitive 20): ControlCliArguments.getCommand has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 7 (13 pts), if/else 7 (nesting depth added 6). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/cli/ControlCliArguments.scala"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d031793c485ce6e8e53928622b8e64b64bfc345b30168ca0661b1176f9d05c"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiBatchService.start (cognitive 20): KyuubiBatchService.start has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 3 (11 pts), if/else 2 (5 pts), loops 2 (4 pts) (nesting depth added 13). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiBatchService.scala"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6a0adb5fbe09a2a78a14e9bfe1d2870d1061ff9bc7d9ee3211dfa5dd12e6c2"}},{"ruleId":"D2","level":"warning","message":{"text":"RetryableRestClient.invoke (cognitive 20): RetryableRestClient.invoke has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), error handling 2 (4 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/RetryableRestClient.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0807d79a0f11fb3f56a434a67ebd0076909c14b322d2e05a807ac47d859dc21"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiConnection.waitLaunchEngineToComplete (cognitive 20): KyuubiConnection.waitLaunchEngineToComplete has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"13dbddfee94bb4a535dd05ebf3be9a57dd5123d96c342ff16cad33e04a009834"}},{"ruleId":"D2","level":"warning","message":{"text":"HiveStringUtils.removeComments (cognitive 20): HiveStringUtils.removeComments has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (7 pts), loops 2 (4 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/common/util/HiveStringUtils.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d63a5e449a08564d0504912cac859d0738e177326989b932f997aaee51e17b6"}},{"ruleId":"D2","level":"warning","message":{"text":"Commands.connect (cognitive 20): Commands.connect has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (16 pts), ternaries 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c437a80b0f205515192b1b515c78b2f9411e29f3bfd048bd4224018fe12f22a"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiBeeLine.initArgs (cognitive 20): KyuubiBeeLine.initArgs has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), error handling 4 (6 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiBeeLine.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e63b05de522481f390a661fda42be9d0c3e4b5abe767c8352e371e1b4189542"}},{"ruleId":"D2","level":"warning","message":{"text":"InferRebalanceAndSortOrders.infer (cognitive 19): InferRebalanceAndSortOrders.infer has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"696a765b8cf9d3e28cbd26c949db954d3e7680ec712b5fadfd477769190df9cb"}},{"ruleId":"D2","level":"warning","message":{"text":"InferRebalanceAndSortOrders.infer (cognitive 19): InferRebalanceAndSortOrders.infer has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"32061bfb31b27717488db33183f4311b66cd793d76489b42ac41a3637c89208c"}},{"ruleId":"D2","level":"warning","message":{"text":"InferRebalanceAndSortOrders.infer (cognitive 19): InferRebalanceAndSortOrders.infer has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b8827033cdf31c2e6d24d4ca0d3b965aab12098e4088ef4e0b6d7b9174c087"}},{"ruleId":"D2","level":"warning","message":{"text":"InferRebalanceAndSortOrders.infer (cognitive 19): InferRebalanceAndSortOrders.infer has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9526851a5f6f232fa3909d47a3989e55759d52bbaccc67cf43a71c8e65d1373d"}},{"ruleId":"D2","level":"warning","message":{"text":"InferRebalanceAndSortOrders.infer (cognitive 19): InferRebalanceAndSortOrders.infer has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbf09f484131b86115adb60f5417b7ba76f87d33345e63e7697f20078ba2254"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiEnsureRequirements.resolveKeyedPartitioning (cognitive 19): KyuubiEnsureRequirements.resolveKeyedPartitioning has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6, match/switch 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"96689ccbf41b889a4a7baa707fd1f366e9d533d3c4be9e60bd706239c43334c7"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcBuilder.start (cognitive 19): ProcBuilder.start has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 2 (5 pts), boolean chains 3, error handling 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/engine/ProcBuilder.scala"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"1866af7998616e01b0b2d03d9c6501636b7eea405666ad52ca185eddf55e8b04"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.doAddDifferentScale (cognitive 19): FastHiveDecimalImpl.doAddDifferentScale has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (19 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":7480}}}],"partialFingerprints":{"codehealthFindingId/v1":"163fb309f8ba8a5857f9791f11a350c6a50e64c08fdfea92835438926b82c014"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.doFastToDigitsOnlyBytes (cognitive 19): FastHiveDecimalImpl.doFastToDigitsOnlyBytes has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":9141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdc98dcf5be31501ef214a40a13f54e02f04bcc0fa713a5bc91556c8e246c7d"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastRoundFractionalHalfEven (cognitive 19): FastHiveDecimalImpl.fastRoundFractionalHalfEven has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":5844}}}],"partialFingerprints":{"codehealthFindingId/v1":"debe67bdf85cde3ae78f95387cb79fe583f33781a2ddd1ba9685e4db163ca0e6"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastSingleWordDivision (cognitive 19): FastHiveDecimalImpl.fastSingleWordDivision has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (19 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":8524}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37c622a94ac0c72b27636c8e406ec30ed50ebb506d290ff2e6bb2376c78b125"}},{"ruleId":"D2","level":"warning","message":{"text":"EscapeCRLFHelper.escapeCRLF (cognitive 19): EscapeCRLFHelper.escapeCRLF has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/common/cli/EscapeCRLFHelper.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad90c17ccc1a0b5826c4e68b9ae1b329274ab18d61ff4ab3c7fa0e927fc50aa"}},{"ruleId":"D2","level":"warning","message":{"text":"HiveSiteHS2ConnectionFileParser.findConfigFile (cognitive 19): HiveSiteHS2ConnectionFileParser.findConfigFile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 1 (4 pts), ternaries 1 (4 pts) (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/hs2connection/HiveSiteHS2ConnectionFileParser.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19b74e65f782323d82f0d803b931317fb19adce7a98470b0cf914a17285f5eb"}},{"ruleId":"D2","level":"warning","message":{"text":"Cursor.description (cognitive 19): Cursor.description has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 2 (6 pts), error handling 1 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/hive.py"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d707ae4a388ce2f221cde0e2fcaac766e46e52d33d9965b33788c938199c18b"}},{"ruleId":"D2","level":"warning","message":{"text":"PrivilegesBuilder.buildQuery (cognitive 18): PrivilegesBuilder.buildQuery has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/PrivilegesBuilder.scala"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"91468194e90170fa0df8879aedd526589ba4c328adfc671b4a776432d3543da3"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchJobSubmission.submitAndMonitorBatchJob (cognitive 18): BatchJobSubmission.submitAndMonitorBatchJob has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, loops 2, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/operation/BatchJobSubmission.scala"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6840439a77e81d2a37ed5956f590e1c194a76de9d005ab0a8b9283fda31b517"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastIsLong (cognitive 18): FastHiveDecimalImpl.fastIsLong has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":3458}}}],"partialFingerprints":{"codehealthFindingId/v1":"990f16a6654e6c51c29305bfe2f33581942fee023b9d199b897e3c16810a8f73"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastSetFromBigDecimal (cognitive 18): FastHiveDecimalImpl.fastSetFromBigDecimal has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"732f7120b1b67696d29873b65751bf34331c28d20c2b6e7242665c98d844b351"}},{"ruleId":"D2","level":"warning","message":{"text":"Commands.connect (cognitive 18): Commands.connect has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, error handling 2, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec0483cdf312699e3a3f475c7310bcc9ddd1ad6b4ed264c49d9ba19d62d3068"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiBeeLine.runInit (cognitive 18): KyuubiBeeLine.runInit has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (8 pts), error handling 2 (6 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiBeeLine.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c481bdf7cd4a3210d778a0c2d61d5aecae3202b29ca6473bd11ccdb2d3424d"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchJobSubmission.close (cognitive 17): BatchJobSubmission.close has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/operation/BatchJobSubmission.scala"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0473f22e865362061f9ed318f894dc763d89114b1f5c5b509040b3bdf975ec5"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataManager.startMetadataRequestsAsyncRetryTrigger (cognitive 17): MetadataManager.startMetadataRequestsAsyncRetryTrigger has cognitive complexity 17 (threshold 15). Drivers by points: error handling 2 (6 pts), if/else 3 (4 pts), match/switch 1 (4 pts), loops 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/metadata/MetadataManager.scala"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb5210460fd8490f4ad8d4040ba9211a5324e17edb91c32eb2bc195b5212fb7"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrowColumnVector.initAccessor (cognitive 17): ArrowColumnVector.initAccessor has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/arrow/ArrowColumnVector.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0b77b2a6eb8bd122dda783422ac1b0e9278c26cd665f875b488de2ec64ea88"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.isAllZeroesBelow (cognitive 17): FastHiveDecimalImpl.isAllZeroesBelow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":6317}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a505d1acf5b18d7519c7a760138d2f979512ac743e5fba1300f7f72c3a5a96"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiStatement.waitForOperationToComplete (cognitive 17): KyuubiStatement.waitForOperationToComplete has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), error handling 2 (4 pts), match/switch 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiStatement.java"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ca1317e3806d789ec7d2d6ab3aad8b472c77471b0535c75c47592286c62309"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabaseConnection.connect (cognitive 17): DatabaseConnection.connect has cognitive complexity 17 (threshold 15). Drivers by points: error handling 7, if/else 5, loops 2 (4 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/DatabaseConnection.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"902691cc6c53103296429b2c5ad484bc823a1aa8fdc23f2655bab5413c6cc2dd"}},{"ruleId":"D2","level":"warning","message":{"text":"Row.\u003Cinit\u003E (cognitive 17): Row.\u003Cinit\u003E has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 2 (6 pts), error handling 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Rows.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f123967d98605fdf473bc649f7aafd38bb841acb39940e0e9f363d4a9514d9"}},{"ruleId":"D2","level":"warning","message":{"text":"TableOutputFormat.getOutputString (cognitive 17): TableOutputFormat.getOutputString has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/TableOutputFormat.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"655165c5fb64c5c29eaf93fa27d47e609b05e05e4831623b8ccce76163a85cd7"}},{"ruleId":"D2","level":"warning","message":{"text":"FinalStageConfigIsolation.apply (cognitive 16): FinalStageConfigIsolation.apply has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e09a7a342b4d24eae269b66512a92fc2ed172443a42c5712b5bd444e733368"}},{"ruleId":"D2","level":"warning","message":{"text":"FinalStageConfigIsolation.apply (cognitive 16): FinalStageConfigIsolation.apply has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"655cdfc7924c465b967407aba014e95c7eb0355efcd270afd90b37fb298addd1"}},{"ruleId":"D2","level":"warning","message":{"text":"FinalStageConfigIsolation.apply (cognitive 16): FinalStageConfigIsolation.apply has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40b7a6de6f13ba2f8426e6cf8cd95e775b235ff47e92430ac03d6a6f6defd4f"}},{"ruleId":"D2","level":"warning","message":{"text":"FinalStageConfigIsolation.apply (cognitive 16): FinalStageConfigIsolation.apply has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3393c60998c5ef123438eb610535bd5151880759a5769f773a5a30442ff8a52"}},{"ruleId":"D2","level":"warning","message":{"text":"FinalStageConfigIsolation.apply (cognitive 16): FinalStageConfigIsolation.apply has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1a420d10f35b942c4399b251269d6e4b8fb2486b26a5b4948f372929ee288b"}},{"ruleId":"D2","level":"warning","message":{"text":"RuleApplyDataMaskingStage1.applyDataMasking (cognitive 16): RuleApplyDataMaskingStage1.applyDataMasking has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), match/switch 3 (6 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/rule/datamasking/RuleApplyDataMaskingStage1.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"db671756533c3fc4414f3d4be196c74aba912cf9f86c603b95507147dc022f42"}},{"ruleId":"D2","level":"warning","message":{"text":"HiveConnectorUtils.applySchemaChanges (cognitive 16): HiveConnectorUtils.applySchemaChanges has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 5 (11 pts), if/else 5 (nesting depth added 6). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/HiveConnectorUtils.scala"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f4149bcc91c44af3fa1e292441eefb16679d075a5d04ba4a1ea0a8e0a30f98"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiConf.getEngineConf (cognitive 16): KyuubiConf.getEngineConf has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/config/KyuubiConf.scala"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41e6dfa53a66d8c85a450cde519d58705accbc1609bab04ae08141ba87002be"}},{"ruleId":"D2","level":"warning","message":{"text":"ThriftHttpServlet.doPost (cognitive 16): ThriftHttpServlet.doPost has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/http/ThriftHttpServlet.scala"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"261332e83cfa5517a469d18c4366edb40ba825d41ec032f0d17e898ce0e8b51f"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiParser.unescapeSQLString (cognitive 16): KyuubiParser.unescapeSQLString has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), match/switch 2 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/sql/parser/KyuubiParserBase.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"20503a9dbf6fadf1f64d28b069b39b49b099164a2c59be9853001e3fcfb210de"}},{"ruleId":"D2","level":"warning","message":{"text":"FastHiveDecimalImpl.fastExceedsPrecision (cognitive 16): FastHiveDecimalImpl.fastExceedsPrecision has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java holds 35 of the 136 methods over the threshold \u2014 including the worst \u2014 and 1015 of the 2383 points over it (43%), 11.4\u00D7 the next-largest file (extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":6356}}}],"partialFingerprints":{"codehealthFindingId/v1":"67de1728155f6b99f1329c315a237a09897f53ac1e1af16c28f9fdafa1525c6a"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiArrowQueryResultSet.next (cognitive 16): KyuubiArrowQueryResultSet.next has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 5, error handling 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"f840fa3f533a91befef8fb7561713de786ab956f922e92a7741174677f4e8eaa"}},{"ruleId":"D2","level":"warning","message":{"text":"KyuubiConnection.openSession (cognitive 16): KyuubiConnection.openSession has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, error handling 2 (3 pts), loops 2, boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6bb7c8433f9005cd642d8f0316500efc8ece270b4adb0af7d662f70e284c377"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FastHiveDecimalImpl: ClassTooLong \u2014 5513 significant lines (blank, comment-only and punctuation-only lines excluded), 137 methods. The bar is 400 significant lines; this is 5113 over it, 13.78\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3e373584b0d013758c37f3915be0a55928efb5bde243f19d2a2a44662be2e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: common/FastHiveDecimalImpl.java: FileTooLong \u2014 5523 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: FastHiveDecimalImpl (36-9376). The bar is 500 significant lines; this is 5023 over it, 11.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e667114b5fbc46d1ec18d5b5b67545d8296484321a942086341218e10d6112d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/KyuubiConf.scala: FileTooLong \u2014 3818 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3318 over it, 7.64\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/config/KyuubiConf.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb4d11141a6dcdb58061f18d8edf9b7a5b872b5da54f2da293d69403742ea77"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FastHiveDecimalImpl: TooManyMethods \u2014 137 methods. The bar is 30 methods; this is 107 over it, 4.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8199e1ba08f6417ebee67d3a1c84370c25475fdbd7a6994d0c468928c74c1ab"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BeeLine: TooManyMethods \u2014 132 methods. The bar is 30 methods; this is 102 over it, 4.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"120321280fa720e76b00badf596da2e452839498b21f1718647778d0fc61676b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FastHiveDecimalImpl.fastSubtractDifferentScale: MethodTooLong \u2014 fastSubtractDifferentScale runs 377 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 277 over it, 3.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":6866}}}],"partialFingerprints":{"codehealthFindingId/v1":"939cae86641d02ac72bcbaa3c50353872e86c2cfd19c4db8060a6ac75ba7f42b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BeeLineOpts: TooManyMethods \u2014 99 methods. The bar is 30 methods; this is 69 over it, 3.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLineOpts.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca755fc29e71087c27a2dfcfedd460558b4bb8e34c176b6ca7aff5e1d981ef52"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BeeLine: ClassTooLong \u2014 1286 significant lines (blank, comment-only and punctuation-only lines excluded), 132 methods. The bar is 400 significant lines; this is 886 over it, 3.22\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"91355ace5ab39eb3ba041da82df5395727a1725484106d270370469e8ed8c6a1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KyuubiConnection: TooManyMethods \u2014 87 methods. The bar is 30 methods; this is 57 over it, 2.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3dd72324a2c8e334ef92bbde1466a2a524a895f31622d267e9fef3ad131520"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: row/KyuubiTableRows.scala: FileTooLong \u2014 1367 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 867 over it, 2.73\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-tpcds/src/main/scala/org/apache/kyuubi/spark/connector/tpcds/row/KyuubiTableRows.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cce0ce56d025eb0c0082ffc608b610721db97d34a84f75e77b5956c4ce3555"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: beeline/BeeLine.java: FileTooLong \u2014 1360 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: BeeLine (115-2287). The bar is 500 significant lines; this is 860 over it, 2.72\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66408a8ebbe0e6d7e5f22c7fbd6a8dd7b05cc7d545597d3ea45fa833b27d4b4b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Commands: ClassTooLong \u2014 1082 significant lines (blank, comment-only and punctuation-only lines excluded), 79 methods. The bar is 400 significant lines; this is 682 over it, 2.71\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"54163f2e84f94d5775eadec0ddf7e855202e3a62e4c1c045a1a2e83c6295030f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FastHiveDecimal: TooManyMethods \u2014 80 methods. The bar is 30 methods; this is 50 over it, 2.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimal.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad884ebf499e4bac5511b74589f0a063c9028deed5a6ac8e764ad2b4a1298e2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Commands: TooManyMethods \u2014 79 methods. The bar is 30 methods; this is 49 over it, 2.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b634add586164ad0ee8b43992b0cb677ae09f8fd5e9abae603eaeec5489c68"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KyuubiDatabaseMetaData: TooManyMethods \u2014 77 methods. The bar is 30 methods; this is 47 over it, 2.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2607d0eed50abd78a4c2a78e97cf7c955e169602d00870ac977e12e0da75f1d3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HiveDecimal: TooManyMethods \u2014 76 methods. The bar is 30 methods; this is 46 over it, 2.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/HiveDecimal.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0471d8fe48c606be07772e298a07e42140a50b44a80630b3e73b1af14dd8f168"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KyuubiConnection: ClassTooLong \u2014 979 significant lines (blank, comment-only and punctuation-only lines excluded), 87 methods. The bar is 400 significant lines; this is 579 over it, 2.45\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd753e7d0bd75ded98c304f02285518a13b2d8c73ef8a9aed3bd15502fad5f05"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FastHiveDecimalImpl.fastSetFromBytes: MethodTooLong \u2014 fastSetFromBytes runs 233 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 133 over it, 2.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31f42a8373495a6d9bfec6cb2029803301d849f48b1f278417cc049e110788e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: beeline/Commands.java: FileTooLong \u2014 1121 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: Commands (64-1846). The bar is 500 significant lines; this is 621 over it, 2.24\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaeb29dc498a2bb30e77b201e0efb58631c8bb5b2996e311f7bec2ba65c43273"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useChatStream.useChatStream: FunctionTooLong \u2014 useChatStream runs 218 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 118 over it, 2.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/composables/useChatStream.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee757b04e72a215f1daae1f81901a20a51102d9232b757a0eed6b5869c09735"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hive/KyuubiConnection.java: FileTooLong \u2014 1038 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: KyuubiConnection (81-1596). The bar is 500 significant lines; this is 538 over it, 2.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"877a1e889524eeaa530d72ba30fb10436b84454d5ccc8dfd0a73b347e7558c21"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KyuubiArrowBasedResultSet: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b349771a75f7fc11896a417ca26797d4f302f00fe61be82ffd7bca042bd732bd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KyuubiStatement: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiStatement.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e75d29d09d8b08005ae73c1abef9f50bc2cda1b46d5d1dfcac7b0c55c2fc40"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KyuubiBaseResultSet: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 over it, 1.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiBaseResultSet.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d356ee6a92313dfeabd95d9a8e9597c680ee352165feb98bb0a3a54f6f09c896"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FastHiveDecimalImpl.doFastRound: MethodTooLong \u2014 doFastRound runs 179 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 79 over it, 1.79\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":4353}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9ee0ff416401c0bca1b77e921546bc581324331d0326939508191462a953be"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FastHiveDecimalImpl.fastBigIntegerBytesUnscaled: MethodTooLong \u2014 fastBigIntegerBytesUnscaled runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":2521}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb73f3d21db32e3991928e1d09f0ad6c7813af078e779589add93aa9c26ded8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SQLCallableStatement: ClassTooLong \u2014 648 significant lines (blank, comment-only and punctuation-only lines excluded), 208 methods. The bar is 400 significant lines; this is 248 over it, 1.62\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b31e64778eb8d8e510e6002c83fcacae587f9da55bbefe70e4229e94755388"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KyuubiDatabaseMetaData: ClassTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded), 77 methods. The bar is 400 significant lines; this is 244 over it, 1.61\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"439399e05437d4dd72a98240ecff8a3584873cba647a7fc91a54bbe72882656b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: adapter/SQLCallableStatement.java: FileTooLong \u2014 657 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: SQLCallableStatement (29-1097). The bar is 500 significant lines; this is 157 over it, 1.31\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1285f344026a6efc8388b6d6f0b85359b435b0513fafde7682591206f57291"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hive/KyuubiDatabaseMetaData.java: FileTooLong \u2014 656 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: KyuubiDatabaseMetaData (34-933). The bar is 500 significant lines; this is 156 over it, 1.31\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3ffb62aee9990f244a89e72e7038b431c550131127cb23a7921f6e09596815"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KyuubiSessionEvent: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/KyuubiSessionEvent.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1d1774bc54f65715523fac721368e0631e7fa5719eca6d4ebabb638471a06a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KyuubiStatement: ClassTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded), 56 methods. The bar is 400 significant lines; this is 106 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiStatement.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7351814f00756c31f294e41db3314bde07f2e37e16ad67ae29eca65951ec652c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SessionData: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/SessionData.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d573395124d1ffe2c3aafe3137ab805c3e0d2f05448a1ca6c6af31c51442c86"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FastHiveDecimal: ClassTooLong \u2014 493 significant lines (blank, comment-only and punctuation-only lines excluded), 80 methods. The bar is 400 significant lines; this is 93 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimal.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"001fe097263de1555e0baccbd761c97f38d995ce383e72c6280116f58409f386"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v1/BatchesResource.scala: FileTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 91 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/BatchesResource.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0fc06951df26f3092fc793ab27032f5fc1f03b789fc435d1239a97abb7a138"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KyuubiOperationEvent: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/KyuubiOperationEvent.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e20513b961c32605787c520664abb9c3be13667bab86a5f221a14d439720cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tpcds/DataGenerator.scala: FileTooLong \u2014 576 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 76 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f866b0ad53f7c3a31dd55105c85de83bd5631d8038b248672f27ff76c295b326"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hive/HiveTableCatalog.scala: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: HiveTableCatalog (57-658). The bar is 500 significant lines; this is 70 over it, 1.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/HiveTableCatalog.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d27cd53941637fdbb172f18c8f0781fbfc0de633765a2bcfd187000a45ebef9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FastHiveDecimalImpl.fastRoundFractionalHalfUp5Words: MethodTooLong \u2014 fastRoundFractionalHalfUp5Words runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":5676}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e643b4621be0dc7be1e24f732ca60c9d9e40417a0c8b6d89adc09e4474debaa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: jdbc/JDBCMetadataStore.scala: FileTooLong \u2014 557 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 57 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/metadata/jdbc/JDBCMetadataStore.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0547b5aa9f5840f289f0596769901044ae47ce074133ff19a8d542db40d855ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: engine/KubernetesApplicationOperation.scala: FileTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: KubernetesApplicationOperation (45-575). The bar is 500 significant lines; this is 55 over it, 1.11\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/engine/KubernetesApplicationOperation.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62eeff36f0fe232699f89866841441e68720522309351567ac67e07d3088dc3e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FastHiveDecimalImpl.fastAddDifferentScale: MethodTooLong \u2014 fastAddDifferentScale runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":7336}}}],"partialFingerprints":{"codehealthFindingId/v1":"72db6157096e2df03b28b763b6c7468401ec949a56658357b53c233cf74030c0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Batch: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/Batch.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb21e757a5813c15fb5f8661febe752b48c5a525d2faff76ea405ebf752a2a1a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OperationData: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/OperationData.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbb89b17b121fcdff40e696b68bc4d5ee8772ae4a3f9f88d19a1fbcd76ad7ea"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SQLResultSet: ClassTooLong \u2014 439 significant lines (blank, comment-only and punctuation-only lines excluded), 143 methods. The bar is 400 significant lines; this is 39 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLResultSet.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"83604463aeb9bcee0844b77f6431058a469f3582fd7f5ac0b8f3ba9ea39cf7f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: exchange/KyuubiEnsureRequirements.scala: FileTooLong \u2014 545 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 45 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac64eb36df66eb67831b4835b83d15402dcb20d8980af25c695de8edcc3b22da"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KyuubiConnection.getHttpClient: MethodTooLong \u2014 getHttpClient runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a9b48c4602d9039c3034504b7b2e189be2c5013bcfa0e8aa63460ef56ca9f4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Utils.extractURLComponents: MethodTooLong \u2014 extractURLComponents runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/Utils.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e872731b43c3ce04f06139091cc2af28e3ff2140cb227c66868ef811b6660ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hive/KyuubiStatement.java: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: KyuubiStatement (36-864). The bar is 500 significant lines; this is 21 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiStatement.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"513830153e46f30edb4c3595657098e967301d5b99680e01feea08d51cade1e8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Timestamp: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/Timestamp.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d03dddf927c7a0c57ee947cce053ba4309a9d9b5a04a94cc6d5cc5cf8520215"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KyuubiSyncThriftClient: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/client/KyuubiSyncThriftClient.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8c109f99997f335d3d1f732449edd1e5336b896145a4af8c13673bbc4af6d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (20 members, 26 shared lines): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:164-195 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:203-237 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:246-284 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:294-335 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:164-195 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:203-237 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:246-284 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:294-335 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:164-195 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:203-237 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:246-284 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:294-335 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:164-195 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:203-237 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:246-284 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:294-335 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:164-195 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:203-237 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:246-284 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:294-335 \u2014 These 20 members are variants of one another: a block of 26 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 20 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 20 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadbbf4950432f5145828741f4ead724e210f31b294cc481d3126e6a4faa989a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (10 members, 17 shared lines): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:103-127 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:129-157 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:103-127 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:129-157 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:103-127 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:129-157 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:103-127 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:129-157 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:103-127 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:129-157 \u2014 These 10 members are variants of one another: a block of 17 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"311c2548b2cb72d9686531f3a42d0ea25329239fb5c6671f8341bb2eb080186d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 213 shared lines): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:57-273 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:56-274 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:56-274 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:56-274 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:56-271 \u2014 These 5 members are variants of one another: a block of 213 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c1b4190a0a1160b0d05948fe41f231af6123d9b611bdc837835ca8e07ad1b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 67 shared lines): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:81-149 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:81-149 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:81-149 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:81-149 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:81-149 \u2014 These 5 members are variants of one another: a block of 67 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c868f2e9574174e2e648205ba266a330543d7afbe469773112a5ea222253fc6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 47 shared lines): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:35-96 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:35-96 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:35-96 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:35-96 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:35-96 \u2014 These 5 members are variants of one another: a block of 47 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b504f35dfc86c19965c83f6fbab6bb2ccd0811af39f784198f3e983f78425d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 43 shared lines): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:33-77 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:33-77 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:33-77 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:33-77 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:33-77 \u2014 These 5 members are variants of one another: a block of 43 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"430a5dac6cbb425fccc4f58b338e0fe4300432642cb439245e1129e6ad4a8345"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 12 shared lines): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:381-395 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:381-395 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:381-395 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:381-395 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:381-395 \u2014 These 5 members are variants of one another: a block of 12 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"20df00d9b8f2aed1f4eac145b6891e6c54ee62f01457fdc0fdb90b8e079396bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 10 shared lines): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:55-73 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:55-73 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:55-73 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:55-73 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:55-73 \u2014 These 5 members are variants of one another: a block of 10 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a98397d1a21967f5f054c2d47e84cabe1ada8915a6bf408299ebdcdc67358c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (35 shared lines): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:8993-9134 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:9142-9202 \u2014 These two members are variants of one another: 35 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":8993}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d34bc3870d9232537db27593763fa7484380b4cbe14de6a031670910dbcde6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java:77-92 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java:191-211 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java:247-269 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java:331-351 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java:459-477 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java:602-627 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java:645-660 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java:730-745 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8038b6f271724c2993f0cad5a404492fad4a06ab78fce114cf63c519db04502f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3058-3133 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3216-3291 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3363-3438 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3524-3612 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3819-3962 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5403-5487 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5930-5977 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":3058}}}],"partialFingerprints":{"codehealthFindingId/v1":"320f2bc1f15df1a471044a29f8e240d25a3c7ff3f90466f62e8ca2fd02718a01"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DropIgnoreNonexistent.scala:29-54 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/DropIgnoreNonexistent.scala:29-54 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/DropIgnoreNonexistent.scala:29-54 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/DropIgnoreNonexistent.scala:29-54 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/DropIgnoreNonexistent.scala:29-54 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DropIgnoreNonexistent.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4acf9ee2f3d5e146235991bed6ccca370043aa886d7da9a9092a6ed6adb68d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:77-86 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:77-86 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:77-86 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:77-86 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:77-86 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"827842909a60da391f68097769d3f2d0c2da04cabacd132c9cc0fd2a26607643"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:45-200 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:46-201 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:46-201 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:50-298 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:51-308 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e942d0f57126c8382e0af24250fc1465f18f27a4b7f4ecdcbfd81fc7f1017f47"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:227-384 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:228-248 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:228-248 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:355-575 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:365-595 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"4721d689f0709d9773530b7a1a376f9823b6e466b6760636c4991f73f4cb4562"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:424-452 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:288-316 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:288-316 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:665-691 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:695-722 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3afbc7eb8e22a6ac144247b0cec2c421a10cf0039c3e141adf22871798ade0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:53-110 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:53-110 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:53-110 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:53-110 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:53-110 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"795f6a5825e64b83a1803c0380c776fc8d997920b71da463455ba032cefcdb1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:115-154 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:115-154 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:115-154 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:115-154 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:115-154 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b09592d77a46f871d068037766f679c4db09a0e046d5ed9520e49f6bc04048"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:174-184 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:174-184 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:174-184 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:174-184 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:174-184 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adb5845a3f8603b0785903bba2388fe8ed025bba1eaa22de28e1f598acce028"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSQLConf.scala:322-336 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSQLConf.scala:322-336 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiSQLConf.scala:322-336 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiSQLConf.scala:322-336 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiSQLConf.scala:322-336 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSQLConf.scala"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4e55966e6b7c52e16a75ad168eb9b53e25f3626a1eb6fd13748947affd91de"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:39-57 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:39-57 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:39-57 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:39-57 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:39-57 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1acfdcd5a439255c6e34c0b8c4590f20e7eee38785622755d54b4bfe9bea3a35"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:74-85 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:74-85 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:74-85 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:74-85 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:74-85 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4417319af4c1e7756c0e604f78241476423df32d0bee699f572127df3ee167"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:109-128 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:109-128 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:109-128 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:109-128 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:109-128 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"be31ff198906807bb8e987b65fa0c22f92921862b99352150285d80af2d1423a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLExtension.scala:33-62 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLExtension.scala:33-62 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLExtension.scala:33-62 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLExtension.scala:33-62 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLExtension.scala:33-62 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLExtension.scala"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6dbb1219093bebab925abe13859247d74c88c4d33a4ff86ae7350904159ef12"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala:44-80 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala:46-87 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala:46-86 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala:46-86 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala:46-86 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3607414791915fb0a33c8981442a1b38e7bcb6226df3e76747d0bb04741e72"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:33-48 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:32-47 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:32-47 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:32-47 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:32-47 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7574f8a101b8798efb3261739ed3b202b885f970d9b70399e545bf1cb1275b2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:50-66 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:49-65 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:49-65 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:49-65 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:49-65 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ce430927797a824420dfe78d27aa7166347a38dbe0f8dd3c7ade25a081e66f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:70-106 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:69-105 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:69-105 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:69-105 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:69-105 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1109e53fc7dffb0ecabaa4cb692226f92aca00dce47bcc79a6ff38f538746401"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:126-140 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:125-135 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:125-135 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:125-135 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:125-135 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c18f40d7d2ee03811db0652545f6d52624ff6a51bfdafb3b1840263319e034"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:161-176 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:156-167 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:156-167 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:156-167 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:156-167 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2e6e3fe6626dd65662028d772ea9ffc69c19545c6012e767f3bb552aa174c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:92-105 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:92-105 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:92-105 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:92-105 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:92-105 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2b25d937791251950441c17dd57a48595b2da082acc900bd6c0f316062c028"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:115-134 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:115-134 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:115-134 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:115-134 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:115-134 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"e051e0e7baa893188bfeb33bbe91c10a1fa2897afd0755f14e0fbc71975785db"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:142-182 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:142-182 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:142-182 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:142-182 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:142-182 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"32697d43e252f6284d7d7eb24b01271d32953fd1523637344aed8631b8fd0a67"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:185-202 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:185-202 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:185-202 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:185-202 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:185-202 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f9bc65bf7f4554010d87222785a7edcb3acbd2bd51efc2df1f03a6087b924a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:58-67 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:58-67 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:58-67 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:58-67 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:58-67 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2bb53570f83a2ed1dbb0c1a91d4f9148f2d70f7995d4bfc4b92a3f22aec48f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:72-138 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:72-138 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:72-138 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:72-138 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:72-138 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8aa4c0a7651cd91d4f3df335c0c8b043488d59e8660e0d2d3ca3de66ecb4e4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:144-158 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:144-158 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:144-158 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:144-158 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:144-158 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57cf342d4de2cad29c430756897719742f38bd90fe6275502c65238c1c532ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:164-178 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:164-178 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:164-178 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:164-178 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:164-178 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8742c3f3aa4c6ae55dcaeeb74e783212e32d3882f7e16b3bda636ee797d67db"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala:34-46 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala:34-46 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala:34-46 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala:34-46 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala:34-46 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abc666d279b2c9a4171e32a7cf200735ad960fd6fc64c9924485a5776bf2c0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/Zorder.scala:64-89 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/Zorder.scala:64-89 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/Zorder.scala:64-89 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/Zorder.scala:64-89 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/Zorder.scala:64-89 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/Zorder.scala"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"743b8e2fbaa3f109f6f30cb27fabb42ae551ee6511bcd90e5eed7a3d34c8e1dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:79-101 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:79-101 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:79-101 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:79-101 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:79-101 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa25c8272623ab0d3675d1e36e373e7b3d8ff58c1f60896ac7d1efd6d9ec2cc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:337-365 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:337-365 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:337-365 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:337-365 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:337-365 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d2b935b1f0d155b21af0eba5e1fbf50f51520220cbbbc91f5189dbe2ec792a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:367-379 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:367-379 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:367-379 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:367-379 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:367-379 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"5388e3abf124570d947887f7bbbc3b59192101ac6f7e6e36b5d189133a748d74"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:397-421 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:397-421 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:397-421 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:397-421 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:397-421 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b486a470de0116f7d9e0e212d611fd18e8019334e4983776fa0cc68c6c09958"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:441-451 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:441-451 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:441-451 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:441-451 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:441-451 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"2584cdd54f8afc7fd7c2ba1dcd7db254bf1089b914224b055f06d6d7802c1bf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:453-463 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:453-463 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:453-463 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:453-463 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:453-463 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b72eee2b145f71aa8bc9b9a09acc2ea5b4049c46dd6f47bc85fac75ec7a8363"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:475-488 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:475-488 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:475-488 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:475-488 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:475-488 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaefaae80ded10686aa9bef94a22a3e681942b2a5b0f1d48b47e660ecb498bf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:494-516 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:494-516 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:494-516 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:494-516 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:494-516 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"da00f48e957ec3202970fe760f61c05e6db6634f4b85f96f1c6ff1659c898a0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:48-123 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:48-123 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:48-123 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:48-123 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:48-123 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"af37c471daabf132776984146b8bf89d256aa9567be73166bf169b979e94ca74"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:134-184 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:134-184 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:134-184 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:134-184 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:134-184 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbf4bbdf199b65cc0031544b5b54bf759b3ccc112eba45f750d308d756c76c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:190-231 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:190-231 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:190-231 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:190-231 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:190-231 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f488eeb7c5932bd67f2a0367d51bd7dc04db54a99b82b4e2fca1ce681cc07bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:241-261 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:241-261 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:241-261 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:241-261 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:241-261 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbc17ead3bbfe493d272b17a879ff870b3660f99c5447e267e7a06cf6309aca"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:266-281 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:266-281 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:266-281 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:266-281 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:266-281 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5a2041adf2601c7833c96be945224ed89054e36d27f8875429db4aa8c48f0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala:32-51 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala:32-51 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala:32-51 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala:32-51 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala:32-51 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c333c23b9e17cce4f2ec624a2cf4b55db9f71bfcd5a951ab58d3e7f3b4db3dfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/PruneFileSourcePartitionHelper.scala:32-45 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/PruneFileSourcePartitionHelper.scala:32-45 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/spark/sql/PruneFileSourcePartitionHelper.scala:32-45 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/spark/sql/PruneFileSourcePartitionHelper.scala:32-45 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/PruneFileSourcePartitionHelper.scala:32-45 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/PruneFileSourcePartitionHelper.scala"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3b44c19973e4649d3c6743f63ac1117710f606a15d5b97d439c396fadf0d9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/execution/CustomResourceProfileExec.scala:76-102 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/execution/CustomResourceProfileExec.scala:76-102 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/spark/sql/execution/CustomResourceProfileExec.scala:76-102 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/spark/sql/execution/CustomResourceProfileExec.scala:76-102 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/CustomResourceProfileExec.scala:76-102 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/execution/CustomResourceProfileExec.scala"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"38087736e7a4a1e26cc1c67dfd4ba88a97cb60e79563b246ffd6aa6fa6809b55"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7953-8026 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:8051-8117 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:8137-8232 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:8246-8353 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":7953}}}],"partialFingerprints":{"codehealthFindingId/v1":"751dcbe2181d36376f70215d3ce95583f48825b24f0f83247065e7710ecef2c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (181\u2013185 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:58-240 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:57-241 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:57-241 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:57-241 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:57-237 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 265 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:58\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a2e506955951046d222a573dad3ca7e0d98a6acbb27b306762f2c7b3af0518"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201388 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:113-200 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:114-201 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:114-201 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:184-185 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:180-181 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 289 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:113\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:182\u0060 calls \u0060servingMembers\u0060, \u0060flattenSpec\u0060, \u0060filter\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:187\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c349e929637a2dcac36f99fd2b0b23a4879f761ccbc22ded0314c986f56838bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (75 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:49-123 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:49-123 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:49-123 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:49-123 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:49-123 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa348c5876cee2ab225d539a0e17505c47f66e7fffe19b2c02f16435b5dc486"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (66 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:73-138 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:73-138 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:73-138 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:73-138 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:73-138 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 111 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd4d987db6f4efe460e48c0d0690cf8554add68df0dfd8050eba5aaaa97e680"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:55-110 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:55-110 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:55-110 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:55-110 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:55-110 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dabcdfcf39048c40383ee52dbfc45f0e2a11f9e55a19e8cbc533ca3a640d1ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:135-184 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:135-184 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:135-184 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:135-184 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:135-184 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e8116f5e41d087e7c5ac2d54bfc93362c5f492e1d57eb001c0d0c7848ec3f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:191-231 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:191-231 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:191-231 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:191-231 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:191-231 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0f84edaaefafc8d76c05cbed366ed3c12f185e1a3e0282034a3f61e0f6caee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:143-182 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:143-182 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:143-182 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:143-182 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:143-182 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 111 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c2daf3ac5572682259ab0b31ba49b69ff70011468a1cb34aee8ce9df1a05b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:116-154 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:116-154 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:116-154 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:116-154 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:116-154 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1931f2006e816d2b313c80010df64a7215a248df8d2e37028e62010f5dc3c385"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:40-77 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:40-77 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:40-77 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:40-77 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:40-77 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 267 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:40\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74f802f7ccb09717baf80c1256d1384338b163f417a1b6eb7f90009d5ef9c4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:114-149 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:114-149 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:114-149 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:114-149 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:114-149 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:114\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32c4860bf09e6df0250ee59073c2f9b2085f24f5ed23bb67d810ec6dd892031"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:71-106 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:70-105 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:70-105 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:70-105 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:70-105 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"349dbc204c9145c1b09f42fe54125a1c741a749d31ff01af73ae40f616f0a2e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:441-476 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:454-489 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 460 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:441\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebafaf6d82f585c7aad686e8e5957aedb0615154325a5e15589108b5279f00c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiTBinaryFrontendService.scala:91-126 | kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiTHttpFrontendService.scala:237-272 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiTBinaryFrontendService.scala"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"35943a13c84da0a66b48be10b4b7166430d0af73f27665cfa3fd48ad4724367c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:541-575 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:561-595 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 460 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:541\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac648ce61c594dd27624cf43dcc22543ed181a7ed121388b8c70a4241df57114"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:242-273 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:243-274 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:243-274 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:243-274 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:240-271 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 265 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb23c3ff82cceab8bed0e79b26e4a24fc3181e10c5ade67d8172eba56e18c06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:82-112 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:82-112 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:82-112 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:82-112 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:82-112 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:82\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3982305b196f4e85e9b60d4f46fa62cfb7afd23b9ce2062d21dcc0948427fc69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala:45-75 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala:47-77 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala:47-77 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala:47-77 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala:47-77 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala:45\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"561b737c0fa8fdeffd0286e784c95ec82b96c143be9c761c188feebd9a4c965e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLExtension.scala:35-62 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLExtension.scala:35-62 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLExtension.scala:35-62 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLExtension.scala:35-62 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLExtension.scala:35-62 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLExtension.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLExtension.scala\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLExtension.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"73243d81e3f1c54981a414e653a52a5133509dc9fe53c62427b7723eee217c57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:338-365 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:338-365 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:338-365 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:338-365 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:338-365 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 267 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c4f481030103684847c5498078821dfb6b6259c077cad84c215425fad9e07e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:70-96 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:70-96 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:70-96 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:70-96 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:70-96 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:70\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86a9d26f66cdd93a60c4d77b88a34bb1b606e93e034a2fe28c9cc393f3304ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/execution/CustomResourceProfileExec.scala:77-102 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/execution/CustomResourceProfileExec.scala:77-102 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/spark/sql/execution/CustomResourceProfileExec.scala:77-102 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/spark/sql/execution/CustomResourceProfileExec.scala:77-102 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/CustomResourceProfileExec.scala:77-102 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/execution/CustomResourceProfileExec.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/execution/CustomResourceProfileExec.scala\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/execution/CustomResourceProfileExec.scala"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad9cf24b5de1edef455ee840ef95997c6fdc3a428c30d9b3649463062b6b686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201326 lines \u00D7 4): dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:59-84 | dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:97-121 | dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:136-153 | dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:187-212 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:59\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e83dab56ee493dbd3c2539126b1bcc0388f571ab1f2398ea0157540bb0eef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:358-383 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:368-393 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 460 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:358\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a9b8a29f03553cacb884408d8487fd64728508def61382b2d39f7388bcb37e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DropIgnoreNonexistent.scala:30-54 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/DropIgnoreNonexistent.scala:30-54 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/DropIgnoreNonexistent.scala:30-54 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/DropIgnoreNonexistent.scala:30-54 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/DropIgnoreNonexistent.scala:30-54 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DropIgnoreNonexistent.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/DropIgnoreNonexistent.scala\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DropIgnoreNonexistent.scala"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fef8044d7b9f41f75a02e1ea8b8039b97426316926256ccf1048fef824e10a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/Zorder.scala:65-89 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/Zorder.scala:65-89 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/Zorder.scala:65-89 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/Zorder.scala:65-89 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/Zorder.scala:65-89 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/Zorder.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/Zorder.scala\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/Zorder.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c30c35f136bb26d385dd37600aeb49a738a7a0890c20458e481eb63c0c9d580"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:46-70 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:47-71 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:47-71 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 289 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:46\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3420dfbf838d533718e908da94614fca8ac30601428dc2189a94bd54a81f557"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:480-504 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:495-519 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 460 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:480\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b6a06cbae33ce6b4624a752806b7cf2745ecc86978907771e6ec45fe141df2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/HiveTableCatalog.scala:286-310 | extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/HiveTableCatalog.scala:334-358 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/HiveTableCatalog.scala:286\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/HiveTableCatalog.scala"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9fc6f6580cec76da04dc6181e3e0498baf01da5d0029f69ec7016761a01af5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:398-421 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:398-421 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:398-421 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:398-421 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:398-421 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 267 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"9449d1a5c227b92f5cd261ca93f06ac8dd22c57ee4dea311d393812f6ca20ff1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:262-285 | dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:474-497 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:262\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"7701ee1819eaa854cd82b8beee34ec94e9862020c3ca1ffecf6db3d3ba8ee105"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:495-516 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:495-516 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:495-516 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:495-516 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:495-516 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 267 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d5b399ddbe89fa7b93fb063cadfdf446a7b9fba4324b52c20a71dd195adf80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:431-452 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:295-316 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:295-316 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 289 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:431\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"70269a968a01a38a30192ac32e47f73a01b3ee34f5351d06f5a4e758161ef57a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201322 lines \u00D7 2): dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:163-180 | dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:225-246 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:163\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf2cb81af33bf2ee9a753e52ff653796d3ddc044971d31ccc4d0c27cf68e806"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:218-239 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:215-236 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 460 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fc966124ad7c532229767ae75a092b0fb4f26301a88d06a7562c301bd9a527"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:81-101 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:81-101 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:81-101 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:81-101 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:81-101 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 267 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2832961f01c34d8c7c601bf5a8b3e5a923092fe9817be16e9af0a078ffa58603"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:187-207 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:184-204 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 460 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:187\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:182\u0060 calls \u0060servingMembers\u0060, \u0060flattenSpec\u0060, \u0060filter\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:185\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a2ae38cd7b87f077ae707b88d0b75ec90dc48ad4028cb134fd9633f60668b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:47-66 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:47-66 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:47-66 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:47-66 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:47-66 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:47\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"199943cd80bcd26271f53a724241767d726207100f7501868d0f7f97b63180e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:109-128 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:109-128 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:109-128 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:109-128 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:109-128 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:109\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a0da58d57d0a877ccc68e3d0169038ffb91efc0b2f1b7a37e3f9c5f43ed7da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:115-134 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:115-134 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:115-134 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:115-134 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:115-134 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 111 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cea1397245db611d95c604bfa456e24a77fb4be6e81843155e4823adff6cbc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:242-261 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:242-261 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:242-261 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:242-261 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:242-261 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"2316eee74e2c5fc69b4b24f8d451bb9772393a8c711c2f9fd4e3171e3693b9a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:672-691 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:703-722 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 460 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:672\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:701\u0060 calls \u0060forall\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:670\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd57572b468730e7563f77dbafb3e703aaca19686e858905dbfb5cee0d50d31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/cli/AdminControlCli.scala:41-60 | kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/cli/ControlCli.scala:66-85 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/cli/AdminControlCli.scala:41\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/cli/AdminControlCli.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee6c9e8457dfd0c9072a70b48a524f98a872952cbbcd87ea5086bd9c8a37a68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): kyuubi-server/src/main/scala/org/apache/kyuubi/engine/hive/HiveProcessBuilder.scala:145-164 | kyuubi-server/src/main/scala/org/apache/kyuubi/engine/jdbc/JdbcProcessBuilder.scala:146-165 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/engine/hive/HiveProcessBuilder.scala"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"711cee47e29308341eab329fcc2a26ea4682a1648ed9c1cb6a10f3a082a5c27d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala:33-51 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala:33-51 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala:33-51 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala:33-51 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala:33-51 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96284a7be4cb1080f5e99b95393f9c6da966bdf94dce07b88aa08a4d2b01ca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:111-129 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:114-132 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 460 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:111\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15224d6f01dec369f8aa06d8659267e873952cfd7c10e97445998c3342ed2cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:122-139 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:123-140 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:123-140 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:193-210 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 289 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:122\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a501d41c97f043031c60c1400136f2cb5f3722cc4722694b06868997e8c17082"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/HiveTableCatalog.scala:218-235 | extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/HiveTableCatalog.scala:269-286 | extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/HiveTableCatalog.scala:318-335 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/HiveTableCatalog.scala:218\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/HiveTableCatalog.scala"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d14dac847a2543c7e7701feb3a85e4cc8c18516d1fb358bf430e528d4ba820"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): kyuubi-server/src/main/scala/org/apache/kyuubi/sql/parser/server/KyuubiParser.scala:39-56 | kyuubi-server/src/main/scala/org/apache/kyuubi/sql/parser/trino/KyuubiTrinoFeParser.scala:39-56 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-server/src/main/scala/org/apache/kyuubi/sql/parser/server/KyuubiParser.scala:39\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/sql/parser/server/KyuubiParser.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfa262ad6cdb4e46c0a371e797743fcbf1d8bc375a38066e21ee62e4245e26e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:69-85 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:70-86 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:70-86 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:140-156 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:136-152 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 289 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:69\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d7241e2354f8c1188aae19cfd8be5bb7aeb3a8e251c1bfcd170c6b75901acc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:41-57 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:41-57 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:41-57 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:41-57 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:41-57 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e63d50e5a63071db187f220a5583e1b997f3f8d05828b35c134331d8325c32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:186-202 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:186-202 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:186-202 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:186-202 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:186-202 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 111 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccfbd81a1be724fb3de26a666fdc6f99b1e628f1a90d61f624b59f3b33c81ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:282-298 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:292-308 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 460 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:282\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e05bc0c61617acde94516138c11d7ba32e5ec821b17e8968c48fb53b4447e7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:121-136 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:122-137 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:122-137 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:192-207 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:189-204 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 289 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:121\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffb24eeac36b1ce4cf2634625a229f7b5cc2edda1e7361dc5699a68548bb634"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:51-66 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:50-65 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:50-65 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:50-65 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:50-65 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"394a8532078d7045ccc47eca7a94f9039d962317a949f903acae3335409c9331"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:167-182 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:168-183 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:168-183 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:258-273 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 289 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:167\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:274\u0060 calls \u0060ShuffleExchangeExec\u0060 and \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:183\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6528a6370b4b14bc12a59f9a292e608301714bc40dee8397fb0e46c98a652a07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:508-523 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:526-541 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 460 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:508\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3f68cc6c4265234ea38d42f97ad9d1809bee1bac3e2fd70d78246ffd5f557f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:707-722 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:738-753 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 460 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"34483e8fa7fa1c0aaa233d817b0d934b0a69baae6422728cb863bd6aeb0b1794"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:34-48 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:33-47 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:33-47 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:33-47 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:33-47 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6643484547e0356dec801aec72b261bea5bc5c10a78236107487a734cc7edc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:144-158 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:144-158 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:144-158 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:144-158 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:144-158 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 111 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"669b5a0b7deb1fec0f8dfab6c69ad15d26fc1ba90c8e0f9f715dca69fa996823"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:267-281 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:267-281 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:267-281 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:267-281 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala:267-281 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b249b8ea7b63a60a530cd2e6fbba4004602bf259086b4ad956e01646fd0a73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/v1/StatementResource.scala:144-158 | kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/v1/StatementResource.scala:179-190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/v1/StatementResource.scala:144\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/v1/StatementResource.scala"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0c492f50aa54ae5cc7621c4f861115f6881e97d9b0734dd42afa5e078bb544"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSQLConf.scala:323-336 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSQLConf.scala:323-336 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiSQLConf.scala:323-336 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiSQLConf.scala:323-336 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiSQLConf.scala:323-336 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSQLConf.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSQLConf.scala\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSQLConf.scala"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8336160010d99c8c1b26153c9eade22053943a0a7ce5567a47f6d5896faea9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:402-415 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:266-279 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:266-279 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 289 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:402\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc09124a362f59ba379d51422712a1aab2b3923dcbe1c8f089f8657ebc9f3716"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:235-248 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:235-248 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 303 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:235\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f1edab15aa248e46b7bc31947346d25c2b18aadfa2d861b4e8378a20db2e9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/api.scala:45-58 | kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/api.scala:45-58 \u2014 before extracting anything, compare \u0060kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/api.scala\u0060 and \u0060kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/api.scala\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/api.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"177ce2ed931b8d0ea094ab30601b886de5a42a37ef028fde15ae08c52495ad2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala:34-46 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala:34-46 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala:34-46 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala:34-46 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala:34-46 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb9fd33eff3129d261806682c6e3a8c826a9dec037f083dc5eb14362363b9aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:476-488 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:476-488 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:476-488 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:476-488 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:476-488 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 267 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae14d867925aa2433b692eee1e55ffbad89ffa9070943237b490bd47d7182af0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/PruneFileSourcePartitionHelper.scala:33-45 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/PruneFileSourcePartitionHelper.scala:33-45 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/spark/sql/PruneFileSourcePartitionHelper.scala:33-45 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/spark/sql/PruneFileSourcePartitionHelper.scala:33-45 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/PruneFileSourcePartitionHelper.scala:33-45 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/PruneFileSourcePartitionHelper.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/PruneFileSourcePartitionHelper.scala\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/PruneFileSourcePartitionHelper.scala"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"225f376789b824081abb5982e97bb6fa35a62db4e49cdce69344243bfe8a40ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:230-242 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:231-243 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:231-243 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 289 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"16782e3e4c2f4b29d9d7322c2a6a58ece162ee4434fc2c6f0ff616556439498f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:74-85 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:74-85 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:74-85 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:74-85 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:74-85 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0bdee53c56b352f78c244800f7e9cb66262954a69ceab0202470299a6606d85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:94-105 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:94-105 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:94-105 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:94-105 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:94-105 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 111 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:94\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d9a8de452ba7c3b2da18fb2ab3c5cdf646ee4986ec6fb89cdf5a08de98c990"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201312 lines \u00D7 15): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:212-223 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:253-255 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:301-303 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:212-223 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:253-255 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:301-303 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:212-223 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:253-255 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:301-303 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:212-223 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:253-255 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:301-303 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:212-223 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:253-255 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:301-303 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 267 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:212\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93c31e32b97fc70875cebe92809dec6affde96cc545f0820848a5fee76d518d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:368-379 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:368-379 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:368-379 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:368-379 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:368-379 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 267 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a5a03d18382ced4f979c1eb0f8a05b794afc3c6a4b4fa2fe8cc4da056adbcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:426-437 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:290-301 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:290-301 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:667-678 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 289 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:426\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f67de353e1ed4aa0460c231f0d61f78f6471b243a978bdf21e38a25125df06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:273-284 | dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:325-336 | dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:485-496 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8daa87db41c92e34a18eb8e233f2f3ce122e575977220b4d9c6ca0bff7cd7da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:272-283 | dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:484-495 | dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:564-575 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f972d3fb7431e9b49cdd4a7961dc448942c4efb1cd81ee49b613e95fba5f84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:435-446 | dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:565-576 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:434\u0060 calls \u0060decimal\u0060 and \u0060dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:564\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7306453867e2acf18969f47d3127af319583c79389ae9e9d742f7967a0fcdf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:517-528 | dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:563-574 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"9355ea78ed92ad5109bece05f1716da7736b0aabfd9ee29914da3481990bf1cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:581-592 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:601-612 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 460 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"8511e13a293808a477517c0de9be45ea1a0c6b612a6bb51ae8ec47061c9928cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/PrivilegesBuilder.scala:190-201 | extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/PrivilegesBuilder.scala:214-225 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/PrivilegesBuilder.scala:190\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/PrivilegesBuilder.scala:226\u0060 calls \u0060queries\u0060, \u0060buildQuery\u0060, \u0060Project\u0060 and \u0060extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/PrivilegesBuilder.scala:202\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/PrivilegesBuilder.scala"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"2161df0caf4fe7cc2e8290cdd498f78c49df688d33a5b9a453df0ac6453333c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/serde/tableExtractors.scala:344-355 | extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/serde/tableExtractors.scala:373-384 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/serde/tableExtractors.scala"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1b2973e6d016544fde78ff6fc5261a74736d7f21e258ea21f9ce5367b605f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/BatchesResource.scala:297-308 | kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/BatchesResource.scala:320-331 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/BatchesResource.scala:297\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/BatchesResource.scala"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ef4f54d2fb5d6ba485c02991a144dffd8fc9134864b0ab13879c2db9f9ef58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:174-184 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:174-184 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:174-184 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:174-184 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:174-184 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"30450eb9eb874c56dc3ad1ed9ed576153eefd2c1dc2da885b4411649857bc2e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201311 lines \u00D7 20): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:172-182 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:210-211 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:253-254 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:301-302 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:172-182 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:210-211 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:253-254 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:301-302 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:172-182 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:210-211 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:253-254 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:301-302 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:172-182 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:210-211 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:253-254 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:301-302 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:172-182 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:210-211 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:253-254 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:301-302 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 267 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:172\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7246b5c170d1a0460caae54fdc0c08887da2880fd3af058775407e7051b464a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/serde/Descriptor.scala:245-255 | extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/serde/Descriptor.scala:311-321 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/serde/Descriptor.scala:245\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/serde/Descriptor.scala"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a63627743ef623d9661740f1513f413d3e52021622623726bda04363afd7d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala:237-247 | extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala:248-258 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b285cc5c425916227c3124e030dea3b570567764d1e3c2fe73cdeff24839314"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:64-73 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:64-73 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:64-73 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:64-73 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:64-73 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:64\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"004495ea9dfe421c2784d3df06a443ef6eca64cd0857ee006d0da91a32962ef7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:77-86 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:77-86 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:77-86 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:77-86 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:77-86 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:77\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67ade84a7cb80b690f2a895cd07779a6013300e1804afdc09f2ed583a933726"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:147-156 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:148-157 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:148-157 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:219-230 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:216-227 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 289 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:147\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c0dea13da3413753fc145094812d293eff250ef8cefe617482d30b9bd2bedb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:58-67 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:58-67 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:58-67 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:58-67 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:58-67 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 111 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc14c230cfcbfa297171c27e65d1b4bc88d983bda360945e195d1e17cc418bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:169-178 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:169-178 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:169-178 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:169-178 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:169-178 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 111 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:169\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"2063cc60f3db5b6d10564fc8c4dc79c0651e94cadd3d875e3aa0a03c48df6ec4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:136-145 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:136-145 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:136-145 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:136-145 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:136-145 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 267 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:136\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c96e59d655c254e577b84a7c1ba60a70e8b9a8b5a85d3ea7c0c9a96b50d574d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:442-451 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:442-451 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:442-451 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:442-451 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:442-451 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 267 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61c4026e5a80262d2a44b7ffc839444192749e8702b567198bf62a3f7d36030"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:454-463 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:454-463 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:454-463 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:454-463 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:454-463 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 267 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d1c2a6885867308313018680cb4acc883e0fec8ecba9e6358b6ce888d8be0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): kyuubi-server/src/main/scala/org/apache/kyuubi/util/KubernetesUtils.scala:158-167 | kyuubi-server/src/main/scala/org/apache/kyuubi/util/KubernetesUtils.scala:191-200 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/util/KubernetesUtils.scala"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5b02f1c4e2d818accdac311889dad141f3ab8ba8974e5de8320e37f5f28759"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:109-117 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:109-117 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:109-117 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:109-117 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:109-117 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 267 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:109\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1161d7933890105e3e4f7fd2b028a69d8a4df37c7759a0af2ffd3e50689d6217"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/ranger/RuleAuthorization.scala:60-68 | extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/ranger/RuleFunctionAuthorization.scala:52-60 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/ranger/RuleAuthorization.scala:60\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/ranger/RuleAuthorization.scala"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"37947e047ae8b5d7e3337eeec7836175bf54d891fb356f07935f35f29e061473"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/opt/CommandLine.scala:258-266 | kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/opt/CommandLine.scala:283-291 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/opt/CommandLine.scala:258\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/opt/CommandLine.scala:267\u0060 calls \u0060text\u0060, \u0060action\u0060 and \u0060kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/opt/CommandLine.scala:292\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/opt/CommandLine.scala"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd890d96cf8a37e650dda10f33e73216d5a110cccf15d692830ce461be7e5b32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 20): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:175-182 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:215-222 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:259-266 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:308-315 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:175-182 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:215-222 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:259-266 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:308-315 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:175-182 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:215-222 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:259-266 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:308-315 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:175-182 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:215-222 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:259-266 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:308-315 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:175-182 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:215-222 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:259-266 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:308-315 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 267 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:175\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c63c9a13c3ba3dfd3bf860ba67c6688ec59ae8f4965b7490a21070d9764492"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:228-235 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:229-236 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:229-236 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:356-363 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:366-373 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 289 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:228\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"774327ab43726e01c2342d6dc269ef24baa7ca69d91efc0339b228a1b2f95ba9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:430-437 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:294-301 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:294-301 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:671-678 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:702-709 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 289 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:430\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:701\u0060 calls \u0060forall\u0060 and \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:429\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb76a4cbb8efa70525e0b597e3396ffc9698e2d4d6152f89d1efe857ebe5eec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20138 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:128-130 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:128-135 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:128-135 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:128-135 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:128-135 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:128\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:128\u0060 calls \u0060filterNot\u0060, \u0060contains\u0060 and \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:128\u0060 does not \u2014 after which the two agree again for 5 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24a7ee7a7b940fe2317387e99ebce099f961ddc5bef74f9b5819629d0fccb7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:133-140 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:169-176 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:133\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f4e6bfe2371f9fffa67776f652b1f56dff88671976faac680683ea65eb5689"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala:236-243 | extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala:300-307 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala:236\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a05cb67ac3c1b20de93925d806da8f01ba00a3cd2ce9d661655779c85f20522"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/etcd/EtcdDiscoveryClient.scala:231-238 | kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/zookeeper/ZookeeperDiscoveryClient.scala:209-215 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/etcd/EtcdDiscoveryClient.scala:231\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/etcd/EtcdDiscoveryClient.scala"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcc58af0def1af12bf8b87da87e02816bdf6423afb1c591020885311f2246c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/AdminResource.scala:289-296 | kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/AdminResource.scala:343-350 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/AdminResource.scala"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"840e09ceb2d18bd812c8a1835c19531a09fb103fdd1490618ecc32df6a71f5ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:389-395 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:389-395 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:389-395 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:389-395 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:389-395 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 267 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:389\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"698bacd42795dd7bee457e762247a6c57d63d908c0b7664bae6e372bb7904e23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20137 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:164-166 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:161-167 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:161-167 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:161-167 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:161-167 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:161\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:160\u0060 calls \u0060flatMap\u0060, \u0060find\u0060, \u0060buildRebalance\u0060 and \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:164\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda75413048b0ca4228303b9d12313b5472b843030dc53842d70b86c0fab63f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 4): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:43-46 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:37-43 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:37-43 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:37-43 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:43\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:43\u0060 calls \u0060Seq\u0060 and \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:46\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6164d031083cb590ad55c16424b5baa8937745969d044f022c16ab8f6dd934f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala:237-245 | extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala:247-256 | extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala:301-307 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3cbfe9c76b1ff7c2c76d8686e8109bacab49bf383906a3630fac7a1b66fbb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20136 lines \u00D7 70): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:122-127 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:148-151 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:152-157 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:185-188 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:190-195 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:226-229 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:230-231 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:232-237 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:272-275 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:276-277 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:279-284 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:322-325 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:326-327 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:330-335 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:122-127 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:148-151 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:152-157 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:185-188 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:190-195 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:226-229 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:230-231 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:232-237 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:272-275 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:276-277 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:279-284 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:322-325 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:326-327 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:330-335 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:122-127 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:148-151 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:152-157 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:185-188 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:190-195 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:226-229 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:230-231 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:232-237 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:272-275 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:276-277 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:279-284 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:322-325 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:326-327 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:330-335 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:122-127 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:148-151 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:152-157 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:185-188 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:190-195 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:226-229 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:230-231 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:232-237 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:272-275 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:276-277 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:279-284 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:322-325 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:326-327 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:330-335 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:122-127 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:148-151 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:152-157 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:185-188 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:190-195 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:226-229 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:230-231 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:232-237 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:272-275 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:276-277 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:279-284 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:322-325 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:326-327 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:330-335 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 267 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:122\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:151\u0060 calls \u0060result\u0060 and \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:121\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f41c9ce7e17837ae5fcfe27899fcf027a6624a89e23a0feab2bd9af869a76f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 10): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:112-117 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:139-144 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:112-117 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:139-144 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:112-117 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:139-144 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:112-117 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:139-144 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:112-117 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:139-144 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 267 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:112\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bb36d26ffa8ee306d38c3a397a528687f495ca7067e98dabc749abf281d273"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:89-94 | dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:120-125 | dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:155-160 | dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:179-184 | dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:217-222 | dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:245-250 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala:89\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef439b63298c7aa67c4e573ed37cfc162a2a33d12ff54de87a233458490a8825"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:36-41 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:36-41 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:36-41 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:36-41 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala:36\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"33658b630f391cf2832757c4cee02aa4fbbe97facffb1c6d648f351e689288dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/ranger/RuleAuthorization.scala:54-59 | extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/ranger/RuleFunctionAuthorization.scala:46-51 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/ranger/RuleAuthorization.scala:54\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/ranger/RuleAuthorization.scala"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d67c3a84191b48272e995b0109b8b1b6034b2f4cae2922e98ef3fcfd3ed675c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): kyuubi-common/src/main/scala/org/apache/kyuubi/operation/OperationAuditLogger.scala:32-37 | kyuubi-server/src/main/scala/org/apache/kyuubi/server/http/authentication/AuthenticationAuditLogger.scala:43-48 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-common/src/main/scala/org/apache/kyuubi/operation/OperationAuditLogger.scala:32\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/operation/OperationAuditLogger.scala"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8fe098c6aec6ef0af15821463d4f87c599cc2b6c2dfd3c5e59b5ec83e0d9f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/opt/CommandLine.scala:195-200 | kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/opt/CommandLine.scala:205-210 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/opt/CommandLine.scala:195\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/opt/CommandLine.scala"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"f382a0ccbbf5c639641eaae5aa5a5549b67ce3169a038754bcfb173a3e907f4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 20): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:166-170 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:205-209 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:248-252 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:296-300 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:166-170 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:205-209 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:248-252 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:296-300 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:166-170 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:205-209 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:248-252 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:296-300 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:166-170 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:205-209 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:248-252 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:296-300 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:166-170 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:205-209 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:248-252 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:296-300 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 267 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:166\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"063d60d0c08f1e74b686e72f6e0e6a535ee8c63376d76922561c9207bed50f3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 10): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:105-109 | extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:131-135 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:105-109 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:131-135 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:105-109 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:131-135 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:105-109 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:131-135 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:105-109 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:131-135 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 267 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:105\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f04f72edeb0f7efce1451c73ced57b96c975176591f718f29d771a4dc0647d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/TrinoContext.scala:349-353 | kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/TrinoContext.scala:362-366 | kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/TrinoContext.scala:375-379 | kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/TrinoContext.scala:388-392 | kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/TrinoContext.scala:401-405 | kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/TrinoContext.scala:414-418 | kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/TrinoContext.scala:426-432 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/TrinoContext.scala:349\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/TrinoContext.scala:349\u0060 calls \u0060get\u0060 and \u0060kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/TrinoContext.scala:426\u0060 does not \u2014 after which the two agree again for 5 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/TrinoContext.scala"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"80583d29942aa886518f855f3e498631ca32d0df44afca5996919c71d739d0f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:164-168 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:164-168 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:164-168 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:164-168 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:164-168 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 111 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:164\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aba7c5f332799080a6c82ba8e4bbc0b92f6499b30280c3ca0acb3d663595ce1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:34-38 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:34-38 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:34-38 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:34-38 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:34-38 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 267 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:34\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2b861c766b5c2c2f5ffb8ee50191cb7a13bfc7895219b12648a9f86c68d1f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:382-386 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:382-386 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:382-386 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:382-386 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:382-386 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 267 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala:382\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef06e3f3dfbd76f78e71607407d6d5800bc0f5b8e28bd2a85db3b00d88fb07e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/opt/CommandLine.scala:193-197 | kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/opt/CommandLine.scala:203-207 | kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/opt/CommandLine.scala:274-278 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/opt/CommandLine.scala:193\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/opt/CommandLine.scala"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b092c63025856c21e33ea487cd0d602ce6557814ee6ac64e4b44d1f66c766298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/opt/AdminCommandLine.scala:92-96 | kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/opt/CommandLine.scala:181-185 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/opt/AdminCommandLine.scala:92\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/opt/AdminCommandLine.scala"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"93161cb3a846d240d51ba21faf47dfaf31aaa3ae4486b7e1ad01c9080a2735c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/OptimizeZorderCommand.scala:36-68 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/OptimizeZorderCommand.scala:37-69 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/OptimizeZorderCommand.scala:37-69 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/OptimizeZorderCommand.scala:37-69 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/OptimizeZorderCommand.scala:37-69 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/OptimizeZorderCommand.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/OptimizeZorderCommand.scala\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/OptimizeZorderCommand.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1082078679a853fc197126ec2bdf5f06ad8e458028a963d3340ab191448bc470"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/cmd/delete/DeleteCommand.scala:27-41 | kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/cmd/get/GetCommand.scala:27-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/cmd/delete/DeleteCommand.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6938105bae3696108a8a9612525c52fc21c5442cf1ece6b80bb2abbc5894c884"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:48-54 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:48-54 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:48-54 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:48-54 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:48-54 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43a4c4fec298eb7c63b121159ddf8b7d409f9dc3747007d9056d05f516b669e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:71-76 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:71-76 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:71-76 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:71-76 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala:71-76 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0710aa217b28432d325688d614cdd1de2a85dda123d4f35139bbb24564fae2b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:36-50 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:36-50 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:36-50 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:36-50 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala:36-50 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cadcd6bf768b7ece7dfb3960d47689b7f0f7c74b21a69555a3d4943e807f259"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:212-221 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:213-222 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:213-222 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:340-349 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:350-359 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 289 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:212\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b3354150a317ba314764e1fbd5368dd6ba2c69fcf1c580d31ce2a3c5ec38f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:454-463 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:318-327 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:318-327 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:777-786 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:862-871 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 289 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bb79a34ead9f965564ad292662f79f396633e976dedd96b1a5307741db7c59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:186-193 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:186-193 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:186-193 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:186-193 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala:186-193 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"03100ec365bdd5f6a13f46b250f13f644771795c36e75c561967a81a1ffc5712"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:88-93 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:88-93 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:88-93 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:88-93 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:88-93 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d312a6ca132beb88a8f30df23ee8d99f01434263d9f2f19398887e39515dd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:137-145 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:137-145 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:137-145 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:137-145 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:137-145 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9319cea26053a7b0f48be6ba9ed9ca76deabc01330a56e22c36f988f803a077"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:147-151 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:147-151 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:147-151 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:147-151 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:147-151 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a67a24d7e773a8df1d1147072e2ea1d401b576a2f9b9df442c4434725b61391"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:154-160 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:154-160 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:154-160 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:154-160 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala:154-160 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLAstBuilder.scala"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"1178d6ec079daa6e0d805063a3b2f52c34e284e77bfb8094b074d87ec063967b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala:35-42 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala:37-44 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala:37-44 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala:37-44 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala:37-44 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"926262d41445b1d0e63b47b0749508ed8b88a5ee6a95bdb2e5fbb66906c0cfea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala:134-138 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala:143-147 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala:142-146 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala:142-146 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala:146-150 | kyuubi-server/src/main/scala/org/apache/kyuubi/sql/parser/KyuubiParserBase.scala:131-135 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c76ca83cfad96843e67268ca18881d57036b6ef6e16c252872c209a663d205"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:152-159 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:147-154 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:147-154 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:147-154 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala:147-154 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf063e4d1ad5162558106a37d76cadec3da974be7682d03d5f1f1b316b4a02be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:72-84 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:72-84 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:72-84 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:72-84 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:72-84 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 111 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c59e4e44ba9959a61a3110dc5f377ad92e852365c38d766b2d9207e659a4697"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:205-213 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:205-213 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:205-213 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:205-213 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala:205-213 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 111 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d5428bb70264118a61b451e582dee61562020fdc1c23d4d5bd17bb10c18510"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/WriteUtils.scala:26-33 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/WriteUtils.scala:26-33 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/WriteUtils.scala:26-33 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/WriteUtils.scala:26-33 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/WriteUtils.scala:26-33 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/WriteUtils.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/WriteUtils.scala\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/WriteUtils.scala"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab348e8d22d86be24e72127fb4b8ae0322458b7995986ac0b9a76d64b2d1c8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/KyuubiUnsupportedOperationsCheck.scala:27-34 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/watchdog/KyuubiUnsupportedOperationsCheck.scala:27-34 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/watchdog/KyuubiUnsupportedOperationsCheck.scala:27-34 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/watchdog/KyuubiUnsupportedOperationsCheck.scala:27-34 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/watchdog/KyuubiUnsupportedOperationsCheck.scala:27-34 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/KyuubiUnsupportedOperationsCheck.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/watchdog/KyuubiUnsupportedOperationsCheck.scala\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/KyuubiUnsupportedOperationsCheck.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd722937868d9695232496195bacc4887aec90daeadc9b1aa453e70dd25043a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:45-52 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:44-51 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:44-51 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:44-51 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:44-51 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 265 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d075e5ac120effa0c005d88990da0d1d14e04070a75f07626aa9f6f60b71c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:280-299 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:281-300 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:281-300 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:281-300 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:278-297 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 265 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:280\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"557bbfdaa65c4ce06b8169981a74d84a13e22739da8efb38bf87a3781c9f8c80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:306-325 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:307-326 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:307-326 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:307-326 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:304-323 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 265 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala:306\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/watchdog/MaxScanStrategy.scala"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"beca21c863a3405c64aa7a17261631a811d2857bd063b3a7e0c8ef8dc76e214d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:52-56 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:52-56 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:52-56 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:52-56 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala:52-56 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 111 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ba5fb9d97fa2ccc7d1b9c4ee43911e934655a58678e38a26faa4426945c5c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala:48-53 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala:48-53 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala:48-53 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala:48-53 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala:48-53 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbe411faf6945057e56162d10eb4728b9402515038edc456cee0111c6c91bd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala:55-63 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala:55-63 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala:55-63 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala:55-63 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala:55-63 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/ResolveZorder.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d461354c8b83ecc3f3db3309cd0e08914e20c908ade0a4449de645059a9bd61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/Zorder.scala:51-62 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/Zorder.scala:51-62 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/Zorder.scala:51-62 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/Zorder.scala:51-62 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/Zorder.scala:51-62 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/Zorder.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/Zorder.scala\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/Zorder.scala"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fdf585206a6a41775bffc775b5ff0d2029a590c201dd170356e0e25a611b40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala:53-59 | extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala:53-59 | extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala:53-59 | extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala:53-59 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala:53-59 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d76cf3f40b9b032302b2c83cca05bef7e2bcb61f66101e30438403edd5fcbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:322-328 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:332-338 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 460 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"0638030ea13cf4c46f16cde70d2b9cb55fa7e1b5886b46a449f4e516499795ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:648-656 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:678-686 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 460 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"df779194e858f0e3cfe8adbd9e12fe0498a66055c0611b05ffeae14187f4aad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:727-736 | extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala:758-767 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala\u0060 and \u0060extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 460 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala:727\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"def0d7106bb1ecda62289b1c5a54d38f3a523442f2bc6b4f497b73641641a7a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/read/HiveScan.scala:209-220 | extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/read/KyuubiOrcScan.scala:122-133 | extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/read/KyuubiParquetScan.scala:120-131 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/read/HiveScan.scala"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"630d4c0906a6c002af85710399e2c32fc71a1eeee960e42d2931159d39c6a444"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): extensions/spark/kyuubi-spark-connector-tpcds/src/main/scala/org/apache/kyuubi/spark/connector/tpcds/TPCDSCatalog.scala:89-93 | extensions/spark/kyuubi-spark-connector-tpch/src/main/scala/org/apache/kyuubi/spark/connector/tpch/TPCHCatalog.scala:89-93 \u2014 before extracting anything, compare \u0060extensions/spark/kyuubi-spark-connector-tpcds/src/main/scala/org/apache/kyuubi/spark/connector/tpcds/TPCDSCatalog.scala\u0060 and \u0060extensions/spark/kyuubi-spark-connector-tpch/src/main/scala/org/apache/kyuubi/spark/connector/tpch/TPCHCatalog.scala\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-tpcds/src/main/scala/org/apache/kyuubi/spark/connector/tpcds/TPCDSCatalog.scala"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e3c9eead9d4ac539a2fa912a65a1fbda1d9d991588ed2e64d4dc17805b7515"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/etcd/EtcdDiscoveryClient.scala:201-208 | kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/zookeeper/ZookeeperDiscoveryClient.scala:179-186 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/etcd/EtcdDiscoveryClient.scala"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"a086a35dc3a639f70c9deb26e2b3f37a2d984de17994710e43599f23742f4d5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/etcd/EtcdDiscoveryClient.scala:212-216 | kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/zookeeper/ZookeeperDiscoveryClient.scala:190-194 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/etcd/EtcdDiscoveryClient.scala:212\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/etcd/EtcdDiscoveryClient.scala"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a562b5669e4ded312dad1a595296038678f0b7aed6e5709ce38e5a30ea7d5370"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiRestFrontendService.scala:110-116 | kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiTrinoFrontendService.scala:64-70 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiRestFrontendService.scala:106\u0060 calls \u0060foreach\u0060 and \u0060kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiTrinoFrontendService.scala:60\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiRestFrontendService.scala"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3931c468a66f3eeddb8a7aabf9144808d5167b23939f1f9771d41288f9f2520"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): kyuubi-server/src/main/scala/org/apache/kyuubi/server/http/authentication/BasicAuthenticationHandler.scala:55-62 | kyuubi-server/src/main/scala/org/apache/kyuubi/server/http/authentication/BearerAuthenticationHandler.scala:65-72 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/http/authentication/BasicAuthenticationHandler.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f40802f61a0b91fc9fa1d71511f712a3927820509a0401f6a793f8ec72dc9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): kyuubi-server/src/main/scala/org/apache/kyuubi/server/http/authentication/BasicAuthenticationHandler.scala:77-81 | kyuubi-server/src/main/scala/org/apache/kyuubi/server/http/authentication/KyuubiInternalAuthenticationHandler.scala:53-57 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-server/src/main/scala/org/apache/kyuubi/server/http/authentication/BasicAuthenticationHandler.scala:77\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/http/authentication/BasicAuthenticationHandler.scala"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ffa1975eff86361d14ff8f9974fa0756a490e36c95dbb5a5c9b53958fce862"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:883-935 | kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java:116-168 \u2014 before extracting anything, compare \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java\u0060 and \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:883\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcf2e89db7c18a8526b23312329fb2adb1bac286bedea09b5a457a4093e5906"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201350 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:8178-8217 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:8288-8337 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":8178}}}],"partialFingerprints":{"codehealthFindingId/v1":"882a86d1fcec3eb753e35efa31a0b2e6563c930eb728f6d399ce1381ab52c1a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44\u201345 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiStatement.java:201-245 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiStatement.java:265-308 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiStatement.java:201\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiStatement.java"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e36df0de4eb735f73b35ac13ab490e851c532b8dad3d16894c54d64d673d83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:326-367 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:752-793 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:326\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fcd7b5bae89915584c7ba99bbb1b02041cc15a89d512ac8fe021cf177e44cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 4): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7963-8002 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:8061-8100 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:8151-8190 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:8261-8300 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":7963}}}],"partialFingerprints":{"codehealthFindingId/v1":"841a97c8320421d30b857c8bca72f603604e2db387c0c6a33deb11e081d0c41a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5240-5275 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5336-5371 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5240\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":5240}}}],"partialFingerprints":{"codehealthFindingId/v1":"a223a027323f3f2084c6324d1c538636c4f67c8403856331001cb8704bd652f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/DatabaseConnection.java:105-139 | kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiDatabaseConnection.java:48-82 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/DatabaseConnection.java:105\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/DatabaseConnection.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be6e33c193223f45de15b2c1cd2278c6cf54d829238373ad43876aff487f33e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201335 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7156-7182 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7243-7277 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":7156}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c03e6a15414d4ed609b6278b253819fb8cf1d9c723c688f64b591fde52aa694"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7673-7707 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7748-7782 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7673\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":7673}}}],"partialFingerprints":{"codehealthFindingId/v1":"82db9a71a3ffc04ed44fee3a314374fbd127e662d9a6388bd8030d8374aa4342"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201334 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:1697-1730 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:1739-1768 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:1697\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":1697}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e3316aeb8858cb4ebd31797ec7cf6e0c4ec5994498afacd998b04bd3da87aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2616-2648 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2655-2688 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2616\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":2616}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6810a61f56b1f24adeebcbb3cefe389ed444bf5b4a87d2640a0c4c7d46bc5ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2598-2629 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2744-2775 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2598\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":2598}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f43f80439e98d870f682030613343f48432173176a3e5efb8d069be285ed1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:6160-6188 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:6190-6219 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:6190\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":6160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceba0a40f11ee08394c7c0ebd8cd9879fe680db7dd9e9e7a3cbfb6deb3ae91b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/DatabaseConnection.java:142-169 | kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiDatabaseConnection.java:97-124 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/DatabaseConnection.java:142\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/DatabaseConnection.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d28e79bacaf5f6b58b74525aa4caea3d45dbcbd15d7d070ea1b533f9b5649f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:988-1014 | kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java:208-234 \u2014 before extracting anything, compare \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java\u0060 and \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:988\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:985\u0060 calls \u0060isTestMode\u0060, \u0060isActiveConverter\u0060, \u0060fetchFinished\u0060 and \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java:207\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"6042fb1e2d05ff2b92271035896e699e340915608c6d10bb75e2a4d288455aa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2638-2664 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2790-2816 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2638\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":2638}}}],"partialFingerprints":{"codehealthFindingId/v1":"d653af86e2129d650bddbd0fcd94752062f4a6f51019a5941fc208f6ef86ba45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201327 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:8646-8672 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:8698-8714 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":8646}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f15a85692e62a32aea66ba66e3ff3b3e6357661fdaeded36e8e977365873a04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201325 lines \u00D7 7): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3082-3106 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3240-3264 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3387-3411 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3551-3575 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3862-3882 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3915-3935 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5936-5960 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3082\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":3082}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5ed34afa008798295c034310c764a7a97b541d53956fb1d8d73f1a662aaf04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 6): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7975-7999 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:8073-8097 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:8163-8187 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:8188-8211 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:8273-8297 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:8308-8331 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":7975}}}],"partialFingerprints":{"codehealthFindingId/v1":"7673360dd6be91be69db5f6f67526f538bd8f69aeaa86ff510b7a0b89c15b4d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java:247-270 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java:221-244 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 159 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java:247\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java:272\u0060 calls \u0060toArrowSchema\u0060, \u0060convertToStringType\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java:245\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7261f42afaada3dfc33c667ce4fc07af05ff36dca9d77e67e931d0a8ce0c7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201324 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7101-7124 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7198-7212 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7198\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":7101}}}],"partialFingerprints":{"codehealthFindingId/v1":"839ca18e4e39f807cabe56774f056059f6433f59a8f1225013b7b43a0825d695"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:6601-6623 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:6640-6662 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":6601}}}],"partialFingerprints":{"codehealthFindingId/v1":"6548e9097e9e4dda3b56fb948a8498fe3164a5a8ff60ae4e1e89bffbbc6ba78b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:1030-1051 | kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java:527-548 \u2014 before extracting anything, compare \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java\u0060 and \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:1030\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ec2657dfb0f46a55117790e02b363ae2c1d369abd6607c124273271296e246"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:1962-1981 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:4597-4618 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:1962\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":1962}}}],"partialFingerprints":{"codehealthFindingId/v1":"695b9e3271f6536ba6426a220858cc2697a60aaa845a3f5e08c606f87663a0b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:9067-9087 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:9093-9114 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:9067\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":9067}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d22e6f42ff2fbb5817a879f319564c4c2723f90bc9dbf71a325b37970a97b78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:938-958 | kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java:170-190 \u2014 before extracting anything, compare \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java\u0060 and \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:938\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9d7eb867e68bba389394f45c84504f315765e58eed7011cabd13910feb38d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java:176-196 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java:160-180 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 159 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e6df37f19e5dd83b97f6a41f86eaeb345057fd9f2643847c5c3b2eeb064167"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java:213-233 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java:191-211 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 159 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java:213\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac9edee231864059983f041a415e9e4f9def553e31e9eb0e687474995049ad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java:333-353 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java:303-323 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 159 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java:333\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c79290c7ddf97d0fdd3788b38985e23113abe65875e7e65418b82d1b03be318"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201320 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:1438-1457 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:1463-1478 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:1438\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"55197f6b775722034c934771d3e2369a5067cbe7fa09629e69f2d3338e781ec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5147-5166 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5227-5246 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5251\u0060 calls \u0060isRoundPortionHalfUp\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5169\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":5147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5066cc3c1c26a78121aa2e6646262cf68f0678874f242eca3e9f5bb247bad153"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:4817-4835 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:4872-4890 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:4817\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":4817}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc709c7fe01bbf1b532eba1607f25261dc02d978e25c00975f42f10306ecfd8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5736-5754 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5780-5798 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5736\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":5736}}}],"partialFingerprints":{"codehealthFindingId/v1":"7166e2724aa2aae69d4259a32357b900128aeee30e4ed0aa7ea851e2f39c48d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:6755-6772 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:6846-6863 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7572-7589 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7905-7922 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:6755\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":6755}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9c3f56fb8e298c251c45339b7d18a67ffa137ef41b661be0a9eba78527281a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 3): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2580-2595 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2620-2635 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2659-2676 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":2580}}}],"partialFingerprints":{"codehealthFindingId/v1":"596ed321fc50ed06799073d47577d6d2cd7bc6784d9692d1bcd547665ccab9f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:398-415 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:797-814 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:398\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b3895fe908199edebd9dc82b6d3ce9564ec5dae00e6cce401de37cb27c7722"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2572-2589 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2711-2728 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2572\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":2572}}}],"partialFingerprints":{"codehealthFindingId/v1":"cecc2924a1601a1e06afbc8871d60c9679198c186c1608017654205bcaeb5cbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5536-5552 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5643-5659 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5892-5908 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5536\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":5536}}}],"partialFingerprints":{"codehealthFindingId/v1":"142eaed75cb1bb47e496ef4d8ad76e803590a4da103c9a66e08fd18f13a455ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:819-835 | kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java:70-86 \u2014 before extracting anything, compare \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java\u0060 and \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"3913905e71beb21bf252aad0fee880c31d51e47cc084b0314d6008c744db205f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:968-984 | kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java:191-207 \u2014 before extracting anything, compare \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java\u0060 and \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc8afd5fdd3c2accb9a7c414d3cc2683d7fc9e4ec1bed631169894cced281e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:6902-6918 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:6977-6992 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:6902\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":6902}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe08f2d86a6898fac61d7b3c6080c796eb9c7b284826c1cf3fc928322354fb53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3061-3075 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3117-3132 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3117\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":3061}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf8fd47eef3cf1301f81040011c4c84f1f1734d35301e8807eba0707c2eb0cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3219-3233 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3275-3290 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3275\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":3219}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac637cff4c71f476e198ac194841c09838f27c107b32fe1888aaed64800244a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3366-3380 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3422-3437 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3422\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":3366}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e9c566a8bce43e7fe376104a621c54ca6a1e045e0dd678206e2fa8dae5ebdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7039-7054 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7267-7282 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7039\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":7039}}}],"partialFingerprints":{"codehealthFindingId/v1":"865815c1f1760810b3d5f625d3667e2542083b1d6ccf0ccc21be2f49d249484b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/HiveIntervalDayTime.java:188-203 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/HiveIntervalYearMonth.java:116-131 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/HiveIntervalDayTime.java:188\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/HiveIntervalDayTime.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"213ea11935d6a5b9bd9a5b34ec8ada8ce47b2112f54ebdf80be9e295dc836c19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 3): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:1963-1977 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:4598-4610 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:6843-6854 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:1963\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":1963}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0470f605cf367094a46f191c760ce691999eba1d77c1c2ba5746bc44caa7a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5096-5110 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5270-5284 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5366-5380 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5096\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":5096}}}],"partialFingerprints":{"codehealthFindingId/v1":"67714a3a9f2960b4a20df371819041fde1d495e12974f36d526a51f1b90fd2e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/KyuubiHiveDriver.java:189-203 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/KyuubiHiveDriver.java:212-226 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/KyuubiHiveDriver.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5db6b2aadab155a5f1f9dce40af6bf136134fecc3c509bfa50760f7e8546ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:9155-9169 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:9173-9187 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:9155\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":9155}}}],"partialFingerprints":{"codehealthFindingId/v1":"0029649b220af4c6479d258773805a400ad2c6c83b1bb3e69069908c02a1b111"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2637-2650 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2678-2690 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2789-2802 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2838-2850 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2637\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":2637}}}],"partialFingerprints":{"codehealthFindingId/v1":"701389094d8c41208a8611876a80f3274efe09fba9597915bc47302f0be16136"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/hs2connection/BeelineSiteParser.java:75-87 | kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/hs2connection/BeelineSiteParser.java:100-113 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/hs2connection/BeelineSiteParser.java:75\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/hs2connection/BeelineSiteParser.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f01d9554d15161a4fdf7142db9fa9dcefc7ab512ae42c53cc990557efbce8fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java:296-309 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java:266-279 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 159 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java:296\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java:295\u0060 calls \u0060close\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java:265\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea994aa6f4075c3f9fa9ac27d04f53442faef7336ef4113f2a5e6116bf99687f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2719-2732 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2766-2779 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":2719}}}],"partialFingerprints":{"codehealthFindingId/v1":"202e6e699f7deb42d6bccaec8c4d27014de558abd2605251df29f08ca420aa17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7190-7203 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7293-7303 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7190\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":7190}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fc3f7af9ef18ff945402fe2c385bf8d6ffb32a8419cda70f640be2310e6af0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7809-7821 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7822-7835 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":7809}}}],"partialFingerprints":{"codehealthFindingId/v1":"b997681a437fb0f715ca16e9b0fd349992fd9e908a46f8304f6ba2ff6c9014f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:6028-6040 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:6071-6083 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:6028\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":6028}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1f737c4f76ba5d085fcd1cfd82b678bd4d0cb6580434be61f3cff08f6ff629"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:6935-6947 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7133-7145 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:6935\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":6935}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e060fcef51c2cb0bd5ea3decdf7eeab73509d97989aa20336ae7428da42d49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7213-7225 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7312-7324 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7213\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":7213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c579cae16e650104f0a6bedaed1d2ef9bc9b57d42787691b20cbce34e11c427"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 8): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3089-3100 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3247-3258 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3394-3405 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3558-3569 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3868-3877 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3921-3930 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5425-5436 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5943-5954 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3089\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":3089}}}],"partialFingerprints":{"codehealthFindingId/v1":"1261b74e0f396c60319990916c19b0a2cb2f52beed60b81b313821b3995ca524"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:9069-9080 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:9096-9107 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:9154-9165 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:9172-9183 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:9069\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":9069}}}],"partialFingerprints":{"codehealthFindingId/v1":"abeed5d9aa2eac4bf63d8eef79569205699c499a39d4334ce0eacadb08fe6d39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3796-3807 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3896-3906 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3949-3960 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:3796\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":3796}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c7eb6c3a5bf5e63b6defa7855026cfd0ebfa1c186feee5910d906b73c0b500"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:842-853 | kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java:92-103 \u2014 before extracting anything, compare \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java\u0060 and \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:842\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"8680e283ffc93f3c7d853fe65dbd58520897ec2ecd1245ee232afa8d9df51b56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:1542-1553 | kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java:449-459 \u2014 before extracting anything, compare \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java\u0060 and \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:1542\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f40a1ab8c3656624425e6b544951b2cbbb42fd951716379d4a041d61b100ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java:467-478 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiBaseResultSet.java:543-554 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiBaseResultSet.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d86b9ce41bf98f42b738f19b42bd210c72af1030852d1711038d6aaef16097"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java:312-323 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java:282-293 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 159 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9645f4a636e57e1c6e59f909ebbfecf00aa2a16d7db63516571f473dea88bc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2360-2371 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2376-2387 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2360\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":2360}}}],"partialFingerprints":{"codehealthFindingId/v1":"5542a7f425bd43d9a6d047fa29fb7bae6c9f0e9659473a3d9f9721cb81c63d69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7234-7245 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7284-7295 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7234\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":7234}}}],"partialFingerprints":{"codehealthFindingId/v1":"da262179663b402b9e060b6c21d39d6a697669376f6f7f86543cefe85a7fe07e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): kyuubi-util/src/main/java/org/apache/kyuubi/util/reflect/DynConstructors.java:346-357 | kyuubi-util/src/main/java/org/apache/kyuubi/util/reflect/DynMethods.java:632-643 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-util/src/main/java/org/apache/kyuubi/util/reflect/DynConstructors.java"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"8767c5a79e6d42c30d6d5a1e8d290dbc77b32c41496c76b31a2f2587900494db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 8): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java:82-92 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java:201-211 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java:259-269 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java:341-351 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java:467-477 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java:617-627 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java:650-660 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java:736-745 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java:82\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"10dfc589ebb1bc0dc0e89267ef76c80e342bdaee151859ef3c635dff2f69b994"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:4044-4054 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:4056-4066 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:4068-4078 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:4080-4090 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":4044}}}],"partialFingerprints":{"codehealthFindingId/v1":"59431bc620472832ad37e1fa672e5a1082d4c9bed91422284b23f71326b582e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2598-2608 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2643-2653 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2795-2805 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2598\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":2598}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e11fe97c8d242a4d5ac1015d9beca0cd6f5237a8aa083b44442d37ccf7141a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/DateUtils.java:26-36 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/IntervalDayTimeUtils.java:30-40 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/DateUtils.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ce8f92b471332dfa1ad25b1fc64997182c3a370fe013cb4060138b50951b07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:289-299 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:591-601 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c54ac117796ba3080741e79afb3a0ebc77ff1ccb051f079176dd7fa28e752f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2121-2130 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2135-2145 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2132\u0060 calls \u0060RuntimeException\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2147\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":2121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a23d3fa3a42bafe4e46b578dfce1fd0eb2c16a8862b01b02021f293c4b4e3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5477-5487 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:6625-6635 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5477\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":5477}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c1727461cda8b748f2037b4dea8f2ba872266b8f3dfe6f11e6a16ecd436849"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5755-5765 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5798-5808 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5755\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":5755}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d98ed891f298918bbd2ae386d3fe57a19bb3ed8610cf8510bf2f4c40ce25160"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:6919-6929 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:6982-6992 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:6919\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":6919}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8b34bfb506c5cd487e97b2aa3ed78aa17d5d20d830d1d3e3592d3da86af5ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7006-7016 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7133-7143 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":7006}}}],"partialFingerprints":{"codehealthFindingId/v1":"048e75eba6328505900ed6630c77de2498cbcd90a22db44a86f64700531ab791"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7210-7220 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7301-7311 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7210\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":7210}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c852946e2b2b15376881c82a121863a67479533f7282667d978747dc884bc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:9119-9129 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:9190-9200 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:9119\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":9119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d240316325e94017a50fe0d71a15a7a24c8764123f50ea395e1e202e2232597"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/KyuubiOperationEvent.java:81-91 | kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/OperationData.java:63-73 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/KyuubiOperationEvent.java:81\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/KyuubiOperationEvent.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e405c82881d49c8ac7018a5302f51ff8eca170f404807be69b4edb799b1a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5081-5090 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5251-5260 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5347-5356 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":5081}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af739ec76168b2ebb18123789a6b335b93829f8f1bb5550a743c528efe63063"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5524-5533 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5631-5640 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5880-5889 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:5524\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":5524}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2e4e3537ba9a4b66545e4c6289a8fded45fa6df9cd8f63d6f532bdf2abac79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:1503-1512 | kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java:414-423 \u2014 before extracting anything, compare \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java\u0060 and \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:1503\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2725018ae293089c0cd960e5771c0eb16a18a19b8ddae323e5229e4f531aac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:1585-1594 | kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java:503-512 \u2014 before extracting anything, compare \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java\u0060 and \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:1585\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"804d82b315e92ac6473b02d7182df1d1f9c89708cd1e5664690831faff9174f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:4804-4813 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:4859-4868 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:4804\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":4804}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5854bfc211b9c9ba228f68c66fdcf9d6547cf7bcc5907311b72f3f1753fbeb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): kyuubi-util/src/main/java/org/apache/kyuubi/util/reflect/DynConstructors.java:74-83 | kyuubi-util/src/main/java/org/apache/kyuubi/util/reflect/DynMethods.java:78-87 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-util/src/main/java/org/apache/kyuubi/util/reflect/DynConstructors.java:74\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-util/src/main/java/org/apache/kyuubi/util/reflect/DynConstructors.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"132e4a31a65994030de2698aaaf04d31fcee5f512f192243e5ba7eff8169cc17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java:131-139 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java:120-128 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 159 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"766e610d8c2e639cf8862976323dfe3b10bc8c38e84806dbec603591291fae15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java:720-727 | kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiBeeLine.java:211-218 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java:720\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14a99a63a007b427bacef66e726339b9a063c82d2bbdf16949c59a1ae4ac1dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:450-457 | kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:469-476 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:450\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b17794df7966ede7f344211aec21340c07e39b16c8548c95d35ece7d3f452b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2351-2359 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2367-2374 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2351\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":2351}}}],"partialFingerprints":{"codehealthFindingId/v1":"24179f4dd6ad0a3b117f5ce5a976e03801c04313b9350d16207712a267b8acc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7059-7066 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:7067-7074 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":7059}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1600b9f8d60dce11f887a06d8d82c923598802bedb9aa214a9eb4f418ba19a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2350-2356 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2366-2372 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:2382-2388 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":2350}}}],"partialFingerprints":{"codehealthFindingId/v1":"d507ed3cd6acd21805349545babb87dcd427086a79d4bd9ca08acd85500e96f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/Utils.java:356-362 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/Utils.java:365-371 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/Utils.java:356\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/Utils.java:364\u0060 calls \u0060getSessionVars\u0060, \u0060containsKey\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/Utils.java:373\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/Utils.java"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"8137e517e2f2c0b65aeba491cccc52569f83b3d725bf81de3c4d8e0a8bfaf1c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:9023-9029 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:9036-9042 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":9023}}}],"partialFingerprints":{"codehealthFindingId/v1":"862c724ab079b7357b546368933401d8317c697ab46300257f58c86602e333e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/AdminRestApi.java:112-118 | kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/AdminRestApi.java:136-142 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/AdminRestApi.java:143\u0060 calls \u0060isNotBlank\u0060, \u0060put\u0060 and \u0060kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/AdminRestApi.java:119\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/AdminRestApi.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65852ec93db365c7a3811e24942de1132d72e717db03952f961b67960e867f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:4043-4048 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:4055-4060 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:4067-4072 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:4079-4084 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:4091-4096 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":4043}}}],"partialFingerprints":{"codehealthFindingId/v1":"94066841dd811d6e7b8ca67cfccb55e5618eac78a448d79d9e95a0b6909b0ea1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:8222-8227 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:8342-8347 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:8222\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":8222}}}],"partialFingerprints":{"codehealthFindingId/v1":"07bf6e49a027796ca73a955d4efd3e9f346179c75d1cf33176f0e9c8262e3af1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:4038-4042 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:4050-4054 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:4062-4066 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:4074-4078 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:4086-4090 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":4038}}}],"partialFingerprints":{"codehealthFindingId/v1":"1262bdb47d773de54f0dcf3dce49b13b09ae433c3de609786cc3bbcf3cf30f5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/hs2connection/BeelineSiteParser.java:83-87 | kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/hs2connection/BeelineSiteParser.java:108-112 | kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/hs2connection/UserHS2ConnectionFileParser.java:86-90 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/hs2connection/BeelineSiteParser.java:83\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/hs2connection/UserHS2ConnectionFileParser.java:84\u0060 calls \u0060setProperty\u0060 and \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/hs2connection/BeelineSiteParser.java:81\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/hs2connection/BeelineSiteParser.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e63e0147dc9674fb6d151042ffc585a6e458ef95c6b8bfcccdf0fc799232b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (139 lines \u00D7 5): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java:32-1096 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLConnection.java:27-165 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLDatabaseMetaData.java:25-551 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLPreparedStatement.java:30-212 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLResultSet.java:31-752 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLConnection.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 3195 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java:32\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6804b94df0f7a36f1d745af4d157cf24fd13a53c235cee89f9cced0e6cab8493"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (527 lines \u00D7 3): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java:32-1096 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLDatabaseMetaData.java:25-551 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLResultSet.java:31-752 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLDatabaseMetaData.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 5325 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java:32\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c811e3e0c49fc4eb77279d106b2dad8bbb164be1255341d5abe113f34a821f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (183 lines \u00D7 4): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java:32-1096 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLDatabaseMetaData.java:25-551 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLPreparedStatement.java:30-212 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLResultSet.java:31-752 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLDatabaseMetaData.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 5325 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java:32\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f980ad20bd074ba024c5d1dec83a3c07b9e62e8b8003807f9cf439acadbc06ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (722 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java:32-1096 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLResultSet.java:31-752 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLResultSet.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 6390 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java:32\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec20b7b87c862c98c99213d92d444066a1dcd447fd676f63d7e88b783bdafbb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 7): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java:32-1096 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLConnection.java:27-165 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLDatabaseMetaData.java:25-551 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLPreparedStatement.java:30-212 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLResultSet.java:31-752 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLResultSetMetaData.java:27-69 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLStatement.java:28-115 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLConnection.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 3195 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java:32\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b16a021305c155eebeb56ee48b0a3597ebd2ddfbd955428386e1dd9f842c38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (88 lines \u00D7 6): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java:32-1096 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLConnection.java:27-165 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLDatabaseMetaData.java:25-551 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLPreparedStatement.java:30-212 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLResultSet.java:31-752 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLStatement.java:28-115 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLConnection.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 3195 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java:32\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43528d87363ffbfc2108a2767f07e97abebae68ec8ae11d27206b7b271c6b15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java:431-446 | kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiBeeLine.java:121-131 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d725bdd17de1f6e02131562d0af60caa0cf1c01fbedfb275caab8972c7ec96c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:812-816 | kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java:63-67 \u2014 before extracting anything, compare \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java\u0060 and \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a27c1da0902b10a4551e67a1cb354af9741d94e2f7e62c10a14fe722079874e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/hs2connection/BeelineSiteParser.java:133-140 | kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/hs2connection/UserHS2ConnectionFileParser.java:111-118 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/hs2connection/BeelineSiteParser.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9b9a9ed6ffb8e7a62175b49b0c7242e8c24c967247680edd5faf345ca11f95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java:203-213 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiBaseResultSet.java:231-241 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiBaseResultSet.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d9c302210f90ccfa1dc456d5395c2e9fb1fd01caf3f647c977b92a86408c12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java:220-226 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiBaseResultSet.java:248-254 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiBaseResultSet.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b19794a2bd00ab63207daa2730fcf5dc4e6a6a1d8217beb68d5a8d08ff20e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java:437-448 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiBaseResultSet.java:513-524 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiBaseResultSet.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c25c475a66b78eb589e6f5290b2df9e2c4a45523ba59c583d44711eff08fd7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java:455-463 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiBaseResultSet.java:531-539 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiBaseResultSet.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78fc13f5149be0e3540af565623260c4f4bacfbad37dc094a24a54014ded365"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java:486-496 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiBaseResultSet.java:562-572 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiBaseResultSet.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c6d5aaa1c522d4d7232c92e00ca2c4434b3ba0cc1c0306489eab756eefe8f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java:503-511 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiBaseResultSet.java:579-587 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiBaseResultSet.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"661bc6dc1f15d2b5f90fd6cf5c998d43d666642f65c882e306f000ed6822086d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java:120-127 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java:109-116 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 159 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4208109c8fe6da9dfa652a0a8499502021808b74c21ca65a92cfc777ae41bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java:283-291 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java:254-262 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 159 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java:283\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java:295\u0060 calls \u0060close\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java:266\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c34b6edd4c530186e9ac8efd1c7327ba158e614c51fa401a79b798bc5411f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java:428-437 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java:379-388 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 159 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bd5b3384cb4857bdda677df2dd4de08f484c5f567016a106e4650135b12a9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java:454-463 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java:405-414 \u2014 before extracting anything, compare \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java\u0060 and \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 159 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"836e5d21ad955cf2cc5533127558d7f8b0ab984ab126c3fc3e49a4d73d16f196"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java:508-519 | kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiBeeLine.java:103-114 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e966d55cd5d72c06c9b910132b5bd901b59b15aaee068df608419baf054947e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:1231-1244 | kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java:370-383 \u2014 before extracting anything, compare \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java\u0060 and \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java:1231\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"32fc52c640d8a9dfc8ea9203dcde27e59f9c95ca344c0d14328dc66d60ca766e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/HiveIntervalDayTime.java:148-156 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/HiveIntervalYearMonth.java:92-100 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/HiveIntervalDayTime.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d9ac51a666e8982038f60e4e65771892436eff616f56560066f31d275ef525"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/OperationRestApi.java:37-41 | kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/SessionRestApi.java:59-63 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/OperationRestApi.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e90391ebbaab4804ed4ce53e41e079613039d681376b2851cc0e5add0e4c878"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiSQLException.java:152-156 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiSQLException.java:166-170 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiSQLException.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"04463b45d0d1a289173e2bdb0a551153bcfe7984ac64cdec25f8d1730978e60e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:8008-8012 | kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:8106-8110 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java:8008\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":8008}}}],"partialFingerprints":{"codehealthFindingId/v1":"017abc5eeeba1b4aceff18ff1902a9d74bcbf70445388d0a985af1d58c449145"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): python/pyhive/presto.py:245-278 | python/pyhive/trino.py:67-100 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/presto.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"898378d7e99139ac94a45c9f0e450998d641be9dc9b24496338643fed6ed0a8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): python/pyhive/presto.py:326-355 | python/pyhive/trino.py:103-132 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/presto.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63f9752004bf6fb1791d8de8a4d0eb95d3c5e4ca9060364e43a8db2eb020b16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dev/merge_kyuubi_pr.py:119-128 | dev/merge_kyuubi_pr.py:159-168 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/merge_kyuubi_pr.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b25c2f9153c5b04c2d2513b0dad790975634ff192545a3831f8307052af4dd"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: kyuubi-util: kyuubi-util: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"70e2a2fd23281b0c7f14a10d54639f7cfcf52f32d80bd0f141e3c8a147130dd2"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: kyuubi-util-scala_${scala.binary.version}: kyuubi-util-scala_${scala.binary.version}: abstractness 0.00, instability 0.17, distance 0.83 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"27bb95626a40b4040797133820801898e4d7b69273fe8497528fdf32f3ce62c7"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: kyuubi-ha_${scala.binary.version}: kyuubi-ha_${scala.binary.version}: abstractness 0.09, instability 0.10, distance 0.81 \u2014 zone of pain \u2014 concrete and depended on by 9 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0a7c4473c615c64df74519d8f21f992f5d95a09fe130a66c582d81747ac1866c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TFrontendService (LCOM4 27): TFrontendService\u0027s methods fall into 27 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 27 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/service/TFrontendService.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbeeff5a04c976bae96c64c49e853fcbc93c816470ea34e9c41f5f13b6605762"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: KyuubiOperationManager (LCOM4 16): KyuubiOperationManager\u0027s methods fall into 16 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 16 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/operation/KyuubiOperationManager.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb34a98b417a5a7704fa682e7aa8d2ff678fc587c185046655e57ba96e1a6c7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FlinkSQLOperationManager (LCOM4 13): FlinkSQLOperationManager\u0027s methods fall into 13 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 13 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"externals/kyuubi-flink-sql-engine/src/main/scala/org/apache/kyuubi/engine/flink/operation/FlinkSQLOperationManager.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2661b6e4305c9a6777f03062a74174211c9a7fd1ae16f0380bcf403758a54c24"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SparkSQLOperationManager (LCOM4 12): SparkSQLOperationManager\u0027s methods fall into 12 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 12 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/operation/SparkSQLOperationManager.scala"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdaa584353d6ae9fcbd227fbd71f9fd6b671c943a7a9cb61d141284d674bf56e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AbstractOperation (LCOM4 6): AbstractOperation\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/operation/AbstractOperation.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e51fc9bb22ffdf1cbd2656ed097a09814bd5b28768b854e87459a6ee133abc6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DataAgentOperation (LCOM4 4): DataAgentOperation\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"externals/kyuubi-data-agent-engine/src/main/scala/org/apache/kyuubi/engine/dataagent/operation/DataAgentOperation.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"099be7b87e71ff2375dac6076cb1807542d6101504df64261b4f7c7299600976"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FlinkOperation (LCOM4 4): FlinkOperation\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"externals/kyuubi-flink-sql-engine/src/main/scala/org/apache/kyuubi/engine/flink/operation/FlinkOperation.scala"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1812ca0375bef7d0aa08f09d7b87f5da4e126798c1874d3bc92bfa35305d2603"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TrinoOperation (LCOM4 4): TrinoOperation\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"externals/kyuubi-trino-engine/src/main/scala/org/apache/kyuubi/engine/trino/operation/TrinoOperation.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70ab0aa51fe562baab4c9e8716be4f366f184275b8395b3aae04d4c1abae45e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OperationManager (LCOM4 4): OperationManager\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/operation/OperationManager.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2c58b2634e17abf73dcd3439b7e31a40e6bd08c1bf29800b0cbd35aa49dfd3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HiveYarnModeProcessBuilder (LCOM4 4): HiveYarnModeProcessBuilder\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/engine/hive/HiveYarnModeProcessBuilder.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3899762f07cf6e4cab627673fc7eab9a23d98e2a8dd800a1f0f7ddf6fa4f81a7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ExecutedCommandExec (LCOM4 4): ExecutedCommandExec\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/operation/ExecutedCommandExec.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c1ea244524621c19153eaa35ba9f22f00cea20b0a49c34d50c083d8de7b235"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LaunchEngine (LCOM4 4): LaunchEngine\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/operation/LaunchEngine.scala"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"90162a80cddf38cf8599fcaad7010f9a5f05799b496c2747ea6e94cbf4860fa3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: KyuubiTBinaryFrontendService (LCOM4 4): KyuubiTBinaryFrontendService\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiTBinaryFrontendService.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9c48f35c3e8b9e3256906dc5dc4f906fa6bdf05b299663395e46b433b08b9b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses navigator.clipboard when available: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/test/unit/views/data-agent/clipboard.spec.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3566b993cf02b8287e47726e1701d0dfe21edd46476f5293e0233c74b24caa"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: falls back to execCommand when clipboard API throws: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/test/unit/views/data-agent/clipboard.spec.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4306a066bd342d8828757af2860249795d67a9bfacb64dda47d02ee64207b119"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: warns when both paths fail: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/test/unit/views/data-agent/clipboard.spec.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6af2eb2ea0ee3e7f66778450d03c81b93f99aec3980d393555b24aa47a8e824"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd8e0cc21820943c4e817f5dcc37166555569575570cf296c1db933d5f1352b8"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a23d9ee83df964f90c1b831e00b6bda650c46d9dc729e4026e99e1b930c12f21"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 9 significant file(s) lose their only recent owner: dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala, extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/HiveConnectorUtils.scala, dev/merge_kyuubi_pr.py, extensions/spark/kyuubi-spark-connector-tpcds/src/main/scala/org/apache/kyuubi/spark/connector/tpcds/KyuubiTPCDSResults.scala, dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/benchmark/Query.scala, extensions/spark/kyuubi-spark-connector-tpch/src/main/scala/org/apache/kyuubi/spark/connector/tpch/TPCHBatchScan.scala, extensions/spark/kyuubi-spark-connector-tpcds/src/main/scala/org/apache/kyuubi/spark/connector/tpcds/TPCDSTable.scala, dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/TableGenerator.scala (\u002B1 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b98a0ab7f61a85832d49dbcafd5d12da216d360fb55bc0fce8feb256a3666143"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 7 significant file(s) lose their only recent owner: kyuubi-util/src/main/java/org/apache/kyuubi/util/reflect/DynMethods.java, kyuubi-util/src/main/java/org/apache/kyuubi/util/reflect/DynFields.java, kyuubi-util/src/main/java/org/apache/kyuubi/util/reflect/DynConstructors.java, kyuubi-util-scala/src/main/scala/org/apache/kyuubi/util/command/CommandLineUtils.scala, kyuubi-util-scala/src/main/scala/org/apache/kyuubi/util/reflect/ReflectUtils.scala, kyuubi-util/src/main/java/org/apache/kyuubi/util/JavaUtils.java, kyuubi-util-scala/src/main/scala/org/apache/kyuubi/util/SemanticVersion.scala. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4004ec3de879ff7b2846cb458b5220dd8523d20c0af66346c47fd1c0f9f05cff"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 7 significant file(s) lose their only recent owner: extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiSQLConf.scala, extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSQLConf.scala, extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSQLConf.scala, extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala, extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala, extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala, extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InferRebalanceAndSortOrders.scala. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"663fd7061b13ed63e171fa68f6f4f26e8310b0cdfb5adb1ad3bb77677bdcf3a7"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 5 significant file(s) lose their only recent owner: kyuubi-common/src/main/scala/org/apache/kyuubi/service/authentication/ldap/LdapUtils.scala, kyuubi-common/src/main/scala/org/apache/kyuubi/service/authentication/ldap/LdapSearch.scala, kyuubi-common/src/main/scala/org/apache/kyuubi/service/authentication/ldap/QueryFactory.scala, kyuubi-common/src/main/scala/org/apache/kyuubi/service/authentication/InternalSecurityAccessor.scala, kyuubi-common/src/main/scala/org/apache/kyuubi/service/authentication/ldap/CustomQueryFilterFactory.scala. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3571fac8faac4add1334973f889551069d22b95cb15d2f5e4bc41e28f2b2899e"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #5: If anonymized user #5 becomes unavailable, 3 significant file(s) lose their only recent owner: kyuubi-util/src/main/java/org/apache/kyuubi/util/SubjectUtil.java, kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/auth/HttpAuthUtils.java, kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/auth/TSubjectTransport.java. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"31fbbc8a5e0ca4656ab281582b3db7afe625b39c65347885a13ee8b599043c4d"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 7 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (41 single-owned of 495 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 495 of the 874 production source files in this repository met that bar). They are anonymized user #6 (3 file(s)), anonymized user #7 (2 file(s)), anonymized user #8 (1 file(s)), anonymized user #9 (1 file(s)), anonymized user #10 (1 file(s)), anonymized user #11 (1 file(s)) (\u002B1 more) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: kyuubi-common/src/main/scala/org/apache/kyuubi/service/authentication/ldap/Query.scala, kyuubi-server/src/main/scala/org/apache/kyuubi/server/http/authentication/BasicAuthenticationHandler.scala, kyuubi-server/src/main/scala/org/apache/kyuubi/server/http/authentication/KyuubiInternalAuthenticationHandler.scala, kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/DataAgentResource.scala, kyuubi-common/src/main/scala/org/apache/kyuubi/util/ThreadUtils.scala, extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/write/HiveBatchWrite.scala, kyuubi-events/src/main/scala/org/apache/kyuubi/events/handler/JsonLoggingEventHandler.scala, extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/rule/datamasking/RuleApplyDataMaskingStage1.scala (\u002B2 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO verify against parser \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/hive.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc610b1ebe9ac133570921d3c925eb99021b45f6b2aeda7010e63e785837a1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO cancel outstanding queries? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/presto.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5a61e7be3fc40c4b35c99e9f11a98e69871be9667ae0097037898c3dcce3e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO handle HTTP 503 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/presto.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"81804567cb35359d21a79f1548740712b6109caabade3f01e0a54f47fcb6480b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO handle HTTP 503 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/trino.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"00136abbe655a1274c3ed697de6de7fddca88f609a1846f5472270779d47fd59"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO shouldn\u0027t use mysql type \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/sqlalchemy_hive.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff04aac7549bcd0fa6123599677da67768e353bff209f13c1df1306813a752a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO shouldn\u0027t use mysql type \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/sqlalchemy_presto.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"df892585f5eeedaeed2c79e92a2927e27e5903c5bece7ab8bcd53dfcc6d653a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO shouldn\u0027t use mysql type \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/sqlalchemy_trino.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43ae8694419e333d257022cd351083336f90c3745fce3ef1c545a47a36fa6b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO using TGetColumnsReq hangs after sending TFetchResultsReq. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/sqlalchemy_hive.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a76a662382d04a64d6c8ff46779c9351c0e560dbd7c148e9285d0129489b250"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO Presto drops the union field \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/tests/test_presto.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f74636667128857821fb00fbd3822982eef24061b3a71ac715d609daebdf8c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO some of these types could be filled in better \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/tests/test_sqlalchemy_hive.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d28b90edc49f626cad6bd7e35054017692a3e8b1047999b31ec059a0c7b1b01"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO some of these types could be filled in better \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/tests/test_sqlalchemy_presto.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39221e12864e7eff94a8238f7cbc710492a5a9e02cfbd32e810984c993975c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO Trino drops the union field \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/tests/test_trino.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6caf1f80d7e86395359da92c1183469b8bac301e6760f564e2012946cc6290"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Is it right in prod? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-zookeeper/src/main/scala/org/apache/kyuubi/zookeeper/EmbeddedZookeeper.scala"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"01643b35b4757db93f922680a503700979e0e026c87107406cd8a7f2c21ac650"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add more test when add more batchType \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/test/scala/org/apache/kyuubi/server/api/v1/BatchesResourceSuite.scala"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"a609af66525a1b04f5b8057522ae8b5081f67d90861f202609baf5697627e841"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO KYUUBI #745"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/test/scala/org/apache/kyuubi/operation/KyuubiOperationPerConnectionSuite.scala"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb09335c15836e0c0989024e60ee71cbd1052ea3943005a7a81514160edce227"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: re-enable this test on JDK 25 after upgrading Hadoop that includes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/test/scala/org/apache/kyuubi/operation/KyuubiOperationPerGroupSuite.scala"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f582e3438c254e45ae19fa083709897e929657c1ca7845ab60f83f3e16ea802"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO mvoe to EngineRefTests when etcd discovery support more engines \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/test/scala/org/apache/kyuubi/engine/EngineRefWithZookeeperSuite.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a365879a884921bc9666aa7f90dd961be090d424a6b950ca0fbb1a472395cf98"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // The following 2 lines are exactly what MySQL does TODO: why do we do this? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/sql/parser/KyuubiParserBase.scala"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"10509f991928d6eeb0afe6fa57ceffa5e5aab6d86bc85da2c0a64ab8e504a998"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: the statistics are wrong when we enabled the arrow. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/BackendServiceMetric.scala"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"44354ea9fa642d7f62bf32e7b38724180e3b28eac7af27a76e0ceddd2c341812"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO expose metrics, including pending/running/succeeded/failed batches \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiBatchService.scala"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede51e16ebdcda56d61f4718ea66ac4a88873bff90cbb2be3704021bde5f93b1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle dangling batches, e.g. batch is picked and changed state to pending, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiBatchService.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd757b8337338e43ca8afdf39715084f9a95e0d5a8928043822bc93873f1a29"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support replace \u0060preparedStatement\u0060 for Trino-jdbc \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/TrinoContext.scala"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2c25c7c7b1d3e21b3fecc4935c29409df18ee8337910277d05c0102ecb6179"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make complex data type more accurate \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/TrinoContext.scala"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"e827df6b691107bae8747411e4a7033b73a85dfbb6e52062faa1f5f616891175"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support to config kerberos.name.rules and kerberos.rule.mechanism \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/http/authentication/KerberosAuthenticationHandler.scala"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"193d2c691e74fd35710397da40065d9c7de0d35474fe4b8fa60460958221838b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: to improve when https is enabled. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/KyuubiOpenApiResource.scala"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9988bc35191e9352e8bc800d2320b60a06db8e3ef599b3215c39cd1285c8ec56"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add limit for max batch job submission lifetime \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/operation/BatchJobSubmission.scala"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ff96f15b159d731cd0b430d65aec7615fe41913f1fb1cac471fb11a29ee9e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: temporary fail-closed. The engine does no Kerberos login of its own, so an auto-derived \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/engine/EngineRef.scala"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d00957a3da462caea3dedbac1011a080ac2ecbb79f4df7689da06b5e948e6e5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO check if the process is zombie \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/engine/JpsApplicationOperation.scala"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e84384b186b992d0f9d7a179ef6fc640103bd3a1c32291cfae4b99bf3151314"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add deploy mode to check whether is supported \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/engine/KubernetesApplicationOperation.scala"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5dd0f450cfed75767ac861cf0853160d4a18731944d7e9bbaffbb46020a4989"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe add a configuration is better \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/engine/KyuubiApplicationManager.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c559e15e1dfa9b85970b66c5a917a149803e6cd1e41cfb77afd6809207dc5ec1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check flink app access local paths \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/engine/KyuubiApplicationManager.scala"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b1278eb937548e4847ae6fbffbb1bf8d158c15641307e5585c4e1def82e740"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: How shall we deal with proxyUser, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/engine/trino/TrinoProcessBuilder.scala"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"31aaf46578d88ebc507f28fba7717a9a9a5441c3485599105fb9c99de945b7b4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO respect doAsEnabled \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/engine/spark/SparkBatchProcessBuilder.scala"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9af796502bc299e70369c3cc25b4a3c05ba22d6b2c7730c77a43121b844345"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO do kerberos authentication using JDK class directly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/auth/SpnegoAuthHeaderGenerator.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c560a862412ea43f57931cecfa3a390025d84c16d3ce6e043def6f2776b52267"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO need session handle \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4659e97f4c3e028fda7d64211d67969b7223d0afed5521c72a9401e41855362"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO need session handle \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"edebff0593a4588a3b8e3caafd72be7d6dfc86fe343f3b41b1e68e8b8a633fdf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO need session handle \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiStatement.java"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33646723260e013ea2db35d8f0f324c46f0c15a1256176b958ae468d65b2730"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should probably throw an exception here. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"9653d5be805d7cd740fcb82d267b2655e0d0de830edc2b0bf7e189cd9f3914ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should probably throw an exception here. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cd1dc7b69da534dc67bd63ec56cd801494892e37492746bbe5bc3709f86293"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: returns json string. should recreate object from it? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiBaseResultSet.java"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"e997e972a01f38fadf4090a308992c6396007f367d3c17dbe7d60852904cc5c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: throw an exception? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d2318f8d202be242b6f9c94f293c3a6f61c27a757a783b2f7a582e8b86a1d1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: perhaps this could use a better implementation... for now even the Hive query result \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"00295918c34f4cf36382a6d3d228a493fa376dfc9721484da39177d170d9d50a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: verify that this is correct \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1a2afa59f1e4716b1c04c814a891a10281e68e9ce66c7816431daaeab5d32f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: set correct vendorCode field \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiSQLException.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"15886b03b4f3a143ee439e9e25d03aa8231b98c67146a44f1613bfaad58708d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make script output prefixing configurable. Had to disable this since \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":2126}}}],"partialFingerprints":{"codehealthFindingId/v1":"622a5731339b65e56a435986154bbd5a630a76d7cf3fb4aecbc1536279549b57"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // ### FIXME: doing the multi-line handling down here means \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50338151c1c62cfc1e416f7d7f5b2283b92b09fbb6cfae822859112967bbe3c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // ### FIXME: doing the multi-line handling down here means \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a82aefec62fe3c5bf9acbff9964e1f99348d41a2def04c1086fab7e64314f7d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // ### FIXME: this is broken for multi-line SQL \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":1644}}}],"partialFingerprints":{"codehealthFindingId/v1":"88437416152f387d3cdcf027b319941d062a27faa43f5ec1bbb2c8b227b4b2c6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Setting autocommit should not generate an exception as long as it is set to false \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/DatabaseConnection.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87e5af9e127cefcb05fef1b6fb9788a39e8b684d2a7734d9ebd55476346c742"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Kyuubi has different logic to handle SSL and QOP properties with HiveServer2. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/hs2connection/KyuubiConfFileParser.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"98afd3e7bbcb391113e08dd941f6072c50bf6c85e89607b0f5b06faac175fc5b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use last one because to avoid touching some maybe-crashed engines \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/zookeeper/ZookeeperDiscoveryClient.scala"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"0918ec461216d4cbb57cf474304d0201c347d7d15efd40ffb776a28483cf3cf1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use last one because to avoid touching some maybe-crashed engines \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/etcd/EtcdDiscoveryClient.scala"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e57b2bd3ec050b00d082bfa3f0c3de40aca6f29d9288b6a965c090ac5b93c7b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: better do nothing? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/operation/log/OperationLog.scala"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd5caa0cd90dd958e57a1f939e92cf9bed220ed9d2c41c03ebbd4535b48f186"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Support more Spark version \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-tests/kyuubi-kubernetes-it/src/test/scala/org/apache/kyuubi/kubernetes/test/spark/SparkOnKubernetesTestsSuite.scala"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"023d9d8def4ccb1c87414267921d2cb2499279d85298b7ce5b12acbba3868039"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add entity type instead of parsing from string \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/dispatcher/atlas/AtlasEntityHelper.scala"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d108220f12c5848c7d493f2942e384edadbb19a7c2e59b3b198613ec86bdba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider calling \u0060fs.msync()\u0060 before listing to avoid stale read \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-yarn/src/main/scala/org/apache/kyuubi/spark/connector/yarn/YarnLogBatchScan.scala"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"87024a2a4e3feaee394e0fdf7f2c9642ddd27053733047a801d5337d11beb7cb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support path layout prior YARN-6929 (3.3.0)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-yarn/src/main/scala/org/apache/kyuubi/spark/connector/yarn/YarnLogBatchScan.scala"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c856cfe442d71d5371cfd61c9da40e899f11db01cb1ddf3526ffa6a3c2e2147d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO parallize bucket listing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-yarn/src/main/scala/org/apache/kyuubi/spark/connector/yarn/YarnLogBatchScan.scala"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfed09c7d705b4d58afa0fdd9a7bb3a57bd4e3c896883a4f3a6de5dff93998d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO the API docs say \u0022this method will be called only once during a data source scan\u0022, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-yarn/src/main/scala/org/apache/kyuubi/spark/connector/yarn/YarnLogBatchScan.scala"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"354887d8baaed78153fdbd12d9ba175d3483f271b255e1642cd7c46a58d78dc7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO support pushdown mtime \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-yarn/src/main/scala/org/apache/kyuubi/spark/connector/yarn/YarnLogBatchScan.scala"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"2457c18ee4f26cc91b58c2e39c468c338f3b31c6e6e838cd6f850ff462934a5d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO support pushdown log types \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-yarn/src/main/scala/org/apache/kyuubi/spark/connector/yarn/YarnLogBatchScan.scala"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"008bbbe671953853737e950c9d893c9211a22dcb009b6b5e83b4b825839e5ced"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO display the listing path, but need to figure out whether this method will be called \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-yarn/src/main/scala/org/apache/kyuubi/spark/connector/yarn/YarnLogBatchScan.scala"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4450f2037a10f6f158251f17288e1cfd47c1b9d51ae98255b1c2514de13856"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add a max line length threshold to avoid OOM on malformed logs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-yarn/src/main/scala/org/apache/kyuubi/spark/connector/yarn/YarnLogPartitionReader.scala"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"07292c1be0901ec372cbc025b769ea2b9370622de6f74ab1f0dda84b96798c60"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-yarn/src/main/scala/org/apache/kyuubi/spark/connector/yarn/YarnLogScanBuilder.scala"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"db13e6254443253d4413d6520cf704bc6b9e1d677cc1311e20d02707cc85f046"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // stdout, stderr, etc. // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-yarn/src/main/scala/org/apache/kyuubi/spark/connector/yarn/YarnLogScanBuilder.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"81899ef344587d1b767c9ee10a764b00d57929f547287a6e044483f95ff1bde2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO support non-EqualTo filters \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-yarn/src/main/scala/org/apache/kyuubi/spark/connector/yarn/YarnLogScanBuilder.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"994544678229a00efda35adc8e168ce052850b3a4df3797192bb264d54272cc4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO implement SupportsMetadataColumns and move some columns to metadata columns \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-yarn/src/main/scala/org/apache/kyuubi/spark/connector/yarn/YarnLogTable.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ed289510a94fd11d7e8b0d83d2000e5204a58caff97032bb226bdc532ed785"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: URI \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/write/HiveBatchWrite.scala"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b85c89510e8fa50ec41119ff68c4c303fdb14584dead02eb451a900d6e2456"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support ANSI SQL mode in the data masking rule. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/ranger/datamasking/DataMaskingTestBase.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c8e22d9aa9986dc9ee871d6fc742122d27be01f9f2bf9230660044f1c9e00f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: The v1 an v2 relations generate different implicit type cast rules for filters \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/ranger/datamasking/DataMaskingTestBase.scala"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cf67e7322f21999811642cc74c0bb15568401ea11922ffbe36dc8ee32b9d86"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add column desc \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/gen/TableCommands.scala"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8eebe044fb5f393b106bd40b387c54dff6f16c3b14b25a6328185dad0a6443e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add column desc \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/gen/TableCommands.scala"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1c7143aaa8224e35c5ac857b8683b0b0501b3120ce85bec29eaa014e67dd6c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add column desc \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/gen/TableCommands.scala"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5c5d2cf7d130def11b3575fd04e69420888a447753ac6c37ee05b68abb00ec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add column desc \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/gen/TableCommands.scala"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96f02765477f5e3f082f8a3a7d6f152ebc2392850ca0b2b75234a91df866195"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support catalog for function \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/PrivilegeObject.scala"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"492d2b0cb958723c6b451f76fa473d79b26e4b1269bcce704e0c53016dc5cdbd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove this if we support datasource table \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/test/scala/org/apache/spark/sql/ZorderSuite.scala"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"191c7936d5a9605b8349072ff7924277c8937d8b653bb5dbc96b1915fdd7f367"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove this if we support datasource table \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/test/scala/org/apache/spark/sql/ZorderSuite.scala"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08e419ec89873ee2b12ff406142436f49a15339fe8dbf1cc37d9f1b69a8c859"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove this if we support datasource table \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-1/src/test/scala/org/apache/spark/sql/ZorderSuite.scala"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"da983c07537a64e8950231356de517d6643ccd07fcc377047009313b0a8a895d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove this if we support datasource table \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-0/src/test/scala/org/apache/spark/sql/ZorderSuite.scala"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab67015220c6709a755fdb214bd9d5a6ffa0620b745f8cc837ef12dcd58f03f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove this if we support datasource table \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/test/scala/org/apache/spark/sql/ZorderSuite.scala"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe5deff6bb35c750b4c7d6318d91679d24324f349b92b416806b342101db9ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add more datatype unit test \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/test/scala/org/apache/spark/sql/ZorderSuite.scala"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b37533bb9a41ecaaa5b766aff44ed986351fe688dc6bec01d76e338797f9301"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add more datatype unit test \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/test/scala/org/apache/spark/sql/ZorderSuite.scala"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12bf19100d570179354926bef295a4298757223c4a93c70547130b45c15c66d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add more datatype unit test \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-1/src/test/scala/org/apache/spark/sql/ZorderSuite.scala"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48c117bd3b5fec77feaa4fc00fe513f9f2007542ab3d32a5304bcddf697e1fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add more datatype unit test \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-0/src/test/scala/org/apache/spark/sql/ZorderSuite.scala"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e2bdcd75624bd5bd736a3eaa9db80e7aa8993cfbd42bc3758a1610d9789a8e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add more datatype unit test \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/test/scala/org/apache/spark/sql/ZorderSuite.scala"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf8c48e1fba05db9faee638b285376cce92fc3b4356778d892c01e7da4699ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add following case support \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/test/scala/org/apache/spark/sql/ZorderSuite.scala"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebb9c93f9f1e12cd5e846c889e47ff42f17452e8bdc957bb0e9e8b8639dce55"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add following case support \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/test/scala/org/apache/spark/sql/ZorderSuite.scala"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"57dd9fc45bd0810357f20319b7e69349a359f28e5792933282114052d2e2355b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add following case support \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-1/src/test/scala/org/apache/spark/sql/ZorderSuite.scala"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ce48a05f15d8245d79c957217658eb72f777c6e4bf1e8c9c2bc16810a53a9e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add following case support \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-0/src/test/scala/org/apache/spark/sql/ZorderSuite.scala"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa9ec3bd1722ad7c5baca12b7245d30c9cf561ebb4f83cb1548316dee90d6f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add following case support \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/test/scala/org/apache/spark/sql/ZorderSuite.scala"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"becd0a3a5b523bc9ddbf9d6cc4fe691c23e915e5d2f58c2a4fc87b90f4faabd0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move this to query stage optimizer when updating Spark to 3.5.x \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7601c8838849b70996204b015c8ad9ada7782fddd53ba4c17dbf5c3580520015"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move this to query stage optimizer when updating Spark to 3.5.x \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b07b09f9d24c9efc1440cfec94e0e0ac5b7a388598ccbacb94f6f8fe032f1d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move this to query stage optimizer when updating Spark to 3.5.x \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b723a1bd2ace40ae6eafecaddb16a2f79bf3f7580c40d10a7a0e8f4a53a061a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move this to query stage optimizer when updating Spark to 3.5.x \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"01141ee43b488db0d51121f408d8b523fee1ad7b0cd03644de7399feb7a78f9d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move this to query stage optimizer when updating Spark to 3.5.x \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77044dbd4e47c64250891284c7dc6b70a5c0746117d2f504b94c013dde3d250"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Ideally, We can call \u0060CoarseGrainedSchedulerBackend.requestTotalExecutors\u0060 eagerly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c827dc4e0d4c239d0fe39a26e3f676400a6e5b28b0cc8eade7aac1b2c7272a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Ideally, We can call \u0060CoarseGrainedSchedulerBackend.requestTotalExecutors\u0060 eagerly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe42d5a15886dfd8f0564c7441c995e13a604e288b8a1e3ddf33122b0ad1512"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Ideally, We can call \u0060CoarseGrainedSchedulerBackend.requestTotalExecutors\u0060 eagerly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f209cd9145b7d438827c0dc9950f919860fc87f242f3b205c50022710aeb90aa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Ideally, We can call \u0060CoarseGrainedSchedulerBackend.requestTotalExecutors\u0060 eagerly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"29449b5cc1c7721066e0586a4aab561961b06da269f5ca7c5cbfd6b6ec01b2d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Ideally, We can call \u0060CoarseGrainedSchedulerBackend.requestTotalExecutors\u0060 eagerly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/InjectCustomResourceProfile.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a97305dd0202230103c48dceb046e822297ad5d50dafb942760722e6342b014"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: actually, we can force zorder even if existed some shuffle \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"684238a2e7ee58346a2605c4c20a644589342533a6fa5ed419f5524f0a6cb631"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: actually, we can force zorder even if existed some shuffle \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"282965c42cfa6fe57a240ecf7eb1648d79a23451e168f8f7d33c4957c21da565"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: actually, we can force zorder even if existed some shuffle \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"424ff0cde4604a8907566bccf66e35f9373f4fcce040f787f8056d794bdf9ca7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: actually, we can force zorder even if existed some shuffle \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"020d48f41a7aa63de303a8f0e61914ea968f9cf12f52dcbd4fd0ffcb213a2d5d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: actually, we can force zorder even if existed some shuffle \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/InsertZorderBeforeWriting.scala"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd63bf896a9cd721db1410cc911f89e2413783add3b6b1295ba6fc51ad77ccc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support convert hive relation to datasource relation, can see \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/OptimizeZorderCommand.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15d865a72f4e1689d238239c7e9c8b1a0e625de137b5d710c9a9438f58cc34b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support convert hive relation to datasource relation, can see \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/OptimizeZorderCommand.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"40acfce7ee221c8b74e780b1f47fa6d54566f24350ab7b719c42e1fac1248c1e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support convert hive relation to datasource relation, can see \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/OptimizeZorderCommand.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3e8f82a50dd26097b6154e1c70e18ee769eade110d04f8443eb9870e51d1d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support convert hive relation to datasource relation, can see \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/OptimizeZorderCommand.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfde8860a613fd9ba50805731a240985c5387f1c1b245326b71f5f278a15ab0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support convert hive relation to datasource relation, can see \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/OptimizeZorderCommand.scala"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd94d4398319222c9249e4ad028da5a488472715e1a45e7ac190019476001e64"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support datasource relation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/OptimizeZorderCommand.scala"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51c46eee1069ba12a02c0b3c17ced9f7cc134a63dda280f15f05639341b606e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support datasource relation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/OptimizeZorderCommand.scala"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5136135de1741b9472f0d43a323ba29adea7d708c9c7e24986e3d7c11a030c8b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support datasource relation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/OptimizeZorderCommand.scala"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d510d70f8bfd7d03e5de52b220422ad3359db54629432d17826f8400fc58957"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support datasource relation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/OptimizeZorderCommand.scala"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0c8c39a0985339c3d8f2ef436be81a1ef87b3ec3840dff277c53ad170fb5b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support datasource relation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/OptimizeZorderCommand.scala"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a6ea0ae05cd28ed1d4c87b6e93cc2aa0df359bc2bb20838d3f6abddc5e7ca8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support read and insert overwrite the same table for some table format \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/zorder/OptimizeZorderCommand.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d507c8b97405feba7335957e4894ca078278dd93dc2b5a8963362c7d8ad0e30"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support read and insert overwrite the same table for some table format \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/zorder/OptimizeZorderCommand.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38510fcbacf64ca8a2cdf656dbf7b653825d42071b562d92871265129b3617e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support read and insert overwrite the same table for some table format \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/zorder/OptimizeZorderCommand.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4d896b7a75d7f2a436108e9d91fdd4bb38fad8cfedc3dd65981a50f778c0f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support read and insert overwrite the same table for some table format \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/zorder/OptimizeZorderCommand.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"787656358eb7185781b86e4303da99be6513cb24486192b17cc42d74f45a9c84"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support read and insert overwrite the same table for some table format \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/zorder/OptimizeZorderCommand.scala"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0382a956041a5dbc85ddc01d35fca741cc34749b084b617cc508ba05578664"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 2 of 39 project(s) overshoot their size bounds, lowering Project Cohesion to 9.0/10. The most over is \u0060kyuubi-server\u0060 (18387 LoC, 187 module-visible types across 33 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f0d2f2ccc7979741c9f9776744f65c9da5130b2509f0084cda7411ee74d55bc"},"properties":{"commitSha":"ada9b0590ac7169d1c6f571883897030a758dba4"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"53ba2bc86e32317dfdd1f06582d658c0b65c8240b6c4f0194fdcd8bc7b556d32"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"be9470a2b6f574323bd3ecce546db50ea8ab49bfa8e0bccb032ec95ba06faffc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"abe006a666bff241ba1880fcdc0acd5bdda7aeb55430d0c86bf598368ed8ee44"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"301c4cb1b548c1f0c132fee63e50564a7eafe9e99661e6ee35cf386d0d833103"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e74a5a803523685c6621c241cdab3fbaf406563d6cff837fe726585dd71d07c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d84f4d1eab3018fb8f45de76d22af06c30b995241b9ee3d848fa390f8d7b772d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"089ee8b06e2aea9f6af05c53143772a21e990f937335b899ff4b1d1a4d3ce1f3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8500bd444dd29b22a2b7ee47bd5fb7323de7a5296fca9e95d0d7da12354cfcad"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4d3234c3b4ed3d3f13a454592776037d87730cbd3b990fb4b107f763acfef49"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"247d91ba1719dc38b230ca4d731ac1875898aa51a459bb073e0dbfb3821473d2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"92002aae1c262ca3991c379f9907dac9d40381badd9717df93e0f0fa607b159e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d8137e2843a4d9ace312984d4d1b8b07998cf19f7a31e2c7e904de2ca9c84a6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4867a9acd8b70480772402810dcd7d42f749bf4e4d4adc0cf9224af03103e354"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1899b050320b84d48ba45899295e37e22fbd970de423d8c081ec8c35d080d405"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a7a6317a47ed486b88d6d5e2de50016b59c5735b9a1a6225c41fa7f787c4215"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b3d95d2eb3e05782d2b3b2819dfffbdfeb2645d683fdf24f66cdfb196e48cf6e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd8006dc2b4aa4372e9cf0a78228485dad7e3d128311f7fc407e26188cde1abe"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"36cfcacc3b1e9bdbc1633db76b880174e70a84199f2fd0e46f25a0f753bb945e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c36ed2145cadcf0b09348806a5c8c303def2cf7dbe35e43a1a766fd4531d2e99"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"152aacef95f595cd3b73850d289a0eb825f6b217659ec820eda1a64433d3b4f1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2682d8082295bb8cd6b75579211e267397cd4fcbaf7dff729f0bdb00b19ed6b3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f8992016625890ff3129d49b0101378e6b023c95950cd0eca46281cdc56c312b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c319827239bd5d7bff42259fb02a0c35ba9300f6226c4ce7b5f84650bcd840c7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"11295cdc0c01548012c0b3a27d1cc0930f2de69baa71737f6ca4212067a496af"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e94fb9465414f897083ff4fb23f27bf39ca23647f363282a9b02945f2faa37e7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ccc7912c65afa16c01bce53871a3f08eadaa4fab5aaad948e49c9e7c8c97a063"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66c269c7d05e613cc64ad7812b036c81d3bdb6e13f7eb0fca0a2d59dc65aabe5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fdf812a9e93eb212792b60f50d74e42ca84a34eb53fb024e1e2c63454b697e72"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b324359e2ec86b6bac43e5dfcaf10130313796015c05b7b718f41542dbe6bb5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4baf8c00588df603437401fdc4031397e6b62a7d0fe15441feaa2377f9f128ad"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8863c554ce2165aec844dcff6fc043ee52fc00e27658a090bbd97084ab78184e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b92898e273aba09a12ed8d88c7d3a865ed20938ca53749672c4908aea2056e61"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f053ddc0cca3bbf9850ac4f1e77d0a9a4a6e4b27324e3e76bdc7c0ac2e3aa2bc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fafd6d4fd54627e864ccef21889340395ea617563291f5c52b9eb5e688eb8990"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e847823d3a25708d624d088b060d7d508c617123c0745902813d5286345cc5b1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"68584f538b4f2b997cf16cfb315ad22b466c14d693b2ff5bcfedefc94f75bf1d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"33484870a9b9483dd41d8a15759cfc1a6b7b02cbc5991f1de0ed5f3f0f824d95"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cbe25234bfd02dcd8c82a9ae7e9834d182e08bbfbfa65917016c3d1218755f30"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ef80919b08e5a36c512e160144f3aec0fdb9d9d05230b2d9ebdbc14e49ac38c0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2daea885d701231eb864bb2e2d6edba9829bf8ffbe21ab192058247eb31dc95e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e6ba8607c62c23070df11d9d886205ed4d0b242e839051e376468ceda4b42a47"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"20bc325c69962030d0444db890e688187694d53e50921716da9b9c05558175f7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9746210d2d2ab493df1d586e31d401dd2de8eebd67639333617833d62cef3a1e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"341fef30e40c699fa8a97a3d601f89fa38aa7f3e554faea4a64aa429c32105e0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9e0cd533e630e6e64defd9850e10440fe54f94ff7ea9c58b29497247715ca8f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"97b0c73d07579153fee674fb0fb660d2fa8a200158467809cab45b0fe07752e6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c0954850d738d900a49d4843b6e8aaac465a73829b1af71a27e0594eab5ea822"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"88d0cfd44e4822483a2178ff51cc7fce5420b71d68c5d32d5ca494b3f94c817d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f26bcfd924089bedc89d03c2b42cbfb6cc02dd237b3ac91d7b44ae5fc1f8310b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63d14a6fde7ef3bf80dd6936277e445939b92616880179a0747a134f883477c4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"614f5cc980518338367b375e5fb264eff0914666ee07a08d820c23a9e3f14f04"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab8d83539c5ebe567cb6deae98d392d6617f9ea4001a34a9a21fb3f393c0be8f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"353459ac4e219f5f8d104e558d667fe57cf3adf5442ec2f13dfcbaa8e1fd6adc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e934d47d6949ca4d89c591f3fcd295f2d483f46479202b9ebb29229ac16e0e3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cfd106bce8214de464f6f82cedbc3794b3653424e9676cae022b6bc1a364e6fd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d647acf3add7dd1bb52befe41c1b806a4b6a856a2b72adcedc907a6aaf123cad"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c2807f959f328bc3458a79543e686057da5928ae9b78eb59185cb400e1162ca4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b20ff4d583477da40a0bcff8761e8f4861f785b43eb31702a3147cecd930425"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac934803f9bb6f0914905667efa5a21a47cf0e313f4e19376677776faf61e3e5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"10750cfeeacd832855311aa453896f0a78d5884b1cea45fce7cde95645f7a305"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d9d62602fd10bdf3f2ad92b24d1b663972f5b3ce2613645b09970c0363479796"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b92afbf3748639c891dd7a6dcb2606ed438a040aeb792d2cbc853af9d286937c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f9b382dabec343fe67b084da209513207f796bf31b91f5c72761deb0471be458"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"762c119e02b0599d2a6a3be170c581c20cae11e14afad81622d8cbcfa748d622"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"681d33d7d38f51ab93e423bad043ade50b2a419986c56d3b58ddabd27735e206"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"37ad0d8d0a178c877cb004def536a46d2ac1598f5616ec52483187460dd3fa14"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3958d113a5fdd91a05d5ba8221da5dfdb0304bd856a941ea0847a95d4b551124"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b803e354d8014d3571cdd157197b09fe21979c5ac4df90cfe119face574c2286"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0cd00d4eddc14d61e15aa53a82fb66ac93037f6ef6e778394f3a54ab009f1b44"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e7ecd73776b02442bb8855a1a1a6a99cf42a5d17993fe9e2ed2fc8a5f214b531"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d6d56c9dc346b842f8af37320ffa9af8888cce70fb7b0cbf13f862ca22e6c505"},"properties":{"dependency":{"package":"org.apache.zookeeper:zookeeper","version":"3.6.3","advisory":"[GHSA redacted]","aliases":["BIT-zookeeper-2023-44981","BIT-zookeeper-2024-23944","[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5bea3f177da67a098fdf96b2bd8ceb9568c2398edf6bde5d5d61a8af30cdbafa"},"properties":{"dependency":{"package":"io.netty:netty-handler","version":"4.2.7.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3720c8636acd7c6bf1f79074e7afafc60d16074d5c223636cf28bd4305e1a295"},"properties":{"dependency":{"package":"org.codehaus.jackson:jackson-mapper-asl","version":"1.9.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df25abf5a5f42b0cb64dbb7f28537008b30b162de0f492a7a13314afda5b6d02"},"properties":{"dependency":{"package":"org.apache.derby:derby","version":"10.14.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"019bbc8dd7630e10124d40fec2b84be1d7a25d33618a5df98fda2944d6700288"},"properties":{"dependency":{"package":"org.apache.ranger:ranger-plugins-common","version":"2.6.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"14c6437215133e0f3a090b82e589a8667ab1803cbeafb6e17535dd5c77da3f7a"},"properties":{"dependency":{"package":"dompurify","version":"3.4.16","advisory":"[GHSA redacted]","aliases":["[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"kyuubi-server/web-ui/src/views/data-agent/utils/markdown.ts","line":19}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"38c8c0c2e47c365637d11724568a50d54d1aa8d9f8725dfcec2bbbd14caf694e"},"properties":{"dependency":{"package":"io.netty:netty-codec-http3","version":"4.2.7.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7dd03739bb7a25ba84a6f92ec85c29cb8418b84459f97f895b351557dd9b4561"},"properties":{"dependency":{"package":"org.apache.ivy:ivy","version":"2.5.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1e30c18ce3a2575f3c539494e1a65a38a18e5c76d55cd1acc46d3641c091b114"},"properties":{"dependency":{"package":"io.netty:netty-codec-compression","version":"4.2.7.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"198b9b9266d1a024925d857b44e623f9d24b1a5af9238d5cc75a40ba70eaac22"},"properties":{"dependency":{"package":"io.netty:netty-codec-http","version":"4.2.7.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f351443a357ee7fd902d01b9f257a3d6d51634e83c477b5277304d2c772c376"},"properties":{"dependency":{"package":"com.fasterxml.jackson.core:jackson-core","version":"2.20.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1acbd702a8acbc3f789a3c74d151750c10faca7f1f61b66007c2ebf898b97ff6"},"properties":{"dependency":{"package":"io.netty:netty-codec-http2","version":"4.2.7.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2bc6681c58372a08af80c49903821b11dd97772dd8b1edf574f3c573a33712ed"},"properties":{"dependency":{"package":"io.netty:netty-codec-classes-quic","version":"4.2.7.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a849ab2d27547326a6fc87bf10dfe81c297714609cc5c11a930efea138650970"},"properties":{"dependency":{"package":"org.lz4:lz4-java","version":"1.8.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c694659875cb6b12503bf15d35edf580c9eadf964e6adb3878cdf069e55dc8fd"},"properties":{"dependency":{"package":"com.fasterxml.jackson.core:jackson-databind","version":"2.20.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e00f35ccbb8a9530beae8044b200e63ee602a8519baa6579fd319a2584d68408"},"properties":{"dependency":{"package":"io.netty:netty-transport-classes-epoll","version":"4.2.7.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4653e3101de65d41225003868611e5f9d4ded3dc651f6ff3c4e5bbf6343db78"},"properties":{"dependency":{"package":"io.airlift:aircompressor","version":"0.27","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5ad85b432d2cf5489e2ed07084b945f3ecc378861960f18890f2c86bd0fe878d"},"properties":{"dependency":{"package":"at.yawk.lz4:lz4-java","version":"1.10.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4d1f774974c5997a5f45ee03c3fe4c593357c74fd4944415ffaa3d141f121a7"},"properties":{"dependency":{"package":"com.google.code.gson:gson","version":"2.2.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","SNYK-JAVA-COMGOOGLECODEGSON-1730327"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24b1a3a75482d25310f1a9ca58e443b4d3c443ccd399e2ed708d6e19895acb50"},"properties":{"dependency":{"package":"org.apache.thrift:libthrift","version":"0.12.0","advisory":"[GHSA redacted]","aliases":["BIT-thrift-2020-13949","BIT-thrift-2026-43869","BIT-thrift-2026-43871","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-3926"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b75dfedd620a65ce4e6090aeed2e7115e44917986c3016b48584b69fbbc8590"},"properties":{"dependency":{"package":"thrift","version":"0.10.0","advisory":"[GHSA redacted]","aliases":["BIT-thrift-2026-41608","BIT-thrift-2026-43871","BIT-thrift-2026-66053","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-3925","PYSEC-2026-3926","PYSEC-2026-3927"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e4d05395ae7f40265711addc2d61d31f513d29b35530ad69ccad1283cbece14a"},"properties":{"dependency":{"package":"requests","version":"1.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2014-13","PYSEC-2014-14","PYSEC-2015-17","PYSEC-2018-28","PYSEC-2026-1872","PYSEC-2026-1873","PYSEC-2026-2275"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8307028dd2c1d6ed4bfc0bf507847b5a0d2d33b886c2c69fee4ded7e5324ee9f"},"properties":{"dependency":{"package":"@vue/server-renderer","version":"3.5.39","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f9a5b8dc417097840ffd6695ba9e6543f4482e112c54451518bb647b0258db9"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.15","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5cb26dc7336560b11e99f5cd15b6ee32d0c05091c90c90f8599c9cfb7925f9cf"},"properties":{"dependency":{"package":"brace-expansion","version":"2.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea9fb9d0e22662133885d6b1148fc0c78a25b36f6ec285a86d8c4666b373728d"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5fc0739d900403da6f8cfbc4d989c3f302e2382a8c9a88e8da82acfe92db1cf6"},"properties":{"dependency":{"package":"vite","version":"8.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"kyuubi-server/web-ui/vite.config.ts","line":18}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"93bf09545d5f5b08fc29a046417d6d9475977eb67afdebf8d1a86d03110da4e6"},"properties":{"dependency":{"package":"org.apache.commons:commons-compress","version":"1.23.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"37957741029b2c65c6867285569e9ce77e5f154eaaa0ed4c10018fa91cda69f3"},"properties":{"dependency":{"package":"io.netty:netty-transport-native-epoll","version":"4.2.7.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f620549df4e83031a633e68e8862abbae4050acc7996de819e9165cdd9756e3"},"properties":{"dependency":{"package":"io.netty:netty-transport-native-kqueue","version":"4.2.7.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b46a7cdba2e318efd4b3509424f32b84953673a7148b99a88936b9149abe0097"},"properties":{"dependency":{"package":"org.apache.hive:hive-exec","version":"2.3.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b75c5426fefd37646b65fc3137cc708c36ffbbc6b370be8cb1add610b98b9a4"},"properties":{"dependency":{"package":"commons-lang:commons-lang","version":"2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"649aa7a269f6370af079f8d1a5360c09938c46935ee70d5861ce05c7331307da"},"properties":{"dependency":{"package":"org.apache.hive:hive-llap-common","version":"2.3.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"814367f777f7022345d5f00a5da08ced40495fbdaf34f71860ad13eb582e209e"},"properties":{"dependency":{"package":"org.eclipse.jetty:jetty-server","version":"9.4.57.v20241219","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"52cd98e8f5c2837344d71324a9b509304b8712663acc0bd2f199986127a42bb5"},"properties":{"dependency":{"package":"pytest","version":"7.4.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1845"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3337eca27b8c7264e43fe51457a1c8f4c37f56aa9212a1dc289120578c94ac35"},"properties":{"dependency":{"package":"kerberos","version":"1.3.0","advisory":"PYSEC-2017-49","aliases":["[CVE redacted]","[GHSA redacted]","PYSEC-2017-66"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a95d940fc1e09cb89914d674789dacbd3c5249c6d9928a304bc6e5bc81905cc0"},"properties":{"dependency":{"package":"@vitest/mocker","version":"4.1.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f759c9c4835732a0c799a29efdd11bb3fad7441ae4a28869dd6a782081b561d3"},"properties":{"dependency":{"package":"io.netty:netty-handler-proxy","version":"4.2.7.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"81aa0e9c8e5bb4cb6dc402642fa253e3ff1be34023cb49c8fc5ad5b040cdddc6"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f138e9f69646836e2da37bd178a4fd50843d6061adf66bcde6ca749851aa854"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e40672395106a97120a18963173268adad9f5c7022cf608af3241dd206f188ad"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d348e2c162da42256b320ec619fb6a975e244847632a54ab2fd6b58197979ff"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4adb33de82451dce3f7be9d288cabe9f65e3f9d35a655890a35ff472ced2a007"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1d566340fce7a317c6ad0ee76d9a0fefd79a73b51e50adebe503ba6e7668117"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c2e1c33b058c005e6250f1c0f084e946c06ff1870f1bdd4ba3f17649dd503141"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f741a30a12919f775485fa8d3880744c66f05a6f0e53c840836a81bf299c8673"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f9bec0feb497e04add4936e76805ae2d828538ae48759e9c2a6c0538a67336d4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"540b177777c4621e9ea159b2d0a0982b2e56778033c1266c8139f5eeb93b7520"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f80f1ce455addaf75e5566030e478f0c553ff277bb4c7b5070cf705eda458ad"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"105341b2971f6bb54b17c6eafe009706ccb6e9c33c1731e9993464231ec82006"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e64529c1880c79ce802ae1f95351760c9321a432fd36c48954a948d0db7352d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"36620ea0358c0846d9a99c47699956e599d1869a9c6c8ca221f1227a12752475"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c8d727fd48486182cc657ccac342ad819402f373b8824b04559b1eb6618fbd3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66f7666ac7d73071a5111e626bbd7c0438afb2f04a691d62413b7d331c88476b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c55f24f3581c74be32750656420d30679854c262850a23067524fee1043b96d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"746f5f990fee8ccccf2bd1b1c64b403ad4111440848c9fc7c7e273335396b550"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7339d4ffa65ad924972f16aa476eff99624465f1a7ae7282fa0b0afafde6edd4"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d6caf1ca1959401cf6d5d8518ee6fc34f08a741f130624fdc360b053c9d2a6e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e767dc00b8acf4544b241a9e277d41969faaa41725a804d3662328504052f30"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b38785ceb1af7f9d2dcb25c622991dc3ba5233d60813ea02dcb7a2e639bc41f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c7407196532922036e81dfe53c7cb6c3088618b5ddfb595eb0ce9014c1ab1886"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"456d2c3f511799653c765ed1632fec68481d07b1aa9db4d76a6f5dab8c714fd8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5db4a0b53494e73179ae9aa527c7e8907d032b30606c6df796b7fb48555e0c62"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"972e61b16da9a16e8fce5f7de1452020905fdd0aba6de78cc2bccf746947fe9c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9322afe0d7231dff05051eb2c174e2a3838633e2e670b67004e5560f0e1508b0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c0c5177eea3665689241cc4b5eab0756fc409992744e712adb22159f143c5379"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee8a8b3e09a8dcae039a4eba748781dbb0d038ba894fb08bfacfdd35b19b1a6b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b4b89eb1b0b8d9224e2905d278c5c80db8a1a52314e5aa6072b84cdde4b349e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f47341defc2ae8da68ca369c223afbe334f05729184ef08e183dd3ad794551a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4bacee2af0ec8c1fcb6da6e53f9a9fbc5edc04eeec41169015a51cf9620a26d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"badf2398ded274d21555a4003ce86edf6a7fe60a293f4f9b90c3483ffe73605c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"08d94ba4331d8e8143aa92597215b0021d8d2a90c644910668413f2d2f4ac169"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"308d064a9a775d551e0bcdec95e657ef9f6f3f68d0815f697520928e0ea2e14a"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"57d2e13428c54ab1cb5afa02a0d86ddfb764c3bd9d5be26ba9f5d9aa64adc35b"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"458c2c4f28174cac77bd35e0232b5eb4d79c0d96e4e5179408f6e089c977a4ad"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aeb219070c55decfb92f36fc9ea6c3326993d642083f5a8d6fb9bebe2e4a42de"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66e5b2e015d0ba2ed7d3bbd4ccb531ae97b636468615551ec0fede4e1081be69"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"620873528b5846bef849f7f2e53f249ee2e61c2ef1ebc1b3d53470956de9aee8"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63a8a3119c6783473abf2e96a9372f6e07f0790d99e403a58010ccab7dfcb3f6"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7e3e60a0dc877ea85d99f6765ec48b3204acd2dcfdf09399ea17873989382ff"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimalImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64b2a05a0d0a7bfb40d1cfc743294677c8798330749c1a38a1f51eff167bb9d"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-tpcds/src/main/scala/org/apache/kyuubi/spark/connector/tpcds/row/KyuubiTableRows.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a276225dee1b2067e1cf94581bb79610315f4b7a804938faf2e7b3622b0379e"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/HiveDecimal.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e969771934866aafe33cc6fd8fe731a7cdad2330082ceb907d4e2357e0aa29a"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLCallableStatement.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac4949fdf0dc9367e087d15b3006a212597a6322cf237e59e93e1ec18d948bb"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiStatement.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"604e7be473a8a403d94fa23eee86984667422a79a80f445859c8bc8a617b7253"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1279989f5faf2ea8bee98dd33554076134b0a71680b8a92fb44cf988070d2560"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLResultSet.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5ce7781ed3c44de8fe5aa0063f90b818524808843007f8c0c47a6cc6c0a08a"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/hive.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80af324883cae5de0562cbb788b4cda3526fe5d4776b8fbe7195d3fba2e189ef"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/service/TFrontendService.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef5eb1d10c61b6e76bf7e2be5bac4683b3cdb2dd389f1f227b65515d44f2dce"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimal.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bdb149a2c4551042e3fa1bc90bca6becac00b3fbf895e51c30c79d12407634"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"363204fd3a60843541ff85deea2ffc5e4e12df11d8e337270317b21d1aba8732"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/TrinoContext.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cae95d08841d2ed24f95182fbca78b5339e277a5df8cb92a4a498cadc42c9cc"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 204 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java, kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/zookeeper/ZookeeperDiscoveryClient.scala, kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java, kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiTHttpFrontendService.scala, python/pyhive/presto.py, kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/etcd/EtcdDiscoveryClient.scala, kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java, python/pyhive/sqlalchemy_hive.py (and 196 more) (216 orphaned of 497 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 497 of the 874 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLDatabaseMetaData.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ae71441d63036ba6f8c96aaa510e312546dd619f66f87b02a6eae68805366d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79edaba8e2be4ea6c591ff83343f04884a46ce68922bf2324a791cf2fed4dcc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/zookeeper/ZookeeperDiscoveryClient.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3641cfa08cd0739c1570c57520223c3d34d81304096ee4d57c33c761c614e2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowBasedResultSet.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f45f41c7d5a6e3b4dad106a25b218e85b6fd98ca18d3f4f84a0e3850cb202e3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/SessionsResource.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6596b587c4a84af31d37733e1e7c7b5d10a680cf7ce40dc4ae445b07fcc7045"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiTHttpFrontendService.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4747291c1f486f1c3fca57fcffff78b75d2c9dccfd7e3ce7a1e09f088f7e5b6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/presto.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85260b6900a7d7b8be60b6e7edf1df243c812bfb664be40b854bb4ce649c1557"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/etcd/EtcdDiscoveryClient.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbf8987ac64c1e8af0c48fffc95706ad2d5160e48b3491da91eb9e646015143"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e6d9493a77ff03b431e7fd90490977dcc2ab6527d70772ffba684f67f7fde2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/sqlalchemy_hive.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37c79a35210f7139cd75c39cd1e43dbc7927c52a5196f8cc26f6a1ffd5d5a47"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/http/ThriftHttpServlet.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bdc9bc47d375b6496ea572c1b8e7fe2a625c15d10bd1c6e4e390d225991cca"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/opt/CommandLine.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38775f4466b2a9449dbcd0cd1183a4ca348028c2850f74518ebcf87cfb610499"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/credentials/HadoopCredentialsManager.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"525cf4c78850fee15d8ff37e6a0e065affe9d08b79f8acabc8394ecfb8823f78"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/serde/Descriptor.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f8de9d33cfce44cb71a2429d07fe15f07155a2d7608c6c9f676ad496845ba0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/arrow/ArrowColumnVector.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"513baf77cce405da04e230d265f2cc99fb8f44c115c13f02cc8fd6ad45e7173a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0e9d440b13abe1b5e895581e2ff0ba82e98f0561f4eb7dd81ae3d8fa3785bb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97de5a82591d5d6359514f8ebc268c9d1f73427217fba0d55b3eba286b05a778"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83dc2fcc36fb49d5af1c9be1868e974ef9d23576a4ec9497f79bc025fe6e55cd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/JdbcColumn.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e68ad229363ba202132b9d6d8ffc0f7b6e94d31011fc5108f1c14d34601626e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/v1/StatementResource.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ce435774dbdea32115a86431d5fc97c14c0dbd4be37cf9e480e36818911ada"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/operation/AbstractOperation.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a22c0f3c5e7a6016db104d5190fdee5a2e313e2169041bc774a1f1df5e97b9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/Query.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1b9b3998f13bd8499769649bc800128ea0580683f2c340631d9d5b0d032146"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/sqlalchemy_presto.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bee44b606af45d0d44f077f651b1bf627d43ef50716632cad1e54cf23e09171"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/common.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bc43865442ae5b36f90bf2ec0ec5a475b723ad2d5a9d041bcbdb1e571daa44"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/KyuubiSessionEvent.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"632facfa1475e8474dcbbf0a5f31e6e873e3fcf6cf36fbfe5d232d5fc2c9e839"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiBeeLine.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"087ebf67f9d0756248b95eb424773b467000482722d8fba0a6e0e3ea3a2f54fe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/operation/log/OperationLog.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3faee93f92d1ae5bcf651fce7126e37120e61956a710f289bac208522f34b2c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/RestClient.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bfc1133d561bd43ad9e49fb2d338a294cd15235a624ffd929cd7590d4ba8e5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/config/ConfigBuilder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66eb9fa46846cfc52287d4624e1acc5d68df777342a5a44796ffadf87cc81b5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/KyuubiOperationEvent.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"691ca1a25c98cbe46081fd2568ae815812a00ec6c3eddef06f922be2cae53b44"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/OperationsResource.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"741988d8515f6d27a1f71ae2c8f5a02b35f755b62e9545deb886103d9c37d52c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/service/authentication/HadoopThriftAuthBridgeServer.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e4af77c7e757fad584c93f138c7432ff0862c621097dfe042bad8d480d77a0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/http/authentication/AuthenticationFilter.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"549b84c61e99733a023a4695d8b12d190386d65cff019ceab6271444bd4b9f45"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/operation/OperationManager.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03e22386e7502f6a6dba6f121b7031263a2eb138ef1217f691e26406d86914a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/HiveIntervalDayTime.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"711ac2de1550f1039e15250b7b5482d8f08a2552742d50370aabaa0c5740f0d6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/operation/KyuubiOperationManager.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0ee1bc7c198afd1a7526bd37579cae9e4a3932eff3327199d19da70bfbd7ac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/BackendServiceMetric.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fa52026b9ccddf3253c086c14cd66faa88413fc406f78dcda91a96a689d6b4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/Logging.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83dc9ca3143d26822b4aafd6b8863239d3b2e18181902c19bc4b84e9d27c9d2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/KyuubiRestClient.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a96051b01176d1bc175cfd9cf2cebe4bad400b0c8b63b837aebacae0de02149"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/hs2connection/KyuubiConfFileParser.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4120f4a0ac3578a9e7d504f57e93598e0ae1bea7a3aebe0bf6b13c91f49712db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLPreparedStatement.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda86d379b35280a4969c93665d1767747e9613bf8ef263eeaf31013cb9a6886"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/read/HivePartitionReaderFactory.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c8ab4c3b4992f48a730b05fdb6317c4287f07d149b17255cf42c3ed9d0a08a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiSQLException.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f24f9dffa6733c8174aebf2cdc6fca5ccab20d4175001ba80aa962f00d509d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/service/AbstractBackendService.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31705fcf57fc66f84fcaffa326650fb3aaf77c6626edb7f942e0f2647b420f79"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiPreparedStatement.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8e642e6ba20bddada08bf5e1e646c66f94afa1f5e0d3e21247f38cb9003f48"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/engine/hive/HiveProcessBuilder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8520387a7cb9eac972c04d1d515b20900c09e2db1a6164c3f50ca63d1f9425"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/cli/ControlCliArguments.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f258f9fa08b51d3b9d24a9f84663af4dbc2c15ee7b04f7dcfc4360bc2cc9b060"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/BatchRestApi.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46071fd2ae089fea251341a291f242601d8104c8ffeaa4dbcf33f9bcb2fe9613"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/read/HivePartitionedReader.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8a0f62d6e6fc4c1a2bb3adffc2c8731fc0ebe1232bc146c6eea056ac685b58"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/KyuubiSQLException.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cf9bfcc043ff42530427eda49398d632e165a1bfe5aa8ae8a6b74c73eba965"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/operation/ExecuteStatement.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3177d62bff158215343a54a39d7acd238848a4bb44c771767b99e754ea5c6fa9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/http/authentication/KerberosUtil.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bd56a30ac4f96610d4bf08b1cc29228d63085435f259e99d6ad6bb3ce2305b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/Timestamp.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f29bb8d57bb0da648b7a059b5f11e8dde5033f411b7cafba3442ddd82fe8c1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/engine/ApplicationOperation.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16200157402cd4f79c21616d3319a0a6ce2b29c6acfb21102946f09569e85cac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/DiscoveryClient.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9cae0b78f372be4e253b75066fa550c3ece00f5e043789c1463fc9698b63aa3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/AdminRestApi.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7eb8517046d9386b06367b78107181e6fe3a2b20d5624bc274bbd0269280313"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/config/ConfigEntry.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54fba2eda633c0f4bbdacea6c1d968d643b0b98a3f6ed42e1f59e7b070b1758"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/http/authentication/KerberosAuthenticationHandler.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"441e67ad865aa57bbf1fd5eabf0733e2ca4d47f777026ae420a98085c24ee55e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/engine/jdbc/JdbcProcessBuilder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05913cfd1a3dc03563877d62ea65e1ba1ca30151b39d9840674db35eb849ea21"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/SessionRestApi.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"361acf696ec6ae99671a575e52c29a92d6fb1de3a41e9387a29770f9f3611769"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/cmd/log/LogBatchCommand.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e718ae19593621ca5ccfe8506358a934ac6070c0985557f2fdbc40a19ff932"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/benchmark/RunBenchmark.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a53ef1482a834782de174889f0b004d5bff10e2b01c30f1593e2597edb269c7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/util/Render.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf91ea19e4299fa1f8fc1b67f05238def03b5d6ff99aedc823073646c395775"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/serde/uriExtractors.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8cd1ea271df9526d6cd990fc6e63f39067c936f5f4da024c09c7e4dd6c57ded"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiTBinaryFrontendService.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22b91cd73fe61034beeb461fa0ef17fea41153a07be94c7d0e3f625123814c7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLConnection.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77235a536fa065676c5137c1149f60f92bc0e24055c2efa0513a70c7645ead63"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/operation/meta/ResultSetSchemaConstant.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7260ef6809b25332422169cfa6ae140ef45a79941693f52a141d5fc947d7f410"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/SessionData.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a376920e44c89b2508086a989bda2d7d9621c613260d81d0843bfa4cdeb8f2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/service/authentication/PlainSASLHelper.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0ba9c652d1b2c4918bc34295703244fd26a48c26fc0d594c92f9e4e6cf5b4f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiResultSetMetaData.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"676dd198324ea8edcc8f5baba9e35d89ab4fe95b2c3f24c34340a2b71829af4a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiDatabaseConnection.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"274d72c39bf3398690aaa5a893592da1ed4151059eb4ab3f0a1d9a0d38a60353"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/RestClientFactory.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0602bad4eab70918708fa77a754d856085ebf4748de8e67c6f91f7e336c56116"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/metadata/jdbc/JDBCMetadataStoreConf.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4148e2f5f75a54d061c0eecbec9d43b75b5fd4eec4b7bce37d168dbe0c6aa72"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/util/KyuubiHadoopUtils.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24cae97a486bbdadb2903050dc3683b3ff6a05a1a74fac9f7f2a81ed6eed6db0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/rule/rowfilter/RuleReplaceShowObjectCommands.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"726a3e6f1b9519cdf776f8a89ecbe8fb03d24e786eb5b2de1456dfa26ebf0a53"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/sql/parser/KyuubiParserBase.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef75a8794bd2b2133979081867fdc44202c83b422a865a7fb25912b122fa360"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/sql/parser/trino/KyuubiTrinoFeAstBuilder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"000d57bb56efae216817a2183ee3464b0d22568e9fc3416366aeb7590d86f7a7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/engine/jdbc/JdbcYarnModeProcessBuilder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ddc7017e6e430f9145b863647b4b7ac045ed6bbdf4bf2ad0cdca4fb64b19c2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-events/src/main/scala/org/apache/kyuubi/events/EventBus.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba5be2e9b0b2cd5edcfa74e47435a1faa7bd7cef8ef646c5461c0266f27d7ad"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/OperationData.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d50e134b43eb25ac9589731b14dc490f04486676e67687af37ae7b9ce2e71e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/service/authentication/PlainSASLServer.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"640e4d6376dba19703d63df1610cbd63681a0b6604207648681e98480af00b6d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/arrow/ArrowColumnarBatchRow.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb17a8c97e91d22695c80354b851351bc29100c34ffd4c8aa45a7be4258b745"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/pyhive/trino.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2be410b4e5965ae94bf083c8f18a760a0b8af3397ab77fc066a2357c9bcf67b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-jvm-quake/src/main/scala/org/apache/spark/kyuubi/jvm/quake/SparkJVMQuake.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ca49bbf45f1ff63602a6810bb7c1653eb954de2651756b495358b1de39fc3f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/Date.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92033f39823f63a1241e7b84ec5368a1c95b58110cd0c5f46d30652630cac82b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-tpch/src/main/scala/org/apache/kyuubi/spark/connector/tpch/TPCHCatalog.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2aa3300cdcee3ebb09334ef4c3e0e13ca45382bc89f044be1a95a81ab724c8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/Batch.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1571473a468ec0b9ed023457a41a224a7fac1b0f66b4b876aa9484e4af165282"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/http/util/HttpAuthUtils.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32e29462e0b76cbc6654b7dfede24ba07692c5c70711c9c701433a1cd9b3dd6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/benchmark/results.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65655dedb5b92408a4d722ffe401d68202f5abfba7ce1b3d34e0eeadda35913"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/util/CtlUtils.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1eeff9e296cf64b6d2976a451897385e9cad32b50813efa18e11915cb46b014"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-zookeeper/src/main/scala/org/apache/kyuubi/zookeeper/ZookeeperConf.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8eb4e1d14a165e835e416bb9efaddb95e50f0efa3cbef95953a6c3e8b647db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/credentials/HadoopFsDelegationTokenProvider.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59050a5e41fa884b54dd3c283c3d71f6b2abb335852901595816725f0916fbf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/HiveIntervalYearMonth.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b17dec656907faf7252d8fb86544485773515ccfbe4439b8f7a1621d98dda4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-metrics/src/main/scala/org/apache/kyuubi/metrics/MetricsSystem.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2553d47fc84cbe723070b011050eb02354beaa448aa7949b295157116e061877"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/read/HiveReader.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd0da154013bc4043449d755c78200f37544203b5a1896833f877051858f84e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/engine/trino/TrinoProcessBuilder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad33c6635df6ef3202ba48ce7b5f63fd08983d4ac99a6defbcda9f0c4befba7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/opt/AdminCommandLine.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ff7fa9d1475b793530f2e8d1adbc85098603431dc5f30f21aca3f7ae88aa40"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/http/authentication/AuthenticationHandler.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5c68bf69052596e252b626fbc4821da06d9e0e70f6b51f30a303988e8604cd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/metadata/MetadataStore.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f442caab3d67ac26130da2f99a141f4a1444f15c17c5adda4dff14e84f3f7d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/http/authentication/KyuubiHttpAuthenticationFactory.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4994a67e830bdf2d8dbaa20b9776d91750bac1de77e71c6816ed706a48f8eb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/arrow/ArrowUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7ee5af3009a84267dfd677ac3c7ea7604b904a6e99b82763174dd549077065"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/Engine.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb91049dae4523b203d174ec7fc103ba231286a267a1f7414f32c254cbe1d8b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/TimestampTZUtil.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52e2758282dc19db788a5b56ac8494105c7a44003533072f6f32053afcb0f17"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/BatchRequest.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9556b9f2bcbb860a8769235672a586525b4623bdd1aec63e6f64ed4adea00009"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-zookeeper/src/main/scala/org/apache/kyuubi/zookeeper/EmbeddedZookeeper.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80b28f0c08fbded68480c38bba9b55be19238d2cd1885823a33ceeb645029bf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/service/BackendService.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b229166b1a8b4f5c8501ebc33f1c0b9a80fd6481347313959f82ab6c0fcac990"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/config/KyuubiReservedKeys.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82114fe8b5018bd0bb7894bb4e7bbe7d69ebb2345968b3f2c51c1523430a33c1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/RetryableRestClient.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"013dfda7a240b3f8b50587eab0a0afc7e70742da721c397470d86e92ba861f72"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/service/AbstractService.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26a828bfbf6320c75fe0de48269568fc430014bdca5b393251e1b5560df0943"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/operation/PlanOnlyMode.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10abab5792139afb6e9bc35e08aac83c62f9c109173c7ac665f8b62dccd0a123"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/JSONOutputFormat.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5332d8ab9b783270b0457605734728a86a0f0dd9f87c651eb5df542c7f28045"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLStatement.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e561ac2a8a8812cacff4ebed49311c00b29ce0e8e807e2831fc68723d95959"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/metadata/api/Metadata.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07bd53ccc0db2181ae669f2f929f8f4e80a4ed493fabc933637450489f33fab2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/cmd/create/CreateServerCommand.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4424a6f258c3b10f359dbf5ba4a1c1bddb43d4a54c30bd65083825fa0137cc90"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/service/authentication/AuthenticationProviderFactory.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4c5773580bf3179be6c45da79da70986c0341ae1a377ec3b61ab9d11c9d588"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/OperationProgress.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a598caf9ed7b642ff343fe2c71a36306d2b16920f6490e73cc31efaa9f2517"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/CtlConf.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"652f9b396430dbe0c8b2ff1e8078b6000ecb9b5c084b60f5a0c63bf3b097ece2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/GetCrossReferenceRequest.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e850791d4a15d7b18956f1c7646fb6d7481012d39ee5739a271588bbfbc46c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/KinitAuxiliaryService.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf1c59c8642f338e555207f04d42e6e63c977368832f066d8942efcd439a9db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/ranger/AccessResource.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb006e5189a8840f82f588fac62ee274147a598ca180df19dd886be02cd4623"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/IRestClient.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"260f3292ec14a02f39121f8fcb37b64024c6517c63a0473cc0c5eb6af4617db3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/engine/JpsApplicationOperation.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a82396f5ec1a02709d7ea3df9f9e38f79fa733c0e35d5abc3614e035e3c7150"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-jvm-quake/src/main/scala/org/apache/spark/kyuubi/jvm/quake/SparkJVMQuakeConf.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43200eed4737a2bf003287d362718524db66d21b18685994b6eb085b3bc250b8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/arrow/ArrowColumnarBatch.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"871d9b146b2c1bb5db5f337e3dedb6224399450de0f4bd1eff8fc01d138a0034"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/serde/functionTypeExtractors.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d76993201235b8dbf13143da0e131471ce1feb569c1f3df8dd131b71081318"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/cli/AdminControlCliArguments.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd983fdff1ffae3a13dde507fc347658c790d8ef1eb671ef160856e76086069"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/operation/log/Log4j2DivertAppender.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2b3dd14f703165a055d02da53f16d054240413b92d30bdedf3ac52c9130e2e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/http/authentication/BearerAuthenticationHandler.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0c6163a84561ed78fec039c33829564d5c95efa261f35ad4ffe3b2a2dd70c2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/PrivilegeObject.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ced7d6fca73b5f580a71e9956dbbe70f78e6f8547d6145de0a4299edb76e9e8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/package.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d295d3ee1d921bbf6212c831dc1acaeefa3f8b496050b9d42d3bccb2140a70"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/ranger/AccessType.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e7314c1de3146d712099118fb5ae580cd0e9964b2141f0350ae59e702f7e57"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/logs/KyuubiBeelineInPlaceUpdateStream.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4c2089aba526d65fd66bd999ce209e337b7306aa7ad1e28f2193da8527f11d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/rule/Authorization.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5683956f55610f8ce31b835547b5c0eaa9887decacd591750bd2d832f51a26f2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/ui/JettyUtils.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10196b61e7580af74cba5c056b53b193889c732ba05490904704b602ba8f133c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/ServerData.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e33f1595ebe0b2a84e1c184fcd5053bacb63a759974fa30ed1ca1182bbe487"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/sql/schema/Row.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a605acfd558457a00c8252c40808eb280dd981cb2db8ad8c0501588447d9d8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiTrinoFrontendService.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a1d4a62828c16035ab9f79cc6bd4caac2d9fcc1d1892c544efc087b0da4637"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/credentials/HiveDelegationTokenProvider.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e71830c41648f19b6d8e9735942f03ccf282069af8ab987b42137ccc87df9ca"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/cmd/Command.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db343ce848d123c424164cc86a1f8e579ad0143170718d7bb3ff94041fb9172d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/session/Session.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eec02248fab92c30a34325bedae64ef7e0f5a8b710854ef9cddfd2fde2cb754"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/metadata/jdbc/JdbcDatabaseDialect.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36690d21aa78b0e521789d70db2d91531a42a2feff54147341ede1195255a5c1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/TimestampTZ.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa11e870cac7813a1778dc82e8241916dfef7fdddf053d4b1d66d3c673f620d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/ColumnDesc.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec89c1abb128f95a86f76b88295746ad2c1a17a6455171e6b29c19cadfdc633"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/operation/ExecutedCommandExec.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bf9214e5e61e1239d380c82a8fd5cf76c9e5285f79f99b6f189276919d5460"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/http/util/CookieSigner.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3e2730c8b1e74cdb225a7860745828b4c0e7acbccc6a27a56da85b1d53c40c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-metrics/src/main/scala/org/apache/kyuubi/metrics/JsonReporterService.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabffe49581bf6e895908e44cc3c9053fc163a9cd8ada5b75b231d1df9ca7082"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-events/src/main/scala/org/apache/kyuubi/events/EventHandlerRegister.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27cf843f774474e0e3ab08624c199aca0f576c16981b5021a9eea27d37975101"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/ExternalCatalogManager.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e43847f812c6819d63c39fd20840f18b17779b1897bd222a0f7038aceb0fc5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/rule/datamasking/RuleApplyDataMaskingStage0.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4318cfb4fecdb00e8b049164b594a1da12a264adac111e9f1e1d07a6da9c73c8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-tpch/src/main/scala/org/apache/kyuubi/spark/connector/tpch/TPCHTable.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3ff5a629e29e33c7f18b2d046be0abefe076a7a9ea9d470022fad2533503a4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/cli/ControlCli.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e16a518ffc844e54f539bb75aca2fcef5c3c48ad579cdabb236d6733062d99"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/service/authentication/TSetIpAddressProcessor.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a77c087c8cf03942f7a5a929b1af744509cd76adca4b8be7f21cb0512576f4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/ServiceDiscovery.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fc6cacaaaa8dbf7d0bb178a3c4b387c3473a109e39d8e0c05dfdf9c35985ab"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/KyuubiTrinoOperationTranslator.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ef04f97944e38f20d8fa307ff1b8c7a49e8ac08936fef016105a277ae8c4f8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/ranger/RuleFunctionAuthorization.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a98cfe586063572eefafc9310f09adae98e249ee1474b4e6dede1d19131bb15"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/KyuubiHiveConnectorConf.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"823e5cf6c9b1009b7bfca097919047255e0d1d750abc55a6be67fb22561902c8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/StatementRequest.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0628e1542a8ebf5e70a50d78ffd7b23d4eff684d7382a962fdd21cf1ff24eda8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/config/ConfigAudience.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1b3deb46ca814c29c749d0f309ef1d3a771705f2ce5818b861e11532b64d64"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/operation/KyuubiApplicationOperation.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"232e575d7ebd4028d9bd21bda68f51274e53149cb3897893096c1af69dbcb676"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/auth/TFilterTransport.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31db580fe32f65d22cef64b402267a1510afbb03f39792ce3d6f06f9fa69d5a0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/GetTablesRequest.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c782e6b4868048f8d42ea769d05667e6d73eca48a960fa465d132384df87357b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/events/KyuubiSessionEvent.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5810d70bd78ad36c94979d34c38f30d68c82db8d4ab9808335a71f4572822baa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/session/KyuubiSession.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f39030a39b95285418963310591b304d02666ada04179265ce19326100227a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/sql/plan/command/DescribeEngine.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0e404e51b5fa71f39f1d829e51cc16d84f14bc4e10fe5849e4b384166b240f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/events/KyuubiServerInfoEvent.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a87824648121fe0ab1bbb4ae99b683c1b1db69f711c91d2ac6ad36f7a40ef9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/engine/KubernetesApplicationAuditLogger.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d7a25bffebd8e7feba4493363b0bff916575eef0644ba80671da490f5b332b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/cmd/create/CreateBatchCommand.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33104ccc786767f4200a3aca0eab1bc6aadf684730c10a49ba8c9897f3a44bfb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/serde/functionExtractors.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8fdf950f76edb2020554ea47ebc9882f6153f0def0ac9e4593293d1034814d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/DateUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2361f6788e3773a323a18f6f5e30b00c6909199c4d04c2af035935e3c498e91c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/GetColumnsRequest.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"613b240e680b5b63e8fa96d8740a4964c7898a1dfbc152ba9ef94e1f43cccf8b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/opt/CliConfig.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"941653386fdb14def74d3d44b8cfb46d2b39f35dd6dedf25fb94095416c08cac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/auth/HttpKerberosRequestInterceptor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef078c9f771c89cf6f394098028eec18d1bc19ba8fd0904422b1944ef852c71"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/ReassignBatchResponse.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5ff7cb5f6ecbb9257757f60933d12b2fd2c504ef0dec3e9fcb85035319a8fb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/session/FileSessionConfAdvisor.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b499051fc517398a0859b5285590ae2f59184ed4603ed452c73a6770c55fc229"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/operation/log/SeekableBufferedReader.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a24b855b2fe554a07666f9e65f20f49feb1ce47b11545c2274fee731dc82b0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/operation/LaunchEngine.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5e3053fb42f7316c3b182a208a8691494d23ba37447e03975a9e5cd2528326"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/v1/ApiRootResource.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb07eccbbf4a54c3602d6c2c5ee8553c2fa5f3486cabbd81394540a5ad33dae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/util/Validator.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6a38ce566f715264f36f0d658b5875ce21dfe3f0968564e3dfa3719cb4e691"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/serde/columnExtractors.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03611c68629fdd412104b738e648a37525d7fd3377cc92a03aff3487e06bd70e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/util/SSLUtils.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a4f2b84b9679ece8c8b6b829dad99806ff1e92e352c594d1c637d49c43f7e7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/ExecPoolStatistic.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1903d2053d3cc8cec3051a9069deaf60f1d862df4de05a9fa1104b90d12c39"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/operation/OperationState.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4432c173a5bf1bb7aa5b60ddd43d5a9313664d416560ecf74e8f14368e91ba"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/cmd/refresh/RefreshConfigCommand.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f6510822f76fc9c60df19cfb6ac55984140a08c9bf4d98dec85d49c54707ea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-tpch/src/main/scala/org/apache/kyuubi/spark/connector/tpch/TPCHStatisticsUtils.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e58ac00016def3c0f73632b2c08f522d87ba091a3878dab45430887a63703b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/events/KyuubiOperationEvent.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"058bf9374d81b9f31876266aed6da9f5057f3dab3acae6dec1c35bc802f7cead"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/plugin/PluginLoader.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1017aeaf75016760c81e5a771e66f055cbf8a5013efbd615ba599a51977f5f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/events/ServerEventHandlerRegister.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"882fe8adb8be36d50419f51eb0898d6373f8ea60a6122f7dbb2f82d901133eb0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/opt/CommonCommandLine.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd87c64a0275ad4a73b3a2f3a2874139337da94e0d7c59bbb41c95e0e6d6088"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/sql/plan/trino/TrinoFeOperations.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dd867fa14fd587f1f887e3b9bac3b6daee5d7b4b8bdec8e33873316fb869c4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/cli/AdminControlCli.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d757c53429c593b3f751f2a4a4bccc2572e7f7cd658bfc44090f60b356bc535"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/credentials/HBaseDelegationTokenProvider.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8921699195f1c1886681a6e8025d07ed42d527a4bb1fdaaf2371223eb64e1d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/auth/PlainSaslHelper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25130ef1526165953348ab90261584ee614f40e603923d08556ce0e7a73c6acf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/service/CompositeService.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"980f11a600694bc1019e90a34bcbc80bc62b8350de361db24277c383e5f508d8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/api.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c916a2b5bfc17921924bfc4ab745546ae295671884496d336fcb184260749095"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/zookeeper/ZookeeperACLProvider.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8216599bdf60d4eba3c0a91c161f70f79a7507207eb7333103fca33c1b4e5289"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/util/BatchUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f5f4ccce3886543ea8dcaf95f4b447d02ae5890f02ba5a1aa126ce71c20066"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/api.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49955b29eeba5de5f28ec101b628579c9f475506f4c1d3a0f8a2597ea93983a7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/GetFunctionsRequest.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b2c92ab0ba06b12cbaccb1ce0503445d48b08aa68d38ad84f63dde91bab00c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/cmd/list/ListBatchCommand.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75777f24bd52572e42d4c272c6fab53073e00ba005b3663dc24f02484f285e9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/GetPrimaryKeysRequest.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a0e732e11d28d51c829f43e4373fd26a23c9e685a5efc64d511f29f13bd6df"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/api/v1/dto/SessionOpenRequest.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a60d588dbf311aa05772c13648021a3c89ec700cdb4912c9b14b84ff6595aa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/service/ServiceUtils.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab332ecba612998a010803b783b1204a7c19341f510fd5a6f860af0bc0789e3f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/util/SignalRegister.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"647375f379bae7e242cd56773447e82650f793fa4d2659da5fc80a24b039884a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/adapter/SQLResultSetMetaData.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd668bc06a4f96674f683d2d929afbc86221530cf963f43d0fb49bd6835d910"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: AdminRestApi.java \u2194 AdminResource.scala: \u0060kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/AdminRestApi.java\u0060 (context kyuubi-rest-client) and \u0060kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/AdminResource.scala\u0060 (context kyuubi-server) sit in DIFFERENT parts of the tree yet change together 71% of the time (10 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060ab273c8b\u0060 [KYUUBI #6008] RESTful API supports killing engine forcibly; \u0060d299da77\u0060 [KYUUBI #6049] Support to filter sessions/operations with session type; \u0060a4c3c0b7\u0060 [KYUUBI #6216] Support to deny some client ips to make connection \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/AdminRestApi.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"989a92aa315e82660754765c73c60d5cea2fe2e51a871aea5e4c0ca1825ce0a5"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: KyuubiConf.scala \u2194 MetadataStore.scala: \u0060kyuubi-common/src/main/scala/org/apache/kyuubi/config/KyuubiConf.scala\u0060 (context kyuubi-common) and \u0060kyuubi-server/src/main/scala/org/apache/kyuubi/server/metadata/MetadataStore.scala\u0060 (context kyuubi-server) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00607605900d\u0060 [KYUUBI #7176] Cleanup metadata with batch size and interval; \u006031676927\u0060 [KYUUBI #6829] Add metrics for batch pending max elapse time; \u0060d5a493af\u0060 [KYUUBI #4790] Initial implement Batch V2 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/config/KyuubiConf.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f446d56040fd433e8fb48c94473ebbf704014e2d0cdcdd025d0f64a8d7194c60"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: BatchesResource.scala \u2194 MetadataStore.scala: \u0060kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/BatchesResource.scala\u0060 and \u0060kyuubi-server/src/main/scala/org/apache/kyuubi/server/metadata/MetadataStore.scala\u0060 change together 70% of the time (7 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006031676927\u0060 [KYUUBI #6829] Add metrics for batch pending max elapse time; \u0060ac7702c8\u0060 [KYUUBI #6652] Support to list batches in descending order; \u0060d5a493af\u0060 [KYUUBI #4790] Initial implement Batch V2 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/BatchesResource.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b738ff5eece934e7eaaf856f8e41f354f7bfe1f33344b930bb26824d09f4753c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MetadataStore.scala \u2194 KyuubiSessionManager.scala: \u0060kyuubi-server/src/main/scala/org/apache/kyuubi/server/metadata/MetadataStore.scala\u0060 and \u0060kyuubi-server/src/main/scala/org/apache/kyuubi/session/KyuubiSessionManager.scala\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060ac7702c8\u0060 [KYUUBI #6652] Support to list batches in descending order; \u0060d5a493af\u0060 [KYUUBI #4790] Initial implement Batch V2; \u0060089cf412\u0060 [KYUUBI #2911] [SUB-TASK][KPIP-4] If the kyuubi instance unreachable,\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/metadata/MetadataStore.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1da14b09e8986864112d8b8f88a94a5251a88fb98768392fcf25c750804341"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: PrivilegesBuilder.scala \u2194 PermanentViewMarker.scala: \u0060extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/PrivilegesBuilder.scala\u0060 and \u0060extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/rule/permanentview/PermanentViewMarker.scala\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060c1685c6c\u0060 [KYUUBI #5780][AUTHZ] Treating PermanentViewMarker as LeafNode make c\u2026; \u0060e707bbcc\u0060 [KYUUBI #5557][AUTHZ] Refactor code about handle PermanentViewMarker; \u00603fefc7d4\u0060 [KYUUBI #5472][AUTHZ][FOLLOWUP] Check permanent view also need suppor\u2026 (at that commit the file was still \u0060extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/util/PermanentViewMarker.scala\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/PrivilegesBuilder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8682948ddd7ae2b76cd1ebe3813a469d13e7211b1a2db6b0130d1512296413"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a0ae3302d2d5c142558f2ced342f8d429af303376629b1f067c7e0e4e0c11da3"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c455ddbe39be3c35bc137549547165212cce49f5dfc94a6268ec8fd622016101"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46bc08664c260a60b3bc24c0c9f63cc11ad702dc05a98294f56424d26ba5ee88"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2922cbf265ba040b2d4093e613bf0cd8b2c9c7825e2a26422d1b2b83da7dee33"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b1595371f2e7387a8bb7df3701aed0fbcd13943882904d6d534694d07761a5c"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c6b5764f785e5fa334f98b14fceb6fed99dff50641ef6eae5a1c8e998f48a9b"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cfe49d422d01ee696ca65f47f9cc1c547aede3c7e5536229e5de4a078ae351cb"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"456720b193b9da94d576f81f9b06fde76d5264d150074210d66afc09dd93d441"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b416dc9132468792209b77b9bc664abfc6d4e0bf5688fc109c408936f107021"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"812bc5f27d9034c390469b8ab8a576aa80c3f9cc33de17269ab78b392c804e47"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D40","level":"note","message":{"text":"No network policy: No Kubernetes NetworkPolicy (or Cilium policy) found. Without one, every pod can talk to every other pod and reach out to the internet by default. Add a default-deny policy and open only the flows you need."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"295828650a2aaa1b03ae9b32ae6843a0c38011e5a70b1926442c4fa7187de5f0"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/components/login/index.vue"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fedbd960045230b7b47778ea1c185b29435c75af521f61f5b454b39de7e365"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/layout/components/aside/index.vue"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3c4860c482519cd4824376a7b22d6a671e2eb5c92af2eece53170cc17afc17"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/layout/components/aside/index.vue"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5caae398894902d8dfc1b9196404bc594ec98e84425dd608b22a2a6e131e79ad"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/editor/components/Log.vue"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"060eaac23ceb6e5a2599ac400b65af553f71e9f1c8ec1b00b85b695ec537abde"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/components/ChatPane.vue"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5c68f7d86b548fc8cf08f90df384d1ea24456e2da695364e2d5954785f00be"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/components/SessionsRail.vue"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a6faa741b3dd025d89cd86ac018153fa2d7691cbacd745ced57d65e87cc84b"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/blocks/ReasoningBlock.vue"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f1cf518ab5742fc49685fb720581c8be18438936ee31cb3c7fb9c964317e4c"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/blocks/ToolBlock.vue"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c85ebfcbdb640bff6ee27f18b503b4ba6713a628b99826db10c21f684505fb"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/components/ChatPane.vue"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d4b7c0d392c384cf6a380a1a10b1798e6ef40f0098401844e954b4a7c8ea59"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/components/SessionsRail.vue"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3749a31cec2210d358b2672fad99fc584cb6f6f3c6476d2fce582b30567f237e"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/editor/components/Editor.vue"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d4dcd0881d71db07a673842703dbdc606e90c35062032abe0324e47d0b7a61"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/editor/components/Editor.vue"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"76569b4307852fe93219b1793958b457a0dd997ae62b69b892f3d8dc30b9dea4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.rail-item-title-input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/components/SessionsRail.vue"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"30833ac71547cc4208ed64eb61e7e263485df8f3dc4a0b6efeb2f7070313aae0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.streaming-dot\u0060 moves (\u0060animation: pulse-stream 1.2s infinite ease-in-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/components/ChatMessage.vue"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f9e7dbe0dd5b7ba31f4e2f75a7da29f6cb43bfe9beaf27d80d41d7bf124c72"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.sessions-rail\u0060 moves (\u0060transition: width 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/components/SessionsRail.vue"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdddb4f7bf1045bfed7c2b09037855e61447fd85f6048f4482e5eca67312878e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.reasoning-toggle\u0060 moves (\u0060transition: transform 0.15s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/blocks/ReasoningBlock.vue"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f4f8932028fcb479b24f4895c4c917fa4e7aec2f78cab123d51e700961e136"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.chevron\u0060 moves (\u0060transition: transform 0.25s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/blocks/ToolBlock.vue"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"6def84882c5cc5bb7c7c486ada9609d181b1172091d4bb107fc150f4b0c05b28"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 no a11y linter (eslint-plugin-vuejs-accessibility) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time. What was searched, so you can tell an absence from a miss: the 33 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BackendService (20 abstract members): \u0060BackendService\u0060 declares 20 abstract members: \u0060openSession\u0060, \u0060closeSession\u0060, \u0060getInfo\u0060, \u0060executeStatement\u0060, \u0060getTypeInfo\u0060, \u0060getCatalogs\u0060, \u0060getSchemas\u0060, \u0060getTables\u0060, \u0060getTableTypes\u0060, \u0060getColumns\u0060, \u0060getFunctions\u0060, \u0060getPrimaryKeys\u0060, \u0060getCrossReference\u0060, \u0060getQueryId\u0060, \u0060getOperationStatus\u0060, \u0060cancelOperation\u0060, \u0060closeOperation\u0060, \u0060getResultSetMetadata\u0060, \u0060fetchResults\u0060, \u0060sessionManager\u0060. Counted over its ABSTRACT members \u2014 a \u0060def\u0060 with no body or a \u0060val\u0060/\u0060var\u0060 with no initializer, once per signature; concrete members, private and protected members, and members of a companion \u0060object\u0060 are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/service/BackendService.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5bf12ef6b87dc40aee1b98b3f22a3834405641bf8f8c1466c4fac7fa260d54"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Session (34 abstract members): \u0060Session\u0060 declares 34 abstract members: \u0060protocol\u0060, \u0060handle\u0060, \u0060name\u0060, \u0060conf\u0060, \u0060user\u0060, \u0060password\u0060, \u0060ipAddress\u0060, \u0060createTime\u0060, \u0060lastAccessTime\u0060, \u0060lastIdleTime\u0060, \u0060getNoOperationTime\u0060, \u0060sessionIdleTimeoutThreshold\u0060, \u0060sessionManager\u0060, \u0060open\u0060, \u0060close\u0060, \u0060isClosed\u0060, \u0060getInfo\u0060, \u0060executeStatement\u0060, \u0060getTableTypes\u0060, \u0060getTypeInfo\u0060, \u0060getCatalogs\u0060, \u0060getSchemas\u0060, \u0060getTables\u0060, \u0060getColumns\u0060, \u0060getFunctions\u0060, \u0060getPrimaryKeys\u0060, \u0060getCrossReference\u0060, \u0060getQueryId\u0060, \u0060cancelOperation\u0060, \u0060closeOperation\u0060, \u0060getResultSetMetadata\u0060, \u0060fetchResults\u0060, \u0060closeExpiredOperations\u0060, \u0060isForAliveProbe\u0060. Counted over its ABSTRACT members \u2014 a \u0060def\u0060 with no body or a \u0060val\u0060/\u0060var\u0060 with no initializer, once per signature; concrete members, private and protected members, and members of a companion \u0060object\u0060 are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/session/Session.scala"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03c70d86fef59af941185e4171e1615fc02c9e1a0e0fe615f308ffafaad0b1b"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: DiscoveryClient (20 abstract members): \u0060DiscoveryClient\u0060 declares 20 abstract members: \u0060createClient\u0060, \u0060closeClient\u0060, \u0060create\u0060, \u0060getData\u0060, \u0060setData\u0060, \u0060getChildren\u0060, \u0060pathExists\u0060, \u0060pathNonExists\u0060, \u0060delete\u0060, \u0060monitorState\u0060, \u0060tryWithLock\u0060, \u0060getServerHost\u0060, \u0060getEngineByRefId\u0060, \u0060getServiceNodesInfo\u0060, \u0060registerService\u0060, \u0060deregisterService\u0060, \u0060postDeregisterService\u0060, \u0060createAndGetServiceNode\u0060, \u0060startSecretNode\u0060, \u0060getAndIncrement\u0060. Counted over its ABSTRACT members \u2014 a \u0060def\u0060 with no body or a \u0060val\u0060/\u0060var\u0060 with no initializer, once per signature; concrete members, private and protected members, and members of a companion \u0060object\u0060 are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/DiscoveryClient.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"353d91ed9d33f019eb596a746102c97f2cf6e82aa12747d21f4e9d90446a28ac"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022\u003Ccode\u003E/engine-ui/spark.example.com:4040/\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/EngineUIProxyServlet.scala"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef721f4f82ce44cf60f34d37d810c162edbb29edddee747e7548325031371c6"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060// scalastyle:off\u0060, \u0060// scalafix:off\u0060 or \u0060@nowarn\u0060 (or Wartremover\u0027s \u0060warts.All\u0060) switches every rule or warning off \u2014 hidden debt. Suppress the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeef7ff445488f6044dd396602c41befab6ad01eaf53bbd75c88e0f2e3b9ddf8"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060// scalastyle:off\u0060, \u0060// scalafix:off\u0060 or \u0060@nowarn\u0060 (or Wartremover\u0027s \u0060warts.All\u0060) switches every rule or warning off \u2014 hidden debt. Suppress the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd55a1f12b3089e7f56813223a299f32249583c6888d809288b0857b3845204"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060// scalastyle:off\u0060, \u0060// scalafix:off\u0060 or \u0060@nowarn\u0060 (or Wartremover\u0027s \u0060warts.All\u0060) switches every rule or warning off \u2014 hidden debt. Suppress the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e9a4d63a8c879aaeb3477748abe43dafc0be2bea8cd3f1bc4930195130c610"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060// scalastyle:off\u0060, \u0060// scalafix:off\u0060 or \u0060@nowarn\u0060 (or Wartremover\u0027s \u0060warts.All\u0060) switches every rule or warning off \u2014 hidden debt. Suppress the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1d50131f13070cea5c48f4e70cabaef7e8019a0ae5d74a2e76b01caeaaf09c"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060// scalastyle:off\u0060, \u0060// scalafix:off\u0060 or \u0060@nowarn\u0060 (or Wartremover\u0027s \u0060warts.All\u0060) switches every rule or warning off \u2014 hidden debt. Suppress the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/kyuubi/sql/KyuubiSparkSQLParser.scala"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d55c94ca949229500c97ede4b377f8d14659dc8cf2f9c1c506fb91a5c07d75"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060// scalastyle:off\u0060, \u0060// scalafix:off\u0060 or \u0060@nowarn\u0060 (or Wartremover\u0027s \u0060warts.All\u0060) switches every rule or warning off \u2014 hidden debt. Suppress the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/HiveTableCatalog.scala"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c26facea403f2b8ca18f218724dc3bfeb5c02a0985d0db77deb81e9c528e44"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-tests/kyuubi-kubernetes-it/src/test/scala/org/apache/kyuubi/kubernetes/test/spark/SparkOnKubernetesTestsSuite.scala"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"148833f07b14f8f79eef851571ba24d44d5bec8fd60581702a7d8b459ef85ade"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/test/scala/org/apache/kyuubi/service/ServerableSuite.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5d131a49a7af001f2c8882356ebfa5c1814279045fefafc0760eddedadf348"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060// scalastyle:off\u0060, \u0060// scalafix:off\u0060 or \u0060@nowarn\u0060 (or Wartremover\u0027s \u0060warts.All\u0060) switches every rule or warning off \u2014 hidden debt. Suppress the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/zookeeper/ZookeeperClientProvider.scala"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2459393fa2ff9d3fae7ee4c8b3176bf60656061631030a7f588747770c7c7623"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060// scalastyle:off\u0060, \u0060// scalafix:off\u0060 or \u0060@nowarn\u0060 (or Wartremover\u0027s \u0060warts.All\u0060) switches every rule or warning off \u2014 hidden debt. Suppress the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/session/KyuubiSessionManager.scala"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff727e1cf347bec9abc759d7feab2bd932e58bde909265d38310256f6b62627"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060// scalastyle:off\u0060, \u0060// scalafix:off\u0060 or \u0060@nowarn\u0060 (or Wartremover\u0027s \u0060warts.All\u0060) switches every rule or warning off \u2014 hidden debt. Suppress the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/sql/parser/KyuubiParserBase.scala"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1121dd59dc9439a0c7e8ffd1738b2325f47415d245562df667e1a3ac0c0a65"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/test/scala/org/apache/kyuubi/engine/EngineRefWithZookeeperSuite.scala"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b27884ec66e9c69cd5540dd787e8bc98033dda279a1fa4b656b08793774db50"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P1","level":"warning","message":{"text":"CI formatting step cannot fail: \u0060SPOTLESS_BLACK_VERSION=$(build/mvn help:evaluate -Dexpression=spotless.python.black.version -q -DforceStdout)\u0060 invokes black in the mode that REWRITES the files it reformats and exits 0 whatever it changed. The rewrite happens inside the runner\u0027s throwaway checkout and is then discarded, so the step passes on a badly-formatted change exactly as it passes on a clean one \u2014 it enforces nothing, and no other step in this file reads the result. \u0060--check\u0060 is the flag that turns the same invocation into a gate: it leaves the files alone and exits non-zero when anything would have been reformatted."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/style.yml"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"3648e17083134c55a7e8c4954ec1c0e04295fe1ecb98914b88c70c1018d22b3f"}},{"ruleId":"P10","level":"note","message":{"text":"Large public API surface: 268/347 types (77%) declared in the published library are public. For a library, every public type is a stability contract \u2014 keep implementation types off the surface and expose only the intended API."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ed2ba843444ae377c17142f58f714e281e4bd3f183ab100ee1fbef389875d3e6"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 10/12 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060kyuubi-ctl\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: Deployment is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever reaches the release trigger goes to production unreviewed, so a mistaken merge or tag is live before anyone can stop it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"P5","level":"warning","message":{"text":"No DR/backup evidence: A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced \u2014 a volume that survives a container recreate is not a tested restore from catastrophic loss."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5daabb38c90b07af65b8738cf94ce884e90a7d8fef810d341de5c186188c8fe0"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urlopen(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/merge_kyuubi_pr.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf6f4e3affa008bc5a82ac7e7d5ae71dd1b30459ba9a5eb987a610b211ef48d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urlopen(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/merge_kyuubi_pr.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"42382b18d68010f8594ef42e6641e872d91afcdf2fd09c57f669afde80b33c6a"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urlopen(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/merge_kyuubi_pr.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3644f60b7127da03c87c8c14727856b8eda65226669bf3be1e34a080226e2e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060.openConnection(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10018f1b17f15c87bff2cf516d5611aaf346097e163cc637a9f2cce4c0b3593"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urlopen(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/generate.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcec9a1ebb76ce354d2958a1e76f1be4155fd27983889fafee51e52595c08040"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): kyuubi-server/web-ui/src/views/data-agent/composables/useSessionLifecycle.ts:104 \u00B7 kyuubi-server/web-ui/src/views/data-agent/composables/useSessionLifecycle.ts:144 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/composables/useSessionLifecycle.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e63e5a9910524f9105665e9560a2a85eb3d018243e36934cd3680d2e56b3778"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): kyuubi-server/web-ui/src/views/data-agent/composables/useChatStream.ts:186 \u00B7 kyuubi-server/web-ui/src/views/data-agent/composables/useChatStream.ts:197 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/composables/useChatStream.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c48c6bac66cc3897cd15a51bb418a7c0dce8e1b3615ea32827b30fb27bffa00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): kyuubi-server/web-ui/src/views/data-agent/components/ChatMessage.vue:140 \u00B7 kyuubi-server/web-ui/src/views/data-agent/components/ChatMessage.vue:148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/components/ChatMessage.vue"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a14c865f6febb3b23b403b218d64f83d25748aa99ad8d1385dbf902e1c6dd9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSseEvent (cyclomatic 41, cognitive 47): handleSseEvent has cyclomatic complexity 41 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/composables/useChatStream.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7761f74966cf00596a4d70f7f3852b8189b85e2b5cf7c0f07854c67425e2fedc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 26, cognitive 28): request has cyclomatic complexity 26 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/utils/request.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"83171e13eb8fea3a1781b130d3d5ed21e65ab64f6b9340982bef19a53d532114"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startStreaming (cyclomatic 13, cognitive 11): startStreaming has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/composables/useChatStream.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d398d46a113bd4493bd2dcb116d3c043e6494c7d565874d0250497b7b31d0e59"}},{"ruleId":"R3","level":"warning","message":{"text":"kyuubi-server/web-ui/src/views/management/batch/index.vue: 608 lines of code: kyuubi-server/web-ui/src/views/management/batch/index.vue has 608 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/management/batch/index.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"058015a307485328e15cb69be4f6db9caee817ea1cc902179b840f3c4d386ad0"}},{"ruleId":"R3","level":"warning","message":{"text":"kyuubi-server/web-ui/src/views/data-agent/components/ChatPane.vue: 598 lines of code: kyuubi-server/web-ui/src/views/data-agent/components/ChatPane.vue has 598 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/components/ChatPane.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d003eea4cfc73f21977c6f1561d1daf7d129c7638802a9d52eba10b4841f54"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/editor/components/Editor.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3cbb86460391bda6b914e9ee91eb7ff7c336137d0357779d1d68aa49d2c3f1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/composables/useChatStream.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"436773a5dab4193bb585eb556cdc1ec7daafb4364fcc80a725cd56200f584a3a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/components/ChatPane.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cde8d524f2cc22958f0b7cede366cb98668dae342d01462c94854655b31e6fb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/index.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc37d578b492b68ac6b126e6ef3e4f8dceaccf5525f39b9225179237aa6e4c15"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/components/SessionsRail.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5a60d877a232a81b934fa22bd47b98eea737d0bf7728dd60739743b6a1d6c3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/composables/useSessionLifecycle.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f03b5cba7663d90697c8069474209587de4c1775a11ae0e4f1d48e82e076f6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/components/monaco-editor/index.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"826e7e8b04616651df968478b9bb4331e2beef405a7a1a314ef494a36d1854fb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/components/ChatMessage.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de56a58081847931f4a4c424001f83ad2dced6f3a0ea617a74341caa95f6bfc0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/management/operation/index.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"955cb7b3bb35a3a6aa695963fccdd00c3ce34a4af637e89b55de4a1d9de208f5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/blocks/ToolBlock.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f51827b7a3b046b82db8464a45b9489aec8d206b8c85682764fc6b12ebe0c6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/detail/session/index.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"883e449d2336d288597876d5e09f588b2e9f9af6510ab9793dc100a4bcb4ca54"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/management/session/index.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6b770f99515b610936f6739acbf263863d38fbfeefcc361ad81974dcf374b6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/editor/components/Result.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb75c2bf2eb8e7cfcec7dc6fdc7f37819d78cb3aceb983f329c71dde921d3aae"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/components/login/index.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6566de02bf759adaafb64b9df2b13569b0d77cfb86934d974f84f48873a1e5eb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/components/InputBar.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29bf423913611410eb6f04fe3f5114bd627effdf89e83349cc80971d43d25ea7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/editor/index.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34688316e3b64c0e122033cbf213c7146165708c1f767ab1b26cc04ebfd76409"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/components/monaco-editor/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9185eee50ad811776cf4fde9a16d676f1251533b3d60ff6abf9a54cb0555498d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/api/editor/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2152b342109e7d91d5da6311cbc785f2e37e0eaffc19a2a15700788e5cc0b6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/blocks/ApprovalBlock.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2919c32f1a92dbb1988b142b9214a58b3d7743b7efcb4c9da78b15b2106ce43"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/composables/useStreamingMarkdown.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6aade7b14282ed2a2147f5171713612899ceac03040429916e2b2c8e6e186d3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/composables/useChatScroll.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0a6c3b20fd1f71b855387b010232f6b3e694119a96c782cf6a4a66e589eaf9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/blocks/UsageFooter.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1c42b3ff10d8dc9582c21b364f800c5d9b315e420d7dc30c32abf04bc67a82"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/router/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b52f3f79e7a1acf8b44f310c7edc743ac20edb68e23b2184139f7f0c3afd23"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/composables/useUrlSync.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b4d2ecdab1077c79cbc5c0ce3327840e4068a0c5ead0d4aa068d01391eddf3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/api/session/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfeeda0d033e5b07ae523c0a262ff580d3d03d6e6899a1c3852d0e6c8b5c196"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/router/management/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6885c38c624616f0a4c8e0ac6a66dcf9002f528214b163985758b46fa022ca28"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/blocks/ReasoningBlock.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c4da031ce171e5c7f6a20c083767112f7cb9a0d5e80b3bde5473366d9cf021"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/management/server/index.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d85dc0764bb1a28e7ee3b948695df805bca75880a8df8edecdac1959bcf9fd3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/blocks/MarkdownContent.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebff5b34bb2f76d4f84bcfa34ba9080a28ebacadd0c1ba1d0fdab29f19bea595"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/utils/markdown.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecbd02e1f64986041ff1f05ac6e4aba8e107880752dedd892d2b12cd4380c6f4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/swagger/index.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"436cb345730b72429939c545ae18541ecf4f75c4ae00d2dc45dfb511999ab42a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/main.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94c156e41670d7b8ff7a208ca199d60aa10e7eda48c384b95f6935418a354da"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/api/operation/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f287e34694d02d7ee20362cc8f865e000bdcdce47897d02be2f984c31056a86b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/overview/index.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18fe6d3259d86ccb33d1b235038d362ccd8db86bd314a397af960fab608bc72"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/pinia/editor/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42769b161e6d7e0a6dce572361aa3f8c1ce8bfb013c9bb7e01d3ac6c8f131193"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/editor/components/Log.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46b70b5a102585f764548a0b6f9adb68578f239e3025e85be3efdb2608b1039"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/locales/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9738c2de7b4338bf7a3b0d443b99f2582a74dc412fa8dd71077daf14cab88311"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/blocks/TextBlock.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbb3116aa1585332256122a898644ede3ef5219340750243a901d4fade0f04e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/router/data-agent/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9432b69fef89cd9f739b4618823d59685f8ebf48f6254877a0ec8c409c42d2bb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/router/detail/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e3ee4158034180c13f751c616af3d6a631de34a3e26eb1e4d2e2769b7d7f42"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/router/editor/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea6dd5612dc385778c317cf8dde99e8b7e99ab9c9e1878467e7e49fceae871e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/router/overview/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed970c07815ee7247472ca672c4d068d51bcbd93791b32b9370634ccfba1f38"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/router/swagger/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15051de4203b5431b55a583bc26df329c6a5a65f2c103b2aef429c0b648ffbdb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/pinia/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b1a59e8b2aec2350ad7a7e8709bdbbb8207fc5a933a7568db57caf81c99e15"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/App.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c0226c177d03d274cb44e434460b76d7fa2d5ecb08cdfc0541b6151f2614b7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/api/overview.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e667775210dff8db48f30dd95ed1509b5e1fd6820c30ccd525b8aceb39c55372"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~26 LoC): no import path from any entry point (5 application, 4 tooling, 13 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/contact/index.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3975cf74fd26cf28e8c896c17fbbe7836c9f6b067c285068f9622a5a404c8541"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~0 LoC): no import path from any entry point (5 application, 4 tooling, 13 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/api/overview.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d0f2e20d50e5d2d605f27169c1b2f9b9a09878bf7ba1a1d17cd35c1f9ab02f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SessionHandle\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/api/data-agent/index.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"141f93ffc7abc0c67abdd6970cddcf76071f8fc81b8bfb7171846a6c9d0ce2d3"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@iconify-json/ep\u0027: Declared in kyuubi-server/web-ui/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6ed2203018ecbdc40f4d6b09d70f4d08ac54b6e647faba68ac43783bbf806f16"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): kyuubi-server/web-ui/src/pinia/auth/auth.ts \u2192 kyuubi-server/web-ui/src/utils/request.ts \u2192 kyuubi-server/web-ui/src/pinia/auth/auth.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/pinia/auth/auth.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"015c810959bd7edc85ad7c4be0f18a584992c21b0ead9844e7d50123d2b8e74f"}},{"ruleId":"S1","level":"error","message":{"text":"TLS certificate validation disabled: \u0060NoopHostnameVerifier.INSTANCE\u0060 is set on a TLS client, so every peer certificate is accepted \u2014 including one an attacker presents. Chain, expiry, revocation and hostname are all skipped, so an attacker on the network path can present any certificate and read or rewrite the traffic \u2014 the connection is encrypted to the attacker, not to the intended host. Remove the override so the JVM\u0027s default trust manager and hostname check apply \u2014 that is what \u0060SSLContext.getDefault\u0060, Netty\u0027s \u0060SslContextBuilder.forClient()\u0060, sttp, Play WS and ssl-config use when nothing is set. If the server presents a self-signed or privately-issued certificate, trust THAT issuer rather than every certificate: load its CA into a \u0060KeyStore\u0060 and build a \u0060TrustManagerFactory\u0060 from it (ssl-config: \u0060trustManager.stores\u0060), which keeps the chain and hostname checks on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/HttpClientFactory.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8952980c7a4c3e64d255375204dc308a5ee2799700298cc725a44f2b307d3e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!commands.isEmpty() \u0026\u0026 getOpts().getScriptFile() != null\u0060 appears character-identically in 2 files \u2014 kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java, kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiBeeLine.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"e464efd19cef885c9ef55998fe58855c4a7d02e939cfd399279cf03fc345554b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!hasUnterminatedDoubleQuote \u0026\u0026 !hasUnterminatedSingleQuote\u0060 appears character-identically in 2 files \u2014 kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java, kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef6f0b0e7e48dadd9fba01db71ae742c8672a68421c9ae5ac30cbcb572c67a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!hasUnterminatedDoubleQuote \u0026\u0026 !wasPrevEscape\u0060 appears character-identically in 2 files \u2014 kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java, kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ebffe568ed322711f510eadee23b82f1f80b4578a7631654072d0b23e37546"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!hasUnterminatedSingleQuote \u0026\u0026 !wasPrevEscape\u0060 appears character-identically in 2 files \u2014 kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java, kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"5256d9aa5f53d6c018580bccceedd7ce03da888063bfb7aa7635c64f5a10c19b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(statement != null) \u0026\u0026 (statement instanceof KyuubiStatement)\u0060 appears character-identically in 2 files \u2014 kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java, kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7395238db0ac76d520e3cedcb0117a1e407febec352b89a59f264ca3f3386b0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060beeLine.getOpts().isSilent() \u0026\u0026 beeLine.getOpts().getScriptFile() != null\u0060 appears character-identically in 2 files \u2014 kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java, kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"419fcd8b99251b65414b30617d75391af25f0439fd5606d8df51a2f2a3fbc150"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060emptyResultSet || (maxRows \u003E 0 \u0026\u0026 rowsFetched \u003E= maxRows)\u0060 appears character-identically in 2 files \u2014 kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java, kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f952bb8b32327b603ad548c4f98b5aa4603f0c6bd6fefb7277250c9f390514"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060initFiles != null \u0026\u0026 initFiles.length != 0\u0060 appears character-identically in 2 files \u2014 kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java, kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiBeeLine.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"9303d6baf000b8fb9a121c0d5aaaf27f87221c495f81931947414ba43b8cc01d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isMultiLine(line) \u0026\u0026 beeLine.getOpts().isAllowMultiLineCommand()\u0060 appears character-identically in 2 files \u2014 kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java, kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdfcc84057e64d39f91922340fa8b4f58869bdfdb89c3d276d6524a51aa1a71"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060line.endsWith(beeLine.getOpts().getDelimiter()) || beeLine.isComment(line)\u0060 appears character-identically in 2 files \u2014 kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java, kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiCommands.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfacfc0bde80ef057030a10c9735e771c5fd0c378eabd4b56a70ef700ba34b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lineTrimmed.startsWith(\u0022#\u0022) || lineTrimmed.startsWith(\u0022--\u0022)\u0060 appears character-identically in 2 files \u2014 kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java, kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/common/util/HiveStringUtils.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c96ab8484f12529a06a02c78926498a91e8dd1c4e1569f2ce7f011dea2d3f10"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060maxScale \u003C 0 || maxScale \u003E HiveDecimal.MAX_SCALE\u0060 appears character-identically in 2 files \u2014 kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimal.java, kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/HiveDecimal.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/common/FastHiveDecimal.java"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf343cca81d5f9f29f1cd662d4ba8757fef829e7aafc3e9cd41bfa2f474648b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060schema == null || !schema.isSetColumns()\u0060 appears character-identically in 3 files \u2014 kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java, kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java, kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiStatement.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16d96d0faa5f3b64cb78b852761ed98a3ad54643032ba1c6bf885a338b20240"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.statement != null \u0026\u0026 (this.statement instanceof KyuubiStatement)\u0060 appears character-identically in 2 files \u2014 kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java, kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiQueryResultSet.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiArrowQueryResultSet.java"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18e8046fb7ee6db722291b983c20f20ce02fccbcba3d89ce946e472410c401d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060authStore.isAuthenticated \u0026\u0026 authStore.authToken\u0060 appears character-identically in 2 files \u2014 kyuubi-server/web-ui/src/api/data-agent/index.ts, kyuubi-server/web-ui/src/utils/request.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/api/data-agent/index.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd73a59f692545033a0d00b4a5419829476f0a882bd25a3c127e8fc5e7b84ee0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!conf.getConf(DYNAMIC_SHUFFLE_PARTITIONS) || !conf.getConf(ADAPTIVE_EXECUTION_ENABLED)\u0060 appears character-identically in 5 files \u2014 extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala, extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala, extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala, extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/DynamicShufflePartitions.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83935f7014cec151bea89ab61408c3ef4439ec4d10604b1d6d24939ad101178"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!conf.getConf(FINAL_STAGE_CONFIG_ISOLATION) || !conf.getConf(SQLConf.ADAPTIVE_EXECUTION_ENABLED)\u0060 appears character-identically in 5 files \u2014 extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala, extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala, extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala, extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiQueryStagePreparation.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4dc6efa1534ffca7d56731ad85d5eff5dd4311b730993d2ca95f37b98bc19fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!conf.getConf(FORCE_SHUFFLE_BEFORE_JOIN) || !conf.getConf(SQLConf.ADAPTIVE_EXECUTION_ENABLED)\u0060 appears character-identically in 5 files \u2014 extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala, extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala, extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala, extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"76858abb4a93f794c1703cc4840eac74cfef6bf12c5e67b93f30946ca7c0fc5a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!conf.getConf(KyuubiSQLConf.INFER_REBALANCE_AND_SORT_ORDERS) || dynamicPartitionColumns.nonEmpty\u0060 appears character-identically in 5 files \u2014 extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala, extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala, extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala, extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RebalanceBeforeWriting.scala"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b377451d94ee3295ec3bb6dd63156710d0e8d97ca4ef36a910d29d01080b586"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!dra || !sc.schedulerBackend.isInstanceOf[CoarseGrainedSchedulerBackend] || !hasImprovementRoom\u0060 appears character-identically in 5 files \u2014 extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala, extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala, extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala, extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/spark/sql/FinalStageResourceManager.scala"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9065a9aba73fbd540c8ae8d6fa7faed40364a8c18b69aa202cda5fd6593ef181"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!p._2.canCreatePartitioning || children(p._1).isInstanceOf[ShuffleExchangeLike]\u0060 appears character-identically in 5 files \u2014 extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala, extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala, extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala, extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"1846d8fd44eb3af9b44e4e15c723d0a49934dff7b873f17530b176ec1245c6d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!p.isInstanceOf[SortExec] \u0026\u0026 hasKeyedPartitioning(p.asInstanceOf[SparkPlan].outputPartitioning)\u0060 appears character-identically in 2 files \u2014 extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala, extensions/spark/kyuubi-extension-spark-4-3/src/main/scala/org/apache/spark/sql/execution/exchange/KyuubiEnsureRequirements.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e0286d1fc62e605fed1208b86a2c87bb62a4039f92adaa9235b40690df7490"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!shj.left.isInstanceOf[Exchange] \u0026\u0026 !shj.right.isInstanceOf[Exchange]\u0060 appears character-identically in 5 files \u2014 extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala, extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala, extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala, extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/InsertShuffleNodeBeforeJoin.scala"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3045542a13accd16a04c8ea983bcd410477323ffb8ee44422df741babf1b682d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!shouldConsiderMinParallelism || children(p._1).outputPartitioning.numPartitions \u003E= conf.defaultNumShufflePartitions\u0060 appears character-identically in 3 files \u2014 extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala, extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala, extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/KyuubiEnsureRequirements.scala"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d64c52b7e6400f4770537a3278400e522852b6846afc867346e2e3621cd8672"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(!hasReducingOperators \u0026\u0026 maxStageSize \u003E shufflePartitions * smallPartitionSizeThreshold) || (coalesceEnabled \u0026\u0026 !hasExpandingOperators \u0026\u0026 m\u2026\u0060 appears character-identically in 5 files \u2014 extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala, extensions/spark/kyuubi-extension-spark-4-0/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala, extensions/spark/kyuubi-extension-spark-4-1/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala, extensions/spark/kyuubi-extension-spark-4-2/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-extension-spark-3-5/src/main/scala/org/apache/kyuubi/sql/RemoveRebalanceShuffle.scala"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce0466b0a83b570d471fecf93a2c47be003fc1038516523e58c6c2df7f52894"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the function that made it: \u0060Files.walk(\u2026)\u0060 opens something that has to be given back \u2014 a file descriptor, a socket, a directory handle \u2014 and its only use reads \u0060.iterator\u0060 through it and drops it, so this expression both creates the value and is the last place that can release it, and does not. Every call leaks one more open handle until the collector happens to reach it: \u0060Too many open files\u0060 under load, and on Windows a file that cannot be replaced or deleted while it is held. Open it with \u0060scala.util.Using.resource(Files.walk(\u2026)) { r =\u003E \u2026 }\u0060, which releases it on every path including a throw, or hold it and call \u0060.close()\u0060 in a \u0060finally\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/metadata/jdbc/JDBCMetadataStore.scala"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1c502a345f14eeb18a4a2d251df73ce58a69589c906f11dfa5325c9d43a818"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 0/1 async functions that make a cancellable request (fetch, axios, ky, ofetch) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: request: \u0060request\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/utils/request.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e539ec013e1b0af80b5bb5bd358ef4c8b28f847ac62e14919ac36433987f735"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\u0060 is text this program did not author, and it is written into the text of an element through Vue\u0027s \u0060v-html\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/blocks/MarkdownContent.vue"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56883b0530528a407240a816ad6dea4a2f8f8909738d1a639ee2b7143607c5b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/management/engine/index.vue"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e34ecf9e3e6ed78ce4b248d4c2f7d1c4b92ba161fb6adca8d3aa474cdbbf080"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/management/batch/index.vue"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c36099bcedfbb6e9887e4cc52f7c72833bc5c2ecfb4015c8da0bb39221f668"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/utils/jdbc.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64f41c132ec4acfff82cb74d1b050420303f29e3fb53f877189f9f9966210ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/utils/jdbc.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6890332a5626feee4f40bf27947a84f3be742c6648d91c1ff4befd1601f15b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/composables/useSessionLifecycle.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f1820a907b792042b086bee3abcc8fd28e81be3f330607328a4277ec28744d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/composables/useSessionLifecycle.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6285176878f2f76413d308bc1d57a4bc4eb7610f125e6342f61647e4db2b007"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/components/SessionsRail.vue"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac1fa35dd29fcb79325eeb112d07326998078e4fe38e45cdc1da1c1410ddc1b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: Throwable\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/http/authentication/BearerAuthenticationHandler.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1024d6588ef8d390627add809dc8bbcb4a77901868daaecde387f01be55c2b63"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case NonFatal(_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/DataAgentResource.scala"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3687f8bbc58625681474f6179c366aaf41060a92cee4d0b103c49e3e4b4dce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/operation/ExecuteStatement.scala"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0c6180856b7bf82c429bbac1e54a93311536cf6bbb760854eb1f541be0224e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: Throwable\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/engine/JpsApplicationOperation.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"571812ee9e636faed585b204cbfd4d2569189e27e6a0844bf075fa4c462d8d67"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: Throwable\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/engine/JpsApplicationOperation.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"75edd28e0dc6876340401e6229079330fd8e4a3e59821f968fc96a2f7b7a542f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a9573993a4c45f21c88344d2159aa97723a7b0816c4f41b6db85379762cfb9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75588fa7edc27a7f9ce1d9e73fac9fdbc0cf55e120c4d7aa21a66f166d5e422"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b8f07af5cb1f3cda09540db1fd6f537bf3f01510a2f1c04c1ce14e3fc6501d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/Utils.java"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"a399577eaf37268dea161fadc8068a08fb198a68c9a95d5fa8e18f5db4b40641"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e1e533eb75603b4b1c3ecc8ccbbd9ff8f8f71c75d694bb804d6b50bcc354ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc02d0ff8c6aa10c1d78d4b2b098bbe7e6bce58a083ce3917285d2e74c17d6a5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46a0ab8215ba6ee1939a9b6b422ab2e1b8cb1b9f97bb1d7cbf2bfd79cb0f301"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9ee73067a07699d5ecc44c312a3f724804df7eda73aada253dba46a109d7e4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e54a56c8a7ce645e2bd0c686fa557bd9ba005deb1a2fe82c49780066e93ad92"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb38d9ef91c5d3635576b4ff1a3a70ab4a70bed8c1f928965207c824932a866"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":2111}}}],"partialFingerprints":{"codehealthFindingId/v1":"356ceea38c181c2badafc23e72166b1eee4cae4dfcc3d4c7f2dc7a30a2ce5e35"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLineOpts.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88e08631ee3aafded129ae145dfb654d2764d90924f6f7973d5154d00889f22"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"39498c5391068bb90d3d01b45f6449500042c9febfe2fa9eaadbf0d9e5e9db5d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Commands.java"},"region":{"startLine":1622}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8256574c88452a97206ebb31efc6db514076b0b4f50dd336157af856b475c96"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/DatabaseConnection.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d7de5b69748e7a962ddde7f729793f4e539b69feb110b94a327609074e9bf0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/DatabaseConnection.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"c553cfe6c2dba49ba367948905d43d553521d9d6644e87b04e406723f7ba7d12"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/DatabaseConnection.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e6e4ef4a17df86d51fbf131b1d89db670a5add012d179a35520c48722badc7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/KyuubiDatabaseConnection.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3c20afb8c749ed88256e07a482114a365bca04a92121732af7ce1ea45dcecc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Rows.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77afd468300a27ce31f2bdb007be3af3a2639363080bc6718fcc66c729fedfb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Rows.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f91c7e26ee0dd589808c23ed1d293f796c51aaa2cfb4496b28605848cc0a92"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/Rows.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"751c63ab9fc9794ca2b2639bd1df18ed0426623980c9608123e31fd7e5bfdb19"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/zookeeper/ZookeeperDiscoveryClient.scala"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c1bd09ca77f1cbcd9f42edf3210c5ea525feeea657c33df25a213513f611f6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/util/TempFileCleanupUtils.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5121a8f3d80103adfc7f0142974eeaeb75f267e6ce5814a23e72be952d9616e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/util/AuthZUtils.scala"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f9a283414297c4f46966cd5eac331b6632cd5491369c5259d777c9df915c37"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/serde/package.scala"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1ac97d414a8e9cb97af2ab0f54ff0b8aca19972756bac99eedca8a2db26375"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/serde/tableExtractors.scala"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a3b5992094604dd5ae2e57a65aab28dde4f9e50d0b14cdb20411bf74168d80"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/serde/tableExtractors.scala"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7183105b7d8f4635055535344c31077a98203077ce1d47027661faf3a69ab1a3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/ranger/AccessRequest.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6942964bc277beb20e6c9b96950d70ac476e7dfd49d37a8a81230bb2e2424a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/ranger/AccessRequest.scala"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b0c772add6d52f13b7977e266fe237c4075598235d9b6d79e9a7f730a6b7cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 286 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/BatchesResource.scala"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c7b03ed62ff3cd3e993df8f3920bfb9a3d0ed546c4e868ff2c2445c34782d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 46 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/util/SignalRegister.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec2b92a9b1ac1e3c6a13a01e735a4eb8ba48f0a6cb0720acc857ddff7781d60"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 71 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-common/src/main/scala/org/apache/kyuubi/service/ServiceUtils.scala"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3a855f40aa8aa62ce122e5f93af14424152d6b6d5ca79dacb89021dbf4275e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 79 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/ranger/SparkRangerAdminPlugin.scala"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0704b96e71222d1ebe778e4b6f5b4142b142b96bca2ffdd6e26c698198ac52"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 613 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62006d05f78b600a04d1e48e8c366f6d60d0a0f4019099086ab822fe82e539f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 624 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/DataGenerator.scala"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2138d4aedb520c934255add03abf1bb860751a4d07e63251ef3af4ce199b03e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 43 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/benchmark/Benchmarkable.scala"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7c5f9b8017b35bbc2ba8eeca827a948b61a525810ade3311adf927645a3ab4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 73 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/benchmark/Benchmarkable.scala"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e0705415bf2daa772b1a2dd6d048a633a549bae42c48152688021fd41deaf1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 79 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/benchmark/Benchmarkable.scala"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e2e4f2a36648576afb1f757b7e818428ab5fbef4f7520a7a06c650feff6805"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 207 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57c6614c0a7737b5405818d1e6dc49cb7ca2fa7b9234cdefa0bd7bf911e628f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 249 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68b980a65baac9600434af5f240af41dd6c0519efbae4fed882a4768a438f6d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1078 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e23f5ca43ae4504376a27caaff1a550a09de052f3b0cdc20e89b997babbc500"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1087 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9908c1d55ece9762a067e11e4e375f372a237dc431025995414f8c79cc4fafa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 411 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/Utils.java"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2e96d9fdf187c1b5668a438363c270d67f97a4d811c9bed6a41fb5cf0802e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 424 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/Utils.java"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3c1086161f87f7ac5c230163f17ee9edb02fb5bf2719895e10617688cc9dfb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 476 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/Utils.java"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a03931ec977f34ff759db45b7981c182073227c7bfe8974c1f3369ca4aba84b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 477 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/Utils.java"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e40e187a3f54c8a1292b725f2bfdb70bed8bc6fa3229dca3fc711d41f15143"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 538 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/Utils.java"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a31d1fc1413688b34d37096e7b0d3d97b073a2e4f855636c4b1bb2265c6137"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 597 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/Utils.java"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e3b9ec7db8edf8bad8d9d1bc955d56183d1b75bbb62c35a0930d69ef658295"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 655 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/Utils.java"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebc2cfcd1d94d74f2c52303dc8cf98da064299e599ea8fca7813c95ebc9555b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 58 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/SQLCompleter.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"163ed0554695fa6bc4152a974f3800f19a2ca30d912e9f69340aa5d79c971293"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 63 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/SQLCompleter.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"591f40b842ff2d408c809ad6db0002f1af6bcfec071d359040e500a164df9fc2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 69 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/SQLCompleter.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44b2a3c63143eb16c7231e67afa20fdf8e1ac6f09854b95da0e4ceb64b27e79"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 76 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/SQLCompleter.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a413e36452f136f9a64b64b24bcce3e619903bccc9ecf8b9f86992ed29cbd2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 83 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/SQLCompleter.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cefa0565d52991b3835606f43307fa1c28c15976f7d1b12f570c2fb46a683fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 106 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/hs2connection/HiveSiteHS2ConnectionFileParser.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2f1bde8599cba756af818c1754318740549aa8910a9e2660b3047e6b06be24"}},{"ruleId":"X5","level":"note","message":{"text":"Scala\u0027s null is not held to the type system everywhere: No build over this repository\u0027s 600 Scala product file(s) passes \u0060-Yexplicit-nulls\u0060, enables WartRemover\u0027s \u0060Null\u0060 wart or runs Scalafix\u0027s \u0060DisableSyntax.noNulls\u0060, so every reference type admits null and nothing reports a \u0060null\u0060 written into the code or returned from a Java API \u2014 the first one to reach a method call is a \u0060NullPointerException\u0060. \u0060Option\u0060 by convention is a habit no tool here holds the code to."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"23e7c3c6da50151f07723c64ca4f881fd5903e713d143161a7c0594ad7ba29cc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060extractJsonType\u0060 swallows every exception into \u0060\u0022message\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch case or in the Scaladoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/DataAgentResource.scala"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"372b97f6ce94f28c3bc6f8bf8e82171313fd473f4ae0c25f27d24c3d6f0676d4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getMetadataMethodNames\u0060 swallows every exception into \u0060return new String[0]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-hive-beeline/src/main/java/org/apache/hive/beeline/BeeLine.java"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"40279607c0bcdd6a25042bf3a8e68297ee3df96c8ee3df63905f34e83548c361"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadJdbcHistory\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kyuubi-server/web-ui/src/views/data-agent/utils/jdbc.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5412a17284ced8e93d1370cb3a69965f003478d87319957eb14bb613ab273ffc"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-295","guid":"a706c4e2-1232-8859-ae2e-17aa2d41f8e2","name":"Improper Certificate Validation","shortDescription":{"text":"Improper Certificate Validation"},"helpUri":"https://cwe.mitre.org/data/definitions/295.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-939","guid":"12397742-f2c4-8254-8012-482c3356c551","name":"CWE-939","shortDescription":{"text":"CWE-939"},"helpUri":"https://cwe.mitre.org/data/definitions/939.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":168,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}