Sha256: c70ef2682ee9d60166c09b26630b88b79bf902243681cc7493a7852ceb4ecf8a

Contents?: true

Size: 254 Bytes

Versions: 3

Compression:

Stored size: 254 Bytes

Contents

use 'HiveLike'

# hive-like/items.txt
# apple, 3, 100
# banana, 1, 50

create_table items(item STRING, quantity INT, price INT);
load_data "hive-like/items.txt" items;

select quantity, price, item from items;

# expect
# 0  apple 3 300
# 1  banana 1 50

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hadoop-rubydsl-0.0.3 examples/hive_like_test.rb
hadoop-rubydsl-0.0.2 examples/hive_like_test.rb
hadoop-rubydsl-0.0.1 examples/hive_like_test.rb