datafold / data-diff

Compare tables within or across databases

Home Page:https://docs.datafold.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix unhelpful logging with the `--debug` flag

sungchun12 opened this issue · comments

Describe the bug
A clear and concise description of what the bug is.

When I run data-diff --dbt --debug it works but shows unhelpful logs like the below. It should show something useful or be removed entirely:INFO <class 'data_diff.table_segment.TableSegment'>
image

Make sure to include the following (minus sensitive information):

  • The command or code you used
  • The run output + error you're getting. (including tracestack)
  • Run data-diff with the -d switch for extra debug information.

If possible, please paste these as text, and not a screenshot.

Describe the environment

  • data-diff==0.10.0rc0
  • MacOS on M2 Max Chip
  • python version: 3.9.6

Describe which OS you're using, which data-diff version, and any other information that might be relevant to this bug.