Making TestCassandraConnectorTest more maintainable#11040
Merged
ebyhr merged 1 commit intotrinodb:masterfrom Feb 24, 2022
Merged
Conversation
hashhar
reviewed
Feb 15, 2022
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraTable.java
Outdated
Show resolved
Hide resolved
cdc5680 to
227aa86
Compare
hashhar
reviewed
Feb 16, 2022
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraTable.java
Outdated
Show resolved
Hide resolved
hashhar
reviewed
Feb 16, 2022
Member
hashhar
left a comment
There was a problem hiding this comment.
Looks nice. Thanks for the improvement. Some comments and questions.
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraTable.java
Outdated
Show resolved
Hide resolved
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraTable.java
Outdated
Show resolved
Hide resolved
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraTable.java
Outdated
Show resolved
Hide resolved
227aa86 to
b99189e
Compare
Member
Author
|
Updated. |
Member
Author
|
CI (:trino-iceberg) #10932 |
ebyhr
reviewed
Feb 17, 2022
Member
ebyhr
left a comment
There was a problem hiding this comment.
Please remove the bullet point of "Unrelated types in a table" from the commit body.
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraConnectorTest.java
Outdated
Show resolved
Hide resolved
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraTable.java
Outdated
Show resolved
Hide resolved
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraTable.java
Outdated
Show resolved
Hide resolved
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraTable.java
Outdated
Show resolved
Hide resolved
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraTable.java
Outdated
Show resolved
Hide resolved
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraTable.java
Outdated
Show resolved
Hide resolved
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraTable.java
Outdated
Show resolved
Hide resolved
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraConnectorTest.java
Outdated
Show resolved
Hide resolved
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraConnectorTest.java
Outdated
Show resolved
Hide resolved
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraConnectorTest.java
Outdated
Show resolved
Hide resolved
Member
Author
|
I also found some unused code in Edited: Ignore. |
b99189e to
48f0d1e
Compare
tangjiangling
commented
Feb 19, 2022
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraTable.java
Outdated
Show resolved
Hide resolved
48f0d1e to
5351934
Compare
ebyhr
approved these changes
Feb 22, 2022
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraTable.java
Outdated
Show resolved
Hide resolved
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraTable.java
Outdated
Show resolved
Hide resolved
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraTable.java
Outdated
Show resolved
Hide resolved
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraTable.java
Outdated
Show resolved
Hide resolved
5351934 to
5d14f5c
Compare
Member
Author
|
Updated. |
5d14f5c to
cbec2d6
Compare
This was referenced Feb 24, 2022
Member
|
Merged, thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fix some issues in
TestCassandraConnectorTestthat are not easy to maintain:Unrelated types in a tableIt reduces maintainability when we want to add test cases to a typeGeneral information
Refactoring.
N/A.
N/A.
Related issues, pull requests, and links
Fixes #10860 (remaining part of the issue)
Documentation
(x) No documentation is needed.
Release notes
(x) No release notes entries required.