Skip to content

Commit

Permalink
remove timestamp types and use serde regex instead
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsweetman committed Dec 13, 2023
1 parent bb178c1 commit 6749ab0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -368,17 +368,17 @@ resource "aws_glue_catalog_table" "app_lb_logs" {
ser_de_info {
name = "app_lb_logs"
parameters = {
"field.delim" = " "
"input.regex" = "([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) \"([^\"]*)\" \"([^\"]*)\" ([^ ]*) ([^ ]*) ([^ ]*) \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" ([^ ]*) ([^ ]*) \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" ([^ ]*) ([^ ]*)"
}
serialization_library = "org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe"
serialization_library = "org.apache.hadoop.hive.serde2.RegexSerDe"
}
columns {
name = "type"
type = "string"
}
columns {
name = "timestamp"
type = "timestamp"
type = "string"
}
columns {
name = "elb"
Expand Down Expand Up @@ -458,7 +458,7 @@ resource "aws_glue_catalog_table" "app_lb_logs" {
}
columns {
name = "request_creation_time"
type = "timestamp"
type = "string"
}
columns {
name = "actions_executed"
Expand Down

0 comments on commit 6749ab0

Please sign in to comment.