-
Notifications
You must be signed in to change notification settings - Fork 75
Conversation
Thanks for opening a pull request! Could you open an issue for this pull request on Github Issues? https://github.com/oap-project/native-sql-engine/issues Then could you also rename commit message and pull request title in the following format?
See also: |
looks like the new cast is more efficient, local tests showed ~2% improvement on TPC-DS power |
@@ -40,13 +40,7 @@ T round2(T val, int precision = 2) { | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like this round2 func can also utilize below new cast method?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is arrow::Decimal128 stored internally using some char-like stuffs? I didn't see a "Reprecision" method or something is provided so I think it might be OK for just now to use string formatters. By the way I see there is another function std::setprecision
might be easier to use than snprintf.
* [NSE-229] Fix the deprecated code warning in shuffle_split_test (#230) * fix the deprecated code warning in shuffle_split_test * fix the code style * format update * [NSE-239] Adopt ARROW-7011 (#240) * [NSE-224] update third party code (#242) * update third party code Signed-off-by: Yuan Zhou <yuan.zhou@intel.com> * fix format Signed-off-by: Yuan Zhou <yuan.zhou@intel.com> * [NSE-176]Arrow install order issue (#231) * Add Arrow install script * [NSE-176]Add Arrow install Script in Arrow Data Source * remove popd parameter for ubuntu * Change variables to BFS * Update Arrow Header and Find Arrow function * Fix one issue with reading wrong Arrow Path * Update ARROW_CSV=ON * Update build_arrow=OFF in Scala UT * Install parent pom file in Scala UT * [NSE-196] clean up native sql options (#215) * clean up native sql options Signed-off-by: Yuan Zhou <yuan.zhou@intel.com> * adding more options Signed-off-by: Yuan Zhou <yuan.zhou@intel.com> * adding more options Signed-off-by: Yuan Zhou <yuan.zhou@intel.com> * adding warning log for running on non-intel cpu Signed-off-by: Yuan Zhou <yuan.zhou@intel.com> * [NSE-206]doc update on feature support status (#253) * update operators support status Signed-off-by: Yuan Zhou <yuan.zhou@intel.com> * update docs on operators supporting status Signed-off-by: Yuan Zhou <yuan.zhou@intel.com> * fix Signed-off-by: Yuan Zhou <yuan.zhou@intel.com> * [NSE-241] fix hashagg result length (#249) * fix hashagg result length Signed-off-by: Yuan Zhou <yuan.zhou@intel.com> * optimize on getting batch size Signed-off-by: Yuan Zhou <yuan.zhou@intel.com> * using fixed sized output len for hashagg Signed-off-by: Yuan Zhou <yuan.zhou@intel.com> * fix format Signed-off-by: Yuan Zhou <yuan.zhou@intel.com> * [NSE-248] fix arrow dependency order (#259) * Only read .so.300.0.0 * Fix arroow dataset dependency issue * Add ARROW_S3=ON, Add symlink copy in CMakeList. Co-authored-by: JiaKe <ke.a.jia@intel.com> Co-authored-by: Hongze Zhang <hongze.zhang@intel.com> Co-authored-by: Wei-Ting Chen <weiting.chen@intel.com>
No description provided.