confused log with "miss host db", "miss host table"
what does "host" mean here? try to update the log to make it clearer?
(the terminology traced back to the very beginning, so probably no one here knows why "host" was used 😅)
https://github.com/pingcap/tidb-lightning/blob/75af9bb8b1f3d8854e18f9b8f0749d82695e0d9f/ingest/mydump/loader.go#L193-L196
anyway the "host table" error is thrown when we try to import db.tbl.1234.sql, but the schema of the table db.tbl does not exist.
so perhaps change the wordings to:?
invalid data file, cannot find db '%s'
invalid data file, cannot find table '%s'
invalid data file, cannot find db '%s'
invalid data file, cannot find table '%s'
but cannot find the schema file for db '%s'?
there's no need for schema file in --no-schema mode, but the table still needs to exist on TiDB