Nikita Amelchev created IGNITE-29332:
----------------------------------------
Summary: SQL Calcite: Add a fast path for numbers and strings in
column value conversion
Key: IGNITE-29332
URL: https://issues.apache.org/jira/browse/IGNITE-29332
Project: Ignite
Issue Type: Improvement
Reporter: Nikita Amelchev
Assignee: Nikita Amelchev
For every column value read by a scan, TypeUtils.toInternal compares the
storage type with each temporal type, and CacheTableDescriptorImpl.unwrap looks
the value class up among SQL types, although numbers and strings need neither.
TypeUtils.toInternal is also too large to be inlined by the JIT compiler, so
the call itself remains on every value. This is noticeable in profiles of scans
that read many rows.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)