-- start_ignore
-- end_ignore
-- @description query01 for PXF test for cloud access where server is specified but credentials are not specified and no configuration file exists for the specified server running alongside an HDFS setup
--
-- start_matchsubs
--
-- # create a match/subs
--
-- m/PXF server error.*(com.amazonaws.AmazonClientException: No AWS Credentials provided by BasicAWSCredentialsProvider).*/
-- s/PXF server error.*/PXF server error : com.amazonaws.AmazonClientException: No AWS Credentials provided by BasicAWSCredentialsProvider/
--
-- m/Check the PXF logs located in the.*/
-- s/Check the PXF logs located in the.*/Check the PXF logs located in the 'logs-dir' directory on host 'mdw' or 'set client_min_messages=LOG' for additional details./
--
-- m/DETAIL/
-- s/DETAIL/CONTEXT/
--
-- m/CONTEXT:.*line.*/
-- s/line \d* of //g
--
-- m/pxf:\/\/(.*)\/pxf_automation_data/
-- s/pxf:\/\/.*PROFILE/pxf:\/\/pxf_automation_data?PROFILE/
--
-- m/CONTEXT:.*line.*/
-- s/line \d* of //g
--
-- m/CONTEXT:.*External table.*/
-- s/CONTEXT:.*External table.*//
--
-- m/, file.*pxf_automation_data/
-- s/, file.*pxf_automation_data.*/pxf_automation_data/
--
-- end_matchsubs

SELECT *  FROM cloudaccess_server_no_credentials_no_config_with_hdfs;
