synth icon indicating copy to clipboard operation
synth copied to clipboard

empty range error does not include column and table name

Open zvif-orca opened this issue 3 years ago • 2 comments

Describe the bug Synth exits with error of an empty range during import from postgres. Although the error is crystal-clear, it is not clear which table/column raised it. As a result, I cannot verify that the range is indeed empty.

To Reproduce Steps to reproduce the behavior:

  1. Add i32 range column that starts and ends at the same number - (1000, 1000) in my case
  2. Run import
  3. See error
Error: i32 range with low=1000 (inclusive) high=1000 (exclusive) step=1 is empty

Expected behavior The error message should include the table and column name.

Environment (please complete the following information):

  • OS: MacOS
  • Version: 0.6.8

zvif-orca avatar Sep 19 '22 13:09 zvif-orca

Are there any updates on how I can address this error?

meena-erian avatar Dec 21 '22 14:12 meena-erian

Try to set the CARGO_LOG environment variable to debug

OtherVibes avatar Dec 21 '22 15:12 OtherVibes