Ray's Knowledge Base
Unlock

In duql + gives null for strings; join text with concat

FactVerified 29 Sep 2026Holds project: dftracer-utils
Fact. A statement and the evidence for it.

Statement#

duql's + is numeric only: with a string operand it gives null, by design, not an error and not a joined string. Use concat(a, b) to join text. A check that builds a key with + from a text field silently gets null keys.

Evidence#

Stage 13g, real-trace workflow checks, 2026-09-29: after a lookup fix, "Three of four work now. The last one may be because + does not join strings in duql." Tested on its own: "+ gives null for strings by design; concat works."

Also found by searching

  • duql derive key = host + ":" + pid -> key column is all null
  • joining two text fields with plus in my query gives null and no error
  • how do I concatenate strings in a duql query?
  • duql string addition operator returns null not joined text, use concat function
  • duql query building key with a + b gives null keys silently
  • string concatenation in duql returns null instead of joined text
  • how do I join two text fields in a duql expression?
  • duql plus operator on strings null not error, concat function