How a crawler classifies files, groups folders into tables and partitions, and handles schema drift on every run.
A crawler assumes its IAM role, connects to each data store you gave it (an S3 include path, a JDBC database, DynamoDB, Delta/Iceberg/Hudi paths or existing catalog tables) and works in three phases: classify the data to find format and schema, group objects into tables and partitions, and write the metadata into the target catalog database.
On S3 it lists the objects under the include path (minus any glob exclude patterns) and reads just enough of each file to classify it — the beginning of a JSON file, the schema at the end of a Parquet file — rather than every byte (an optional sample size caps how many files per leaf folder it opens). Each table it creates gets a classification parameter naming the classifier that recognised it.
Reach the last step for the run summary: the key takeaways from this lesson.