Bug 7038 - Rework 'type decimal64' lookup