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

bug: Tables not created if no records arrive with SQLSink #1027

Closed
kgpayne opened this issue Oct 3, 2022 · 0 comments · Fixed by #1036
Closed

bug: Tables not created if no records arrive with SQLSink #1027

kgpayne opened this issue Oct 3, 2022 · 0 comments · Fixed by #1036
Assignees
Labels
kind/Bug Something isn't working valuestream/SDK

Comments

@kgpayne
Copy link
Contributor

kgpayne commented Oct 3, 2022

Singer SDK Version

0.11.1

Python Version

3.8

Bug scope

Targets (data type handling, batching, SQL object generation, etc.)

Operating System

MacOS

Description

With non-SDK Targets it is common for schema/table objects to be created on arrival of a SCHEMA singer message before and regardless of if any RECORD messages ever arrive. This can be important for downstream testing in tools such as dbt where dbt will error on missing entities rather than proceed to run tests. This may be less of a bug and more of an unexpected behaviour coming from other SQL-based targets.

Code

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/Bug Something isn't working valuestream/SDK
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant