I created several data sources from s3 with manifest files, then I am trying to create dataset with API request boto3 create_data_set and faced with some issues
- with s3 source aws allows to specify in InputFields only ‘STRING’ but in doc they show more
‘InputColumns’: [
{
‘Name’: ‘string’,
‘Type’: ‘STRING’|‘INTEGER’|‘DECIMAL’|‘DATETIME’|‘BIT’|‘BOOLEAN’|‘JSON’
},
Because if I specify INTEGER or DATETIME, throws an error, and says that only STRING type allowed for s3, this is very strange - so in LogicalTable section, I am trying to cast column which has values ‘2020-02-10’, and I need to have this column type DATE, but from docs it is available only DATETIME, and I tried this:
‘CastColumnTypeOperation’: {
‘ColumnName’: ‘dateColumn’,
‘NewColumnType’: ‘DATETIME’,
‘Format’: ‘yyyy-mm-dd’
}
and gets this result:
Can someone help to fix it, and get DATE in format ‘YYYY-MM-DD’ please?