-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Core/Infra/ScriptingScripting abstractions, Painless, and MustacheScripting abstractions, Painless, and Mustache>bugTeam:Core/InfraMeta label for core/infra teamMeta label for core/infra team
Description
The casting model needs to be overhauled to support the unsigned long field type, added in 60050, as this type can return a BigInteger.
Type promotion in the casting model works well for primitive types, String and def.
The def type is tricky to handle with boxed types and type promotion, the current model has limited support for boxed types.
As this is a major rework on a subtle subsystem, we should look toward interim support for unsigned long.
@jimczi @mayya-sharipova what do you think about having unsigned long field return doubles for ScriptDocValues?
Relates: #64347
mayya-sharipova, MarcoMartins86 and jsearles57
Metadata
Metadata
Assignees
Labels
:Core/Infra/ScriptingScripting abstractions, Painless, and MustacheScripting abstractions, Painless, and Mustache>bugTeam:Core/InfraMeta label for core/infra teamMeta label for core/infra team