I need to parse a datetime contains milliseconds for matching the max value in a field containing this datetimes.
parse
datetime
For example:
below is for BigQuery Standard SQL
#standardSQL SELECT PARSE_DATETIME('%Y-%m-%d %H:%M:%E*S','2017-08-18 16:04:40.890')