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

Use TestTable in faker #24088

Merged
merged 2 commits into from
Nov 11, 2024
Merged

Conversation

wendigo
Copy link
Contributor

@wendigo wendigo commented Nov 9, 2024

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.

assertUpdate("DROP TABLE faker.default.comments");
try (TestTable table = new TestTable(getQueryRunner()::execute, "comment", "(id INTEGER, name VARCHAR)")) {
assertUpdate("COMMENT ON COLUMN %s.name IS 'comment text'".formatted(table.getName()));
assertQuery("SHOW COLUMNS FROM " + table.getName(), "VALUES ('id', 'integer', '', ''), ('name', 'varchar', '', 'comment text')");
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@wendigo wendigo merged commit 79df77e into trinodb:master Nov 11, 2024
15 checks passed
@github-actions github-actions bot added this to the 465 milestone Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants