Skip to content

Commit

Permalink
Merge pull request #31 from metabolicdata/hotfix/glue_crawler
Browse files Browse the repository at this point in the history
Incomptaible SchemaChanges mode
  • Loading branch information
margon8 authored Mar 25, 2024
2 parents 680f893 + 6617896 commit c5de1b1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ class GlueCrawlerService(implicit val region: Regions) extends Logging {
.withS3Targets(s3TargetList:_*)

val recrawlPolicy = new RecrawlPolicy()
.withRecrawlBehavior(RecrawlBehavior.CRAWL_NEW_FOLDERS_ONLY)
.withRecrawlBehavior(RecrawlBehavior.CRAWL_EVERYTHING)

val schemaChangePolicy = new SchemaChangePolicy()
.withUpdateBehavior(UpdateBehavior.UPDATE_IN_DATABASE)
.withDeleteBehavior(DeleteBehavior.DEPRECATE_IN_DATABASE)
.withDeleteBehavior(DeleteBehavior.DELETE_FROM_DATABASE)

val crawlerCreateRequest = new CreateCrawlerRequest()
.withDatabaseName(dbName)
Expand Down

0 comments on commit c5de1b1

Please sign in to comment.