databrickslabs / dbldatagen

Generate relevant synthetic data quickly for your projects. The Databricks Labs synthetic data generator (aka `dbldatagen`) may be used to generate large simulated / synthetic data sets for test, POCs, and other uses in Databricks environments including in Delta Live Tables pipelines
https://databrickslabs.github.io/dbldatagen
Other
309 stars 58 forks source link

fixed use of logger to get named logger #170

Closed ronanstokes-db closed 1 year ago

ronanstokes-db commented 1 year ago

Proposed changes

Fixed use of logger in _version and spark_singleton to use named logger

Types of changes

What types of changes does your code introduce to dbldatagen? Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

codecov[bot] commented 1 year ago

Codecov Report

Merging #170 (e862f10) into master (46354fa) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #170   +/-   ##
=======================================
  Coverage   90.34%   90.34%           
=======================================
  Files          22       22           
  Lines        2516     2517    +1     
  Branches      417      417           
=======================================
+ Hits         2273     2274    +1     
  Misses        158      158           
  Partials       85       85           
Impacted Files Coverage Δ
dbldatagen/data_generator.py 84.69% <ø> (-0.03%) :arrow_down:
dbldatagen/_version.py 100.00% <100.00%> (ø)
dbldatagen/spark_singleton.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.