v0.5.8¶
Patch release improving ODPS pull-probe diagnostics in ParallelODPSManager.
ODPS Diagnostics¶
_validate_hash_pull_sqlfailures now surface the first line of the underlying ODPS error inline (e.g.ODPS-0130071: Semantic analysis exception - ...), instead of only suggesting thatunique_keyis not visible in the SQL scope. The real cause — SQL syntax, missing table, permissions, quota — is visible at first glance in theValueErrormessage.- The original
unique_keyhint is retained as a "common cause" note, the message prefixunique_key validation failed for pull SQLis unchanged for log grep compatibility, and the full ODPS error remains available on the exception chain (raise ... from exc). - New module-level helper
_first_error_lineextracts the first non-empty message line (falling back to the exception type name, truncated to 200 chars) for embedding in re-raised errors.
Validation¶
- Full local pytest suite:
626 passed, 0 skipped. - Source package verification and wheel/sdist build passed (
tasks.py verify). - Documentation passed
mkdocs build --strict. - Updated probe-failure regression asserts the underlying first line is surfaced, later lines stay off the message, and the exception chain is preserved.