clintropolis commented on a change in pull request #6971: Added checkstyle for
"Methods starting with Capital Letters"
URL: https://github.com/apache/incubator-druid/pull/6971#discussion_r253149585
##########
File path: sql/src/test/java/org/apache/druid/sql/calcite/CalciteQueryTest.java
##########
@@ -133,15 +133,15 @@ public void testSelectCountStart() throws Exception
CalciteTests.REGULAR_USER_AUTH_RESULT,
ImmutableList.of(Druids.newTimeseriesQueryBuilder()
.dataSource(CalciteTests.DATASOURCE1)
- .intervals(QSS(Filtration.eternity()))
- .filters(SELECTOR("dim2", "0", null))
+ .intervals(qss(Filtration.eternity()))
Review comment:
Hmm, so I think I actually prefer these test shorthand methods as ALLCAPS
instead of lowercase, makes it to parse for me at least. Was the intention to
disallow all uppercase static methods too or just methods that started with an
uppercase letter and were not fully uppercase?
If no one agrees with me feel free to disregard this review 🙃
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]