[jira] [Created] (IOTDB-1446) csv import redesign

2021-06-18 Thread Haimei Guo (Jira)
Haimei Guo created IOTDB-1446:
-

 Summary: csv import redesign
 Key: IOTDB-1446
 URL: https://issues.apache.org/jira/browse/IOTDB-1446
 Project: Apache IoTDB
  Issue Type: Improvement
Reporter: Haimei Guo
Assignee: Haimei Guo


based on the discussion,
 # modify the document of CSV Tools
 # add sample data into examples folder.
 # rewrite the tool and (only) support RFC 4180
 # redesign the csv schema if needed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IOTDB-1444) Building C++ Client : Fatal error: Navigation Timeout Exceeded: 5000ms exceeded

2021-06-18 Thread Haonan Hou (Jira)


[ 
https://issues.apache.org/jira/browse/IOTDB-1444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17365379#comment-17365379
 ] 

Haonan Hou commented on IOTDB-1444:
---

Let me copy this solution to github issue 
https://github.com/apache/iotdb/issues/3426.

> Building C++ Client : Fatal error: Navigation Timeout Exceeded: 5000ms 
> exceeded
> ---
>
> Key: IOTDB-1444
> URL: https://issues.apache.org/jira/browse/IOTDB-1444
> Project: Apache IoTDB
>  Issue Type: Bug
>  Components: Client/Others
>Affects Versions: 0.12.0
>Reporter: 刘珍
>Priority: Minor
> Attachments: image-2021-06-18-11-55-17-743.png
>
>
> master 0616 / 699f866fb73d81c6d35ad6b401ceceb2499decbf
> Author: J.J. Liu 
>Date:   Wed Jun 16 22:58:17 2021 +0800
> Fix Cpp example not release query dataset bug (#3419)
>  Running maven command in IoTDB root directory:
> mvn  package -P compile-cpp  -pl example/client-cpp-example -am -DskipTest
> got error:
> Running "qunit:ThriftJS_TLS" (qunit) task
> Testing https://localhost:8091/test-nojq.html >> There was an error with 
> headless chrome
> {color:red}*Fatal error: Navigation Timeout Exceeded: 5000ms exceeded*{color}
>  !image-2021-06-18-11-55-17-743.png! 
> Modify the file:
> ./compile-tools/thrift/target/thrift-0.14.1/lib/js/node_modules/puppeteer/lib/FrameManager.js
> line 62
> this._defaultNavigationTimeout = timeout*100;
> line 76
>   timeout = this._defaultNavigationTimeout*100
> line 123
>   timeout = this._defaultNavigationTimeout*100
> line 537
>   timeout = 36
> can solve the timeout problem.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (IOTDB-1445) c++ : select * from dev (300 sensors * 10100000 points ) got Segmentation fault

2021-06-18 Thread Jira
刘珍 created IOTDB-1445:
-

 Summary: c++ : select * from dev  (300 sensors * 1010 points ) 
got Segmentation fault
 Key: IOTDB-1445
 URL: https://issues.apache.org/jira/browse/IOTDB-1445
 Project: Apache IoTDB
  Issue Type: Bug
  Components: Client/Others
Affects Versions: 0.12.0
Reporter: 刘珍
 Attachments: image-2021-06-18-15-29-44-915.png

master 0616 / 699f866fb73d81c6d35ad6b401ceceb2499decbf
Author: J.J. Liu   
Fix Cpp example not release query dataset bug (#3419)

benchmark  generate  test data:
INSERT_MODE=session
IS_CLIENT_BIND=true
CLIENT_NUMBER=20
GROUP_NUMBER=20
DEVICE_NUMBER=20
SENSOR_NUMBER=300
IS_SENSOR_TS_ALIGNMENT=true
BATCH_SIZE=10
LOOP=101
OPERATION_PROPORTION=1:0:0:0:0:0:0:0:0:0:0
IS_OVERFLOW=false

SessionExample.cpp :
void query({color:red}string dev{color}) {
unique_ptr dataSet = 
session->executeQueryStatement({color:red}"select * from "+dev{color});
cout << "timestamp" << "  ";
for (string name : dataSet->getColumnNames()) {
  cout << name << "  ";
}
cout << endl;
dataSet->setBatchSize(1024);
while (dataSet->hasNext())
{
  cout << dataSet->next()->toString();
}

dataSet->closeOperationHandle();
}

int main() {
session = new Session("127.0.0.1", 6667, "root", "root");
session->open(false);
 query("root.group_0.d_0");
  query("root.group_1.d_1");
  query("root.group_10.d_10");
  query("root.group_11.d_11");
  query("root.group_12.d_12");
  query("root.group_13.d_13");
  query("root.group_14.d_14");
  query("root.group_15.d_15");
  query("root.group_16.d_16");
  query("root.group_17.d_17");
  query("root.group_18.d_18");
  query("root.group_19.d_19");
  query("root.group_2.d_2");
  query("root.group_3.d_3");
  query("root.group_4.d_4");
  query("root.group_5.d_5");
  query("root.group_6.d_6");
  query("root.group_7.d_7");
  query("root.group_8.d_8");
  query("root.group_9.d_9");

session->close();

return 0;
}

compile :
mvn  package -P compile-cpp  -pl example/client-cpp-example -am -DskipTest

run test :
./SessionExample

{color:red}* Segmentation fault*{color}

 !image-2021-06-18-15-29-44-915.png|thumbnail! 




--
This message was sent by Atlassian Jira
(v8.3.4#803005)