-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Making TestCassandraConnectorTest more maintainable #11040
Making TestCassandraConnectorTest more maintainable #11040
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraTable.java
Show resolved
Hide resolved
cdc5680
to
227aa86
Compare
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraTable.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
Show resolved
Hide resolved
227aa86
to
b99189e
Compare
Updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@ebyhr Do you want to take a look as well?
CI (:trino-iceberg) #10932 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
Show resolved
Hide resolved
I also found some unused code in Edited: Ignore. |
b99189e
to
48f0d1e
Compare
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraTable.java
Outdated
Show resolved
Hide resolved
48f0d1e
to
5351934
Compare
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
Updated. |
5d14f5c
to
cbec2d6
Compare
Merged, thanks! |
Description
Fix some issues in
TestCassandraConnectorTest
that 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.