跳转至

v0.5.8

Patch release improving ODPS pull-probe diagnostics in ParallelODPSManager.

ODPS Diagnostics

  • _validate_hash_pull_sql failures now surface the first line of the underlying ODPS error inline (e.g. ODPS-0130071: Semantic analysis exception - ...), instead of only suggesting that unique_key is not visible in the SQL scope. The real cause — SQL syntax, missing table, permissions, quota — is visible at first glance in the ValueError message.
  • The original unique_key hint is retained as a "common cause" note, the message prefix unique_key validation failed for pull SQL is 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_line extracts 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.