Scale Intelligence■ Docs
Docs / The model / SourceProcedure

SourceProcedure.

How a source is read, derived from its row and its last reading: how it opens, every table with its count, population and control, the joins, the lineage and the pitfalls

Figure 1SourceProcedurespecified
SOURCEPROCEDURErow at platform scopesourceidone row for every kindkindenum:lake|catalogue|folder of files|hypergraph|…pathtextthe file at the last readinghashhashthe program that made it, with its path and commitgeneratortextenginetextthe statement that attaches it read-onlyopenstextevery table of the artefact with its count, population and controltables[SourceTable]to other sources, by identifierjoins[SourceJoin]each with the reading that showed itpitfalls[text]read_attimepast the parameter's agestaleboolSOURCETABLEthrough tablesSOURCEJOINthrough joinsREADINESSthrough stateand 4 more fields on this page
SourceProcedure is a row at platform scope. The drawing shows its fields and the objects that they point at.
kind
row
scope
platform
key
the source and the reading
store
postgres
family
sources

Fields#

fieldtyperequirednote
sourceidyes
kindone of lake | catalogue | folder of files | hypergraph | embedding store | predicate set | derived tableyesone row for every kind
pathtextyes
hashhashyesthe file at the last reading
generatortextyesthe program that made it, with its path and commit
enginetextyes
openstextyesthe statement that attaches it read-only
tablesSourceTableyesevery table of the artefact with its count, population and control
joinsSourceJoinyesto other sources, by identifier
pitfalls[text]yeseach with the reading that showed it
read_attimeyes
staleboolyespast the parameter’s age
versioncountyes
stateReadinessnoready when the artefact opened and every table counted; not ready with the reason, such as a missing file or a table with no control; absent on a procedure not yet read
bytesbytesnothe size of the file, or of every file of the folder, at the reading; a changed size says the artefact was rebuilt without hashing it again
modifiedtimenowhen the file, or the newest file of the folder, was last changed, at the reading; a later time says the artefact was rebuilt without hashing it again

Routes that use it#