Commit
c93894d69aa2714022332e6b36cbe5dd167eb409
by Antonis Lempesisfix(step22): read the format check from the Ocean file and never skip on a read error
The previous change (a35e6d7) read the first bytes of the schema file from the
Impala HDFS path. From the gateway the Impala datanodes are not reachable, so
the read returned nothing and every table was treated as "not parquet": a run
from the gateway would have skipped all tables and still passed the entity
count check. Now:
- the PAR1 magic is read from the Ocean copy of the same file
- an unreadable file is an error (die), not a reason to skip
- empty files are not chosen as the schema file
Dry run against the real stats_ext data: 41 of 45 directories created, the four
text tables (foo, *_new) skipped.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>