You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2022/12/23 16:14:25 UTC
[GitHub] [iotdb] github-code-scanning[bot] commented on a diff in pull request #8432: [IOTDB-4005] Pipeline fragmentInstance to implement parallel execution
github-code-scanning[bot] commented on code in PR #8432:
URL: https://github.com/apache/iotdb/pull/8432#discussion_r1056466177
##########
example/jdbc/src/main/java/org/apache/iotdb/JDBCExample.java:
##########
@@ -26,50 +26,91 @@
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Statement;
+import java.util.HashSet;
+import java.util.Random;
+import java.util.Set;
public class JDBCExample {
public static void main(String[] args) throws ClassNotFoundException, SQLException {
Class.forName("org.apache.iotdb.jdbc.IoTDBDriver");
try (Connection connection =
- DriverManager.getConnection(
- "jdbc:iotdb://127.0.0.1:6667?version=V_0_13", "root", "root");
+ DriverManager.getConnection("jdbc:iotdb://127.0.0.1:6667", "root", "root");
Review Comment:
## Credentials should not be hard-coded
<!--SONAR_ISSUE_KEY:AYU_w0hAEQh_Wttxqc5Y-->Revoke and change this password, as it is compromised. <p>See more on <a href="https://sonarcloud.io/project/issues?id=apache_incubator-iotdb&issues=AYU_w0hAEQh_Wttxqc5Y&open=AYU_w0hAEQh_Wttxqc5Y&pullRequest=8432">SonarCloud</a></p>
[Show more details](https://github.com/apache/iotdb/security/code-scanning/101)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org