1

If I have an event type that has a column of type java.util.Map, how can I in EPL create a literal for use in an INSERT, to achieve something like:

insert into Event(id,myMap) select 1 as id, {'A':2,'B':3};

I know this is the right syntax or even if there is one for what I want to achieve. Is this possible ?

user2123288
  • 1,103
  • 1
  • 13
  • 22

1 Answers1

1

Try the "new" keyword. The documentation link is new.

Alternative is writing a UDF or script.

user650839
  • 2,594
  • 1
  • 13
  • 9