Class: Aws::Context::Types::SqlQuery
- Inherits:
-
Struct
- Object
- Struct
- Aws::Context::Types::SqlQuery
- Defined in:
- gems/aws-sdk-context/lib/aws-sdk-context/types.rb
Overview
A SQL statement for ExecuteSql to run, and the AWS Glue tables that the statement reads.
Constant Summary collapse
- SENSITIVE =
[:statement]
Instance Attribute Summary collapse
-
#statement ⇒ String
One read-only SELECT or WITH statement, without a trailing
;, in PostgreSQL-compatible SQL as the query engine parses it. -
#tables ⇒ Array<Types::SqlTableReference>
Every table the statement reads.
Instance Attribute Details
#statement ⇒ String
One read-only SELECT or WITH statement, without a trailing ;, in
PostgreSQL-compatible SQL as the query engine parses it.
Double-quote every identifier: unquoted identifiers are upper-cased
and matching is case-sensitive. Reference each table by its quoted,
fully qualified AWS Glue table ARN, for example SELECT "order_id"
FROM "arn:aws:glue:us-east-1:111122223333:table/db/orders" LIMIT
10. At most 50,000 rows are returned whatever the statement's own
LIMIT.
6537 6538 6539 6540 6541 6542 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6537 class SqlQuery < Struct.new( :statement, :tables) SENSITIVE = [:statement] include Aws::Structure end |
#tables ⇒ Array<Types::SqlTableReference>
Every table the statement reads. The service does not parse the SQL to find tables, and the engine resolves only the tables listed here.
6537 6538 6539 6540 6541 6542 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6537 class SqlQuery < Struct.new( :statement, :tables) SENSITIVE = [:statement] include Aws::Structure end |