athena

package
v0.0.0-...-1f68592 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QUERY_POLLING_INTERVAL = 1
	RUNNING                = "RUNNING"
	SUCCEEDED              = "SUCCEEDED"
	PROTOCOL               = "s3://"
)

Variables

This section is empty.

Functions

func QueryAthena

func QueryAthena(inputParams *InputParams) ([]*athena.Row, error)

QueryAthena ...

Queries AWS Athena and returns back a result set

Types

type InputParams

type InputParams struct {
	AwsSession   *session.Session
	Database     *string
	QueryString  *string
	Region       *string
	OutputBucket *string
	AthenaClient *athena.Athena
}

InputParams ...

type Query

type Query struct {
	// contains filtered or unexported fields
}

Query ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL