fix(ml): defer ColumnRemapper import until after importorskip
sklearn_utils imports sklearn at module level, so importing ColumnRemapper
before pytest.importorskip("sklearn") caused an unconditional sklearn import
at collection time, breaking test collection when sklearn is not installed.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix: resolve DeprecationWarning and FutureWarning in tests
- Fix Python 3.13+ DeprecationWarning in bigquery udf/core.py: create
ast.Attribute pattern via __new__ to avoid required `value` argument
- Fix pandas FutureWarning: use lowercase 'h' instead of deprecated 'H'
freq alias in date_range
- Fix datafusion backend: use catalog().schema() with fallback to
catalog().database() for newer datafusion API
- Remove redundant pytest.mark.backend marker in backends/conftest.py
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
test: add failing tests for decompile() custom relation handlers
Regression tests for #1702. decompile() has no handlers for CachedNode,
RemoteTable, FlightUDXF, or Read — they all fall back to the generic
DatabaseTable handler which discards parent/remote_expr/input_expr/
read_kwargs fields.
8 tests: 4 check dispatch registration, 4 check decompiled output.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>