We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Currently driver does not support get_pk_constraint() method. This prevents me from working meltano tap.
get_pk_constraint()
To Reproduce The test I wrote looks like
@require_server_version(18, 16, 0) def test_primary_keys(self): self.table_with_primary.create(self.session.bind) con = self.dialect.get_pk_constraint(self.session, self.table_with_primary.name) self.assertIsNotNone(con, "Table should contain primary key constrain") self.assertTrue("constrained_columns" in con) self.assertEqual(("x",), con["constrained_columns"])
where table_with_primary is
table_with_primary
self.table_with_primary = Table( 'test_primary_table', self.metadata(), Column('x', types.Int32, primary_key=True), engines.MergeTree( primary_key=['x'] ) )
Expected behavior Test should pass.
Versions
main
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
Currently driver does not support
get_pk_constraint()
method. This prevents me from working meltano tap.To Reproduce
The test I wrote looks like
where
table_with_primary
isExpected behavior
Test should pass.
Versions
main
branchThe text was updated successfully, but these errors were encountered: