Kurt Deschler has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/19875


Change subject: IMPALA-12134: Optimize row materialization time
......................................................................

IMPALA-12134: Optimize row materialization time

This patch improves row materialization time by providing specialized
formatting logic for default date and timestamp formats and by caching
deserialized column metadata to avoid unnecessary per-row cost.

Benchmarks:
- Manually tested mixed datatype table showed ~20% reduction in row
  materialization time
- Added cases to date-benchmark for new formatters. Date formatting
  improved by 3x and timestamp by 2x

Machine Info: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
ToYearMonthDay:            Function  iters/ms
-------------------------------------------------------
             TestCctzToYearMonthDay               15.5
                 TestToYearMonthDay               61.1
                         TestToYear                348
                       TestToString               9.54
          TestToString_stringstream               2.04
           TestDefaultDateToCharBuf                 27
              TestTimestampToString               6.27
      TestDefaultTimestampToCharBuf               13.8

Testing:
- Ran core tests

Change-Id: I1ef5e4137fa6c2d0a5f08b430e01e3fb7de86330
---
M be/src/benchmarks/date-benchmark.cc
M be/src/runtime/date-parse-util.cc
M be/src/runtime/date-parse-util.h
M be/src/runtime/date-value.cc
M be/src/runtime/datetime-simple-date-format-parser.h
M be/src/runtime/timestamp-parse-util.cc
M be/src/runtime/timestamp-parse-util.h
M be/src/runtime/timestamp-value.cc
M be/src/service/query-result-set.cc
9 files changed, 163 insertions(+), 12 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/75/19875/1
--
To view, visit http://gerrit.cloudera.org:8080/19875
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1ef5e4137fa6c2d0a5f08b430e01e3fb7de86330
Gerrit-Change-Number: 19875
Gerrit-PatchSet: 1
Gerrit-Owner: Kurt Deschler <[email protected]>

Reply via email to