Your first example looks like a bug to me. This may be work around for you:
select(echo("Hello"),
echo as blah,
lower(echo) as blah1)
Returns:
{ "result-set": { "docs": [ { "blah": "Hello", "blah1": "hello" }, { "EOF":
true, "RESPONSE_TIME": 0 } ] } }
The string
Hello all,
I’m trying to reindex from a collection to a new collection with a different
schema, using streaming expressions. I can’t use REINDEXCOLLECTION directly,
because I need to process documents a bit.
I couldn’t figure out 3 simple, related things for hours so forgive me if I
just ask.