Skip to content

Commit

Permalink
Merge pull request #499 from KxSystems/KXI-58865
Browse files Browse the repository at this point in the history
KXI-58865 - [structuredText] char result renders incorrectly
  • Loading branch information
acheung12 authored Jan 22, 2025
2 parents 27889da + 28d7c14 commit 0f9ec0c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion resources/evaluate.q
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,15 @@
generateTableColumns[originalType;isAtom;0b;data];
generateColumns[originalType;isAtom;0b;data;$[isAtom;"value";"values"]]
];
: .j.j `count`columns!(quantity; columns)
: .j.j `count`columns!($[
(type columns) = 99h;
$[
(count columns[`values] = 1);
1;
quantity
];
quantity
]; columns)
}[generateTableColumns; generateColumns];
typeOf: {$[0>type x; .axq.i_PRIMCODE neg type x; .axq.i_NONPRIMCODE type x]};
isAtom: {not type[x] within 0 99h};
Expand Down

0 comments on commit 0f9ec0c

Please sign in to comment.