wutiangan opened a new issue #2924: Error of exporting double type data URL: https://github.com/apache/incubator-doris/issues/2924 When exporting a table of type double to HDFS, the data of conversion is wrong. When doris be exports data of type double, the values of all columns are converted to the form of stringstream, but the precision will be lost if the type double is directly put into stringstream. for example: ``` double f = 27361919854.929001; std: :stringstream ss; ss << f; cout << ss.str() << endl; ss.str(""); ss << std::to_string(f); cout << ss.str() << endl; ``` results: ``` 2.73619e+10 27361919854.929001 ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org