dbtsai opened a new pull request, #169: URL: https://github.com/apache/spark-connect-rust/pull/169
### What changes were proposed in this pull request? Address the two follow-up nits from [LC's review of #131](https://github.com/apache/spark-connect-rust/pull/131#pullrequestreview-5793501399): use `println!` in Rust `DataFrame::print_schema()` so its output includes the final blank line, and explain why `StructType.treeString` uses a Python integer default so explicit `None` raises `TypeError` like PySpark. ### Why are the changes needed? Follow-up to [SPARK-60695](https://issues.apache.org/jira/browse/SPARK-60695). Rust schema printing should match Scala's `println(schema.treeString)` and Python's `print(tree)`, both of which append a newline to the already newline-terminated tree. ### Does this PR introduce _any_ user-facing change? Rust `DataFrame::print_schema()` now ends its output with a blank line, matching Scala and Python. Python behavior is unchanged. ### How was this patch tested? - Exact Rust stdout check using a cached nested schema, including the final blank line. - 416 Rust library tests passed; all client test targets compiled with and without `wasm-udf`. - 540 offline Python tests passed, with 8 skips. - Official Spark 4.3 type-parity gate: 70 passed, 21 skipped, with no unexpected failures against an isolated local Connect server. - Exact schema depth/default/error/escaping checks matched reference PySpark 4.3; the 12-class API comparison found only the documented transport exceptions. - Release wheel build, Rust formatting, and whitespace checks passed. - Advisory workspace Clippy reports existing binding errors. All reported diagnostic source locations contain unchanged base text; this was a source audit, not a separate baseline Clippy run. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: OpenAI Codex (GPT-6). This pull request and its description were written by Isaac. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
