Skip to content

Map datatype #1841

@arctica

Description

@arctica

There is already limited support for a Map datatype via the Nested type and *Map aggregate functions. This means people have a need for keys->value data structures.

It would be useful to have a dedicated Map datatype which can work with at least integers and strings as the keys and any other datatype as the value. Syntactic sugar should allow accessing values of the Map via the index operator and an easy way to create Maps.

E.g. creation via Map('foo', 1, 'bar', 3) and access via map['foo']

One can eachieve the required data storage via a Nested(k String, v Int64) column but access is rather clunky: nst.v[indexOf(nst.k, 'foo')]

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions