hitesh
01/02/2023, 8:37 PMpyathena.error.DatabaseError: An error occurred (InvalidRequestException) when calling the StartQueryExecution operation: line 1:8: mismatched input 'EXTERNAL'. Expecting: 'OR', 'SCHEMA', 'TABLE', 'VIEW' cmd_type=elb consumer=True name=target-athena producer=False stdio=stderr string_id=target-athena
botocore.errorfactory.InvalidRequestException: An error occurred (InvalidRequestException) when calling the StartQueryExecution operation: line 1:8: mismatched input 'EXTERNAL'. Expecting: 'OR', 'SCHEMA', 'TABLE', 'VIEW' cmd_type=elb consumer=True name=target-athena producer=False stdio=stderr string_id=target-athena
aaronsteers
01/02/2023, 11:00 PMaaronsteers
01/02/2023, 11:01 PMaaronsteers
01/02/2023, 11:02 PMMake sure table name does not have "-", spaces, or any other character not allowed in table names.Could be that the target is not correctly conforming the stream name to a valid table name.
Matt Menzenski
01/02/2023, 11:26 PMhitesh
01/03/2023, 7:08 AM