databricks-sql-nodejs icon indicating copy to clipboard operation
databricks-sql-nodejs copied to clipboard

Avoid calling require('lz4') if it's really not required

Open ikkala opened this issue 2 months ago • 0 comments

This changes the utlity module to return a function instead of the module directly. This way, caller can control when the module is actually tried to be resolved.

When lz4 disabled, we shouldn't get any error messages / warnings to console.

ikkala avatar Nov 20 '25 12:11 ikkala