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

SNOW-919423 Surfaces Table Schema for a Channel #589

Merged
merged 2 commits into from
Sep 21, 2023
Merged

Conversation

sfc-gh-tjones
Copy link
Contributor

We've had requests to surface the table schema for a channel so that it is possible to reason about what columns need to be supplied to a given call of insertRow or insertRows. This surfaces a map of Column Name to Column Properties that are normally surfaced in the output of SHOW COLUMNS.

@test adds test to SnowflakeStreamingIngestChannelTest.java

@sfc-gh-tjones sfc-gh-tjones requested review from sfc-gh-tzhang and a team as code owners September 20, 2023 20:37
We've had requests to surface the table schema for a channel so that it
is possible to reason about what columns need to be supplied to a given
call of `insertRow` or `insertRows`. This surfaces a map of Column
Name to Column Properties that are normally surfaced in the output of
`SHOW COLUMNS`.

@test adds test to `SnowflakeStreamingIngestChannelTest.java`
Copy link
Contributor

@sfc-gh-tzhang sfc-gh-tzhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments, otherwise LGTM!

@sfc-gh-tjones sfc-gh-tjones merged commit d8513d1 into master Sep 21, 2023
9 checks passed
@sfc-gh-tjones sfc-gh-tjones deleted the SNOW-919423 branch September 21, 2023 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants