Cmdlets for Amazon Athena

Build 24.0.9060

Select-AmazonAthena Cmdlet

Parameters   Output Objects  

Searches Amazon Athena data.

Syntax

Select-AmazonAthena [parameters]

Remarks

The Select-AmazonAthena cmdlet allows you to use a syntax similar to SQL SELECT statements to search Amazon Athena data.

$conn = Connect-AmazonAthena AWSAccessKey "a123" -AWSSecretKey "s123" -AWSRegion "IRELAND" -Database "sampledb" -S3StagingDirectory "s3://bucket/staging/"
Select-AmazonAthena -Connection $conn -Table "[AwsDataCatalog].[sampledb].Customers" -Columns @("Name","TotalDue") -Where "CustomerId='12345'"

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060