context = { 'destination_s3_key': 'art-relations/releases/data/dim_release.txt.gz', 'chunk_size': 100000, 'table': 'releases', 'primary_key': 'release_id', 'bucket': '{env}-db-data', 'query': ''' SELECT release_id, last_updated, upc, display_upc, artist_id, subaccount_id, stripSpecialChars(vendor_release_identifier), stripSpecialChars(release_name), stripSpecialChars(label), stripSpecialChars(description), release_date, listprice, sellprice, display, deletions, distribution, applfees, referral_id, genre_id, format, orig_release_year, promocode, stripSpecialChars(c_line), stripSpecialChars(manufacturer_upc), album_download, download_price, priority, territory, sale_start_date, vod_start_date, original_release_date, vendor_catalog_number, language_id, promobox_no, additional_id, dracatalog, channel_id, product_type_id, trackdown_black_list, not_for_distribution, stripSpecialChars(europe_public_domain), karaoke, stripSpecialChars(unknown_artist), new_release, stripSpecialChars(product_format), promos_number, promo_upc, sync_only, country_of_origin, stripSpecialChars(short_synopsis), stripSpecialChars(keywords), stripSpecialChars(production_co), preorder_date, amd_id, stripSpecialChars(wholesale_price_tier), stripSpecialChars(season), stripSpecialChars(episode), stripSpecialChars(production_number), stripSpecialChars(network), stripSpecialChars(genre_note), physical_release_date, theatrical_release_date, original_digital_release_date, est, vod, stripSpecialChars(rsd_comment), int_mkt_manager, tms_id, stripSpecialChars(brand), digital_only, product_subtype_id, stripSpecialChars(version), ingestion_completed, release_status, meta_language, itunes_previewable, subtitle_language_id, compilation FROM releases WHERE release_id BETWEEN {min_id} AND {max_id}''' }