// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`test workflow stack 1`] = ` { "Resources": { "RedditTableCfnredditcomment85797B23": { "Properties": { "CatalogId": { "Ref": "AWS::AccountId", }, "DatabaseName": { "Ref": "TestDB27CDA92F", }, "TableInput": { "Description": "A table created with partition projection for redditcomment", "Name": "redditcomment", "Parameters": { "classification": "parquet", "has_encryped_data": false, "projection.created_at.format": "yyyy-MM-dd", "projection.created_at.range": "NOW-45DAYS,NOW", "projection.created_at.type": "date", "projection.enabled": "TRUE", }, "PartitionKeys": [ { "Name": "created_at", "Type": "timestamp", }, ], "StorageDescriptor": { "Columns": [ { "Name": "account_name", "Type": "string", }, { "Name": "platform", "Type": "string", }, { "Name": "search_query", "Type": "string", }, { "Name": "id_str", "Type": "string", }, { "Name": "text", "Type": "string", }, { "Name": "translated_text", "Type": "string", }, { "Name": "subreddit_id", "Type": "string", }, { "Name": "link_title", "Type": "string", }, { "Name": "ups", "Type": "int", }, { "Name": "total_awards_received", "Type": "int", }, { "Name": "subreddit", "Type": "string", }, { "Name": "link_author", "Type": "string", }, { "Name": "likes", "Type": "string", }, { "Name": "replies", "Type": "string", }, { "Name": "id", "Type": "string", }, { "Name": "author", "Type": "string", }, { "Name": "num_comments", "Type": "int", }, { "Name": "parent_id", "Type": "string", }, { "Name": "score", "Type": "float", }, { "Name": "author_fullname", "Type": "string", }, { "Name": "controversiality", "Type": "float", }, { "Name": "author_premium", "Type": "boolean", }, { "Name": "link_id", "Type": "string", }, { "Name": "permalink", "Type": "string", }, { "Name": "subreddit_type", "Type": "string", }, { "Name": "link_permalink", "Type": "string", }, { "Name": "name", "Type": "string", }, { "Name": "subreddit_name_prefixed", "Type": "string", }, { "Name": "created_utc", "Type": "bigint", }, { "Name": "link_url", "Type": "string", }, ], "Compressed": false, "InputFormat": "org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat", "Location": { "Fn::Join": [ "", [ "s3://", { "Ref": "TestBucket560B80BC", }, "/redditcomment/", ], ], }, "OutputFormat": "org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat", "SerdeInfo": { "SerializationLibrary": "org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe", }, "StoredAsSubDirectories": true, }, "TableType": "EXTERNAL_TABLE", }, }, "Type": "AWS::Glue::Table", }, "TestBucket560B80BC": { "DeletionPolicy": "Retain", "Type": "AWS::S3::Bucket", "UpdateReplacePolicy": "Retain", }, "TestDB27CDA92F": { "Properties": { "CatalogId": { "Ref": "AWS::AccountId", }, "DatabaseInput": { "Name": "socialmedia", }, }, "Type": "AWS::Glue::Database", }, }, } `;