databricks-sql-nodejs
databricks-sql-nodejs copied to clipboard
Avoid calling require('lz4') if it's really not required
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.