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

Snowflake Sink should automatically create the table if not exists even when using columnMapping == "name" #550

Open
zshao9 opened this issue Mar 19, 2024 · 0 comments

Comments

@zshao9
Copy link

zshao9 commented Mar 19, 2024

However, it seems to fail when the jdbcWrapper.resolveTable is called.

In this code: ccfbe44#diff-743d6c0c9fa21fd5da1d11fa72cbf0636eabb4204b3507f7881c0fdcded20cfcR69

      try {
        schema = jdbcWrapper.resolveTable(conn, params.table.get.name, params)
        params.setColumnMap(
          generateColumnMap(
            data.schema,
            schema,
            params.columnMismatchBehavior == "error")
        )

      } finally conn.close()
    }

cc @binglihub @adam-richardson-openai

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

No branches or pull requests

1 participant