Skip to content

Commit 9b452b3

Browse files
committed
Treat an empty object as null for output
1 parent 2b96c80 commit 9b452b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/webapp/app/v3/querySchemas.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ export const runsSchema: TableSchema = {
272272
output: {
273273
name: "output",
274274
...column("JSON", { description: "Run output data", example: '{"result": "success"}' }),
275+
expression: "if(output = '{}', NULL, output)",
275276
},
276277
error: {
277278
name: "error",

0 commit comments

Comments
 (0)