PageSourceSearch

https://getmontecarlo.com/assets/etl-columns-Bv-5Yldy.js

js getmontecarlo.com collected 2026-10-01 11:26:30 UTC 6,643 bytes, 1 lines download raw bytes

1import{o as e}from"./rolldown-runtime-C0FnF6B9.js";import{A as t,j as n}from"./vendor-codemirror-DOxSoMuC.js";import{I as r,Mo as i,Ms as a,Po as o,gc as s,ir as c,mt as l,ws as u}from"./src-CzRXvHbZ.js";import{t as d}from"./HoverCard-CpVSfCV_.js";import{S as f,T as p,m}from"./general-utils-WmQbNgXZ.js";import{in as h,qt as g}from"./base-types-B8vZnQiq.js";import{u as _}from"./search-mc-data-utils-Pn8k-pAv.js";import{t as v}from"./use-should-truncate-content-DFwxb3PZ.js";import{t as y}from"./copy-icon-button-DGOsFXop.js";import"./copy-icon-button-DcQzF1a4.js";var b=e(n(),1),x=function(e){return e.Error=`error`,e.Success=`success`,e.Skipped=`skipped`,e}({}),S=[_.SNOWFLAKE_STREAM,_.TABLE,_.TEMP_TABLE,_.VIEW,_.WILDCARD_TABLE,_.EXTERNAL,_.COLLAPSED_EXT],C=`blue`,w=`neutral`,T=`error`,E=`warning`,D={[x.Success]:{color:`ok`,label:`Success`},[x.Error]:{color:T,label:`Error`},[x.Skipped]:{color:w,label:`Skipped`}},O={[g.Running]:{color:C,label:`Running`},[g.Success]:{color:`ok`,label:`Success`},[g.Error]:{color:T,label:`Error`},[g.Failed]:{color:T,label:`Failed`},[g.Cancelled]:{color:w,label:`Cancelled`}},k={success:{color:`ok`,label:`Success`},pass:{color:`ok`,label:`Pass`},error:{color:T,label:`Error`},fail:{color:T,label:`Failed`},skipped:{color:w,label:`Skipped`},warn:{color:E,label:`Warning`}},A={DatabricksJob:{color:w,label:``},SUCCEEDED:{color:`ok`,label:`Success`},ERROR:{color:T,label:`Error`},FAILED:{color:T,label:`Failed`},BLOCKED:{color:T,label:`Blocked`},TIMED_OUT:{color:T,label:`Timed out`},SKIPPED:{color:w,label:`Skipped`},CANCELLED:{color:w,label:`Cancelled`}},j={[h.Deferred]:{color:E,label:`Deferred`},[h.Queued]:{color:w,label:`Queued`},[h.Restarting]:{color:C,label:`Restarting`},[h.Scheduled]:{color:w,label:`Scheduled`},[h.UpForReschedule]:{color:w,label:`Up for reschedule`},[h.UpForRetry]:{color:E,label:`Up for retry`},[h.InProgress]:{color:C,label:`In progress`},[h.Cancelling]:{color:C,label:`Cancelling`},[h.Success]:{color:`ok`,label:`Success`},[h.PartialSuccess]:{color:E,label:`Partial success`},[h.Pass]:{color:`ok`,label:`Pass`},[h.Cancelled]:{color:w,label:`Cancelled`},[h.Inactive]:{color:w,label:`Inactive`},[h.Removed]:{color:w,label:`Removed`},[h.Skipped]:{color:w,label:`Skipped`},[h.Blocked]:{color:T,label:`Blocked`},[h.UpstreamFailed]:{color:E,label:`Upstream failed`},[h.Fail]:{color:T,label:`Fail`},[h.Failed]:{color:T,label:`Failed`},[h.Error]:{color:T,label:`Error`},[h.TimedOut]:{color:T,label:`Timed out`},[h.Unknown]:{color:w,label:`Unknown`},[h.Warn]:{color:E,label:`Warn`}},M={SUCCEEDED:{color:`ok`,label:`Success`},FAILED:{color:T,label:`Failed`},SKIPPED:{color:w,label:`Skipped`},CANCELLED:{color:w,label:`Cancelled`},CANCELLING:{color:w,label:`Cancelling`},QUEUED:{color:w,label:`Queued`},INPROGRESS:{color:w,label:`In progress`},INACTIVE:{color:w,label:`Inactive`}},N={...D,...O,...k,...A,...j,...M},P=(e,t)=>{if(t&&Object.keys(e).includes(t.toUpperCase()))return t.toUpperCase()},F=[`ok`,T,w],I=e=>Object.entries(e).sort((e,t)=>{let[,n]=e,[,r]=t,i=F.indexOf(n.color),a=F.indexOf(r.color);return i===a?n.label.localeCompare(r.label):i-a}).map(([e])=>e),L=e=>Object.entries(e).filter(([,e])=>e.color===`ok`).map(([e])=>e),R=e=>N[e],z=e=>Object.prototype.hasOwnProperty.call(j,e),B=t(),V=(0,b.forwardRef)(({status:e,children:t,...n},r)=>{let i=(0,B.jsx)(o,{color:w,variant:`light`,...n,ref:r,children:`Unknown`});if(!e)return i;let a=R(e);return a?(0,B.jsx)(o,{color:a.color,variant:`light`,...n,ref:r,children:t??a.label}):i}),H=({status:e,rawStatus:t,...n})=>{let r=t?.trim()??``,i=r!==``&&r.toLowerCase()!==h.Unknown.toLowerCase();return e&&z(e)&&!(e===h.Unknown&&i)?(0,B.jsx)(V,{status:e,...n}):(0,B.jsx)(V,{status:h.Unknown,...n,children:i?r:void 0})};function U({text:e}){let t=(0,b.useRef)(null);return v(t,{direction:`vertical`})?(0,B.jsxs)(d,{width:600,withArrow:!0,children:[(0,B.jsx)(d.Target,{children:(0,B.jsx)(u,{ref:t,style:{wordBreak:`break-word`},lineClamp:6,children:e})}),(0,B.jsx)(d.Dropdown,{children:(0,B.jsxs)(s,{display:`block`,bg:`var(--mantine-color-default-hover)`,p:`md`,bdrs:`sm`,style:{overflow:`auto`,wordBreak:`break-word`},component:`code`,pos:`relative`,children:[e,(0,B.jsx)(y,{textToCopy:e,styles:{root:{position:`absolute`,right:8,top:8}}})]})})]}):(0,B.jsx)(u,{ref:t,style:{wordBreak:`break-word`},lineClamp:6,children:e})}function W(e){return r().display({id:`start_time`,size:210,header:()=>(0,B.jsx)(s,{children:`Start time`}),cell:({row:t})=>(0,B.jsx)(s,{children:f(e(t.original),{hideTimezone:!0})})})}function G(e){return r().display({id:`End`,header:()=>(0,B.jsx)(s,{children:`End`}),cell:({row:t})=>(0,B.jsx)(s,{children:f(e(t.original))})})}function K(e){return r().display({id:`status`,size:100,header:()=>(0,B.jsx)(s,{children:`Status`}),cell:({row:t})=>(0,B.jsx)(V,{status:e(t.original),variant:`light`})})}function q(e,t){return r().display({id:`status`,size:100,header:()=>(0,B.jsx)(s,{children:`Status`}),cell:({row:n})=>(0,B.jsx)(H,{status:e(n.original),rawStatus:t(n.original)})})}function J(e,t){return r().display({id:`task_name`,size:210,header:()=>(0,B.jsx)(s,{children:t}),cell:({row:t})=>(0,B.jsx)(s,{children:e(t.original)})})}function Y(e,t){return r().display({id:`runtime`,size:100,header:()=>(0,B.jsx)(s,{miw:`90px`,children:p()}),cell:({row:n})=>(0,B.jsx)(s,{children:m(e(n.original),t(n.original))})})}var X=e=>!!e&&(e.startsWith(`https://`)||e.startsWith(`http://`));function Z(e,t,n,o){return r().display({id:`view_run_on_external_system`,size:100,header:()=>null,meta:{align:`right`},cell:({row:t})=>{let r=e(t.original);if(!X(r))return`Not available`;let s=`mc_run_${o(t.original)}`;return(0,B.jsx)(a,{w:`100%`,justify:`flex-end`,pr:`lg`,children:(0,B.jsx)(l,{label:(0,B.jsx)(a,{gap:`xs`,wrap:`nowrap`,children:(0,B.jsx)(u,{children:n})}),children:(0,B.jsx)(i,{"aria-label":`Open run`,component:`a`,href:r,target:s,rel:`noopener noreferrer`,onClick:e=>e.stopPropagation(),"data-testid":s,children:(0,B.jsx)(c,{})})})})}})}function Q(e){return r().display({id:`attempt`,size:80,header:()=>(0,B.jsx)(s,{children:`Attempt`}),cell:({row:t})=>(0,B.jsx)(s,{children:e(t.original)??`—`})})}function $(e){return r().display({id:`trigger`,size:120,header:()=>(0,B.jsx)(s,{children:`Trigger`}),cell:({row:t})=>(0,B.jsx)(s,{children:e(t.original)??`—`})})}function ee(e){return r().display({id:`error`,size:300,header:()=>(0,B.jsx)(s,{children:`Exception`}),cell:({row:t})=>(0,B.jsx)(U,{text:e(t.original)})})}export{L as C,S as D,x as E,P as S,I as T,O as _,Y as a,j as b,J as c,X as d,U as f,A as g,M as h,q as i,$ as l,V as m,G as n,W as o,H as p,ee as r,K as s,Q as t,Z as u,k as v,z as w,w as x,T as y};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.