Sha256: 0a23d3e74cedce33ee0e4e0cc6f583c5380b5fed498bfb2a6b1dda14e388b9e1

Contents?: true

Size: 323 Bytes

Versions: 1

Compression:

Stored size: 323 Bytes

Contents

require_relative '../command'

module AmazonAthena
  module Commands
    class CreateTable < AmazonAthena::Command

      def initialize(ddl)
        @ddl = ddl
      end

      def statement
        @ddl
      end

      def run(connection)
        connection.query(statement)

        return
      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/create_table.rb