[MCOL-4812] idbExtentMin/Max are broken Created: 2021-07-12  Updated: 2021-08-23

Status: Open
Project: MariaDB ColumnStore
Component/s: PrimProc
Affects Version/s: 6.1.1
Fix Version/s: Icebox

Type: Bug Priority: Minor
Reporter: Roman Assignee: Roman
Resolution: Unresolved Votes: 0
Labels: None


 Description   

The select with idbExtentMax in projection returns an error.

MariaDB [test]> select idbExtentMax(i) from c1;
ERROR 1815 (HY000): Internal error: Error while fetching from ExeMgr: IDB-2035: An internal error occurred.  Check the error log file & contact support.

According with the call stack plugin code incorrectly treats the MDB field. MDB sends down Field_string but MCS plugin code treats it like an integer. This forces code to throw.
A side note. TypeHandler code uses dynamic_cast for asserts that is a heavyweight reflection op. It must be replaced with typeid.


Generated at Thu Feb 08 02:53:11 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.