When I run crawler from Glue on parquet/csv file in S3 bucket, It takes Date as a string. I changed in edit schema and set it to Date. Not only date but it's not changing any data type in edit schema. When I fire query from Athena "select order_date from parque_sales
", the error is:
HIVE_BAD_DATA: Field order_date's type BINARY in parquet is incompatible with type date defined in table schema
I also tried changing schema in Glue studio, the result is same!
Thanks in advance! Please help!