aws glue create-crawler \
--name orders-raw-crawler \
--role AWSGlueServiceRole-lake \
--database-name raw \
--targets '{"S3Targets": [{"Path": "s3://lake/raw/"}]}' \
--schema-change-policy UpdateBehavior=UPDATE_IN_DATABASE,DeleteBehavior=DEPRECATE_IN_DATABASE \
--recrawl-policy RecrawlBehavior=CRAWL_EVERYTHING
aws glue start-crawler --name orders-raw-crawler-- Run the crawler first: Athena queries the tables
-- the crawler writes to the Data Catalog.