Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Now, if IoTDB server enables RPC compression, then when users use JDBC, they have to write codes before creating a JDBC connection:
org.apache.iotdb.jdbc.Config.rpcThriftCompressionEnable=true;
It is ungraceful. For JDBC, it is better to put settings like the above into the JDBC URL, e.g.,
jdbc:iotdb://127.0.0.1:6667?rpc_compress=true
Just modify parseUrl() in jdbc/src/main/java/org/apache/iotdb/jdbc/Utils.java .
Attachments
Issue Links
- links to