bobbai00 commented on code in PR #6009:
URL: https://github.com/apache/texera/pull/6009#discussion_r4333096757
##########
agent-service/src/agent/tools/tools-utility.ts:
##########
@@ -17,10 +17,90 @@
* under the License.
*/
-export const INTERNAL_RESULT_KEYS: ReadonlySet<string> = new
Set(["__row_index__", "__is_visualization__"]);
+import type { IndexedTuple, OperatorExecutionSummary, Tuple, WebOutputMode }
from "../../types/execution";
-export function getVisibleResultHeaders(row: Record<string, any>): string[] {
- return Object.keys(row).filter(k => !INTERNAL_RESULT_KEYS.has(k));
+// The single definition of "this operator failed": some fatal error carries
+// message text. The engine can emit console ERRORs with empty text, which do
+// not count, matching the previous `error` field's truthiness semantics.
Review Comment:
done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]