-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathsql.rb
More file actions
25 lines (21 loc) · 897 Bytes
/
sql.rb
File metadata and controls
25 lines (21 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
module Spark
module SQL
extend Spark::Library
autoload_without_import :Context, 'spark/sql/context'
autoload_without_import :DataType, 'spark/sql/data_type'
autoload_without_import :DataFrame, 'spark/sql/data_frame'
autoload_without_import :DataFrameReader, 'spark/sql/data_frame_reader'
autoload_without_import :DataFrameWriter, 'spark/sql/data_frame_writer'
autoload :Row, 'spark/sql/row'
autoload :Column, 'spark/sql/column'
# Types
autoload :StructType, 'spark/sql/data_type'
autoload :StructField, 'spark/sql/data_type'
autoload :AtomicType, 'spark/sql/data_type'
autoload :NumericType, 'spark/sql/data_type'
autoload :IntegralType, 'spark/sql/data_type'
autoload :StringType, 'spark/sql/data_type'
autoload :LongType, 'spark/sql/data_type'
end
SQLContext = Spark::SQL::Context
end