2026/03/12
Jump to navigation
Jump to search
|
Thursday, March 12, 2026 (#71)
|
|
References |
09:09
Actions:
- 🟢 finished moving
DataFilesandDataFolder - 🟡 finish revisions for
ImportSchema- Current issue: nothing in
Canalsto process (same as before). - See 2026/03/09 for notes on what needs doing.
- 2026/03/11: "there should be at least one: the SQL data file, as an input stream."
- Tentative action-list for this, in
Schema:- 🟢 Renamed
ImportFile()toImportFromFile(), for consistency. - 🟡 In
ImportFromFile(), create Stream for$ofData(the data file-node) and callImportFromStream() - 🟡 Write
ImportFromStream().
- 🟢 Renamed
- Current issue: nothing in
12:02
Current problem: before we even get around to assigning Stream objects to $oCmd in ImportFromStream(), DoImport() calls EnsureSchema() which then calls one of ReplaceSchema() or CreateSchema() in the Client object, which in turn call DoCommand() (without any Streams set up).
- Q1: Should these be in
Schema? They're Schema-functionality, and they need to set up theStreamobjects... (Or we could set those up first, and maybe these calls could happen inImportFromStream()?)
17:32
I decided part of the solution, at least, is to spin off the SQL-building code into a separate clade, Sys\Data\Engine\aux\Syntax. That way I can leave those calls where they are and actually execute them later, after setting things up properly.