Repository navigation
Release v0.15.3
Release v0.15.3
Highlights
- Choose to skip unredacted profiler steps. The new
--excluded unredactedoption onexecute-database-profilerskips the steps that pull raw query text without redaction. Skipped steps are logged in the run metadata and the run still finishes. - Less sensitive data in Snowflake extracts. The Snowflake profiler now hashes user names and drops free-text columns and pricing details from its extract.
- More reliable SQL Server profiling. The MSSQL profiler now handles databases with mixed or case-sensitive collations, older SQL Server versions, and passwords that contain special characters.
Profilers
Enhancements
- Step labels and a new
--excludedoption (#2679)
Profiler pipeline steps can now carry alabel. Labels come from a fixed set, and unknown values are rejected when the config loads. Runningdatabricks labs lakebridge execute-database-profiler --excluded unredactedskips every step labelledunredacted. Those steps are recorded asSKIPPEDinprofiler_run_metadata, and the run still completes. The Snowflakequery_samplesand Oracleperf_sqltextsteps are labelledunredacted.
Fixes
- Fixed DuckDB
DECIMALoverflow across all profilers (#2657)
Source queries that returnDECIMAL/NUMERIC/NUMBERvalues could fail when loaded into DuckDB, because DuckDB picks a narrowDECIMALtype from a sample of rows and then overflows on larger values. The affected Synapse, Oracle and Teradata queries now cast those values to a floating-point type in the query itself.
SQL Server
- Hardened queries for collations and older versions (#2675)
Queries that span several databases now work when those databases use different collations (addsCOLLATE DATABASE_DEFAULT).sys_infoextraction now falls back gracefully on older SQL Server versions that lack somesys.dm_os_sys_infocolumns. Metadata identifiers and aliases now use consistent casing, so the SQL Server and Synapse queries work in case-sensitive catalogs. - Fixed passwords with special characters (#2658)
Passwords containing ODBC-special characters such as?are now escaped properly when the connection string is built. Before, they caused aConnectionStringParseErrorthat blocked the connection test inconfigure-database-profiler.
Snowflake
- Dropped potentially sensitive values from the extract (#2678)
rate_sheetnow keeps only the account tier. User names inquery_historyandquery_samplesare hashed. Free-text columns are removed fromquery_historyanddatabase_objects. ~is now expanded inprivate_key_path(#2674)
A key path like~/snowflake.pemis now resolved against your home directory, like every other path Lakebridge reads. Before, it failed with an unclear read/MalformedFramingerror.
New Contributors
- @surajs-db made their first contribution in #2658
Full Changelog: v0.15.2...v0.15.3