changxue created IOTDB-5932:
-------------------------------

             Summary: clarify java session creating API
                 Key: IOTDB-5932
                 URL: https://issues.apache.org/jira/browse/IOTDB-5932
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Client/Java
            Reporter: changxue
            Assignee: Tian Jiang
         Attachments: image-2023-05-29-15-19-43-900.png

clarify java session creating API
 !image-2023-05-29-15-19-43-900.png|width=800! 

1.  timeOut is useless.  
     No source code supports it and it do nothing actually.
2. thriftMaxFrameSize
    expect result: 
就是上面说的那个buffer(thriftDefaultBufferSize)的最大大小,单个请求超过这个大小就会报错,防止内存被一些错误请求撑爆
    actual result: execute a big query, fetchSize(10000) 
thriftMaxFrameSize(100) , it return all results normally instead of throwing 
exception.
   
3. zoneId
    This is only for human reading. It's useless to any session API .

expect result:
1. remove the useless API
2. thriftMaxFrameSize is not effective, please correct it if it is necessary.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to