Skip to content

Instantly share code, notes, and snippets.

View hyunsik's full-sized avatar
🏠
Working from home

Hyunsik Choi hyunsik

🏠
Working from home
View GitHub Profile
@hyunsik
hyunsik / FormatProperties.java
Last active August 29, 2015 14:21
FormatProperties
public interface FormatProperties {
boolean splittable();
boolean compressible();
boolean seekable();
boolean projectable();
boolean filterable();
@hyunsik
hyunsik / storage-setting.json
Created May 19, 2015 08:15
Storage configuration
{
"spaces": {
"default": {
"uri": "hdfs://localhost:8020/tajo/warehouse",
"configs": [
{"x": "y"},
{"x": "y"}
]
},
"ssd1": {
{
"pi": 3.141,
"happy": true,
"name": "Niels",
"nothing": null,
"answer": {
"everything": 42
},
"list": [1, 0, 2],
"object": {
CREATE TABLE table1 (
f1 INT,
nested_field1 RECORD (
f2 INT,
f3 BIGINT
),
f3 TEXT
);
@hyunsik
hyunsik / x.sql
Last active August 29, 2015 14:21
CREATE EXTERNAL TABLE table1 (
title TEXT,
name RECORD (
first_name INT
)
) USING JSON LOCATION '/xxx/json_Table';
{ "title" : "Hand of the King", "name" : { "first_name": "Eddard", "last_name": "Stark"}}
{ "title" : "Assassin", "name" : { "first_name": "Arya", "last_name": "Stark"}}
{ "title" : "Dancing Master", "name" : { "first_name": "Syrio", "last_name": "Forel"}}
@hyunsik
hyunsik / cpp_awesome_links.md
Created May 27, 2015 05:11
C++ Awesome Links
{
"spaces": {
"warehouse": {
"default": true,
"uri": "hdfs://localhost:8020/tajo/warehouse",
"configs": [
{"dfs.client.read.shortcircuit": true},
{"dfs.domain.socket.path": "/var/lib/hadoop-hdfs/..."}
]
},