Class BigQueryCompositeHandler

  • All Implemented Interfaces:
    com.amazonaws.services.lambda.runtime.RequestStreamHandler

    public class BigQueryCompositeHandler
    extends CompositeHandler
    • Method Detail

      • handleBigQueryException

        public static Exception handleBigQueryException​(Exception e)
        Transforms BigQuery exceptions into AthenaConnectorException with appropriate error code. Maps BigQuery error codes to FederationSourceErrorCode for better customer experience. Returns other exceptions unchanged.
        Parameters:
        e - The exception to handle
        Returns:
        The transformed exception or original exception