Skip to content

SQL null (Schema) arguments to (map) function in projection #861

@gramian

Description

@gramian

ArcadeDB Version: v23.1.2 (build 9dbe3ce/1675373316135/main)

JDK Version: openjdk 11.0.18 2023-01-17

OS: MacOS 12.6

Arguments to the map function (and maybe others) result in null when properties from schema:types are passed. It seems either argument in the example below (name and custom.label) seem to be null to the map function.

Expected behavior

{ "doc": "Document" }

Actual behavior

null

Steps to reproduce

CREATE DOCUMENT TYPE doc;
ALTER TYPE doc CUSTOM label = 'Document';
SELECT map(name,custom.label) FROM schema:types;

The following works as epected:

SELECT name, custom.label FROM schema:types;

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions