Sha256: 4556f5dce7a5838e54f4079cf332518c2f174c0c3a2a54b7e1fabeefe6aaa295
Contents?: true
Size: 379 Bytes
Versions: 1
Compression:
Stored size: 379 Bytes
Contents
require_relative '../command' module AmazonAthena module Commands class DescribeTable < AmazonAthena::Command def initialize(database_table) @database_table = database_table end def statement "DESCRIBE #{@database_table};" end def run(connection) connection.query(statement).raw_output end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
athena-cli-0.1.0 | lib/amazon_athena/commands/describe_table.rb |