Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARN synth::cli::telemetry] could not crawl into field #430

Open
kaushalyap opened this issue May 24, 2023 · 0 comments
Open

WARN synth::cli::telemetry] could not crawl into field #430

kaushalyap opened this issue May 24, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@kaushalyap
Copy link

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

❯ synth import --from [DB_URI] --schema app_public ap

Steps to reproduce the behavior:

  1. Schema (if applicable)
CREATE TABLE IF NOT EXISTS
app_public.tbl (
    id BIGINT GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
    col1 BIGINT UNIQUE,
    col2 SMALLINT,
    col3 DATE DEFAULT current_date,
    col4 TIMESTAMPTZ DEFAULT current_timestamp,
    col5 TIMESTAMPTZ CHECK (col4 < col5),
    col6 SMALLINT CHECK (col6 > 0),
    col7 SMALLINT,
    col8 NUMERIC(6,2),
    FOREIGN KEY (col1) REFERENCES app_public.tbl2 (id),
    FOREIGN KEY (col2) REFERENCES app_public.tbl3 (col2)
);
  1. See error
❯ synth import --from [DB_URI] --schema app_public ap
[2023-05-24T15:17:43Z WARN  synth::cli::telemetry] could not crawl into field `0` at `tbl.content.col6`
[2023-05-24T15:17:43Z WARN  synth::cli::telemetry] could not crawl into field `col6` at `tbl.content`
[2023-05-24T15:17:43Z WARN  synth::cli::telemetry] could not crawl into field `content` at `tbl`
[2023-05-24T15:17:43Z WARN  synth::cli::telemetry] could not crawl into field `tbl` at `{top-level}`
Error: i32 range with low=7 (inclusive) high=7 (exclusive) step=1 is empty

Expected behavior
Generating collections according to table schema.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: Fedora Linux
  • Version: 38

Additional context
Add any other context about the problem here.

@kaushalyap kaushalyap added the bug Something isn't working label May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant