在哪里可以找到var jsonstring = [{
"key01": [10, "Key01 Description"],
"key02": [false, "It's a false value"],
"key03": [null, "Testing Null"],
"key04": ["tests", "Another Test Value"],
"key05": [
[25, 50], "Some testing values"
]
}, {
"key10": [100, "Key10 Value"],
"key11": [true, "It's a true value for key11"],
"key12": [null, "key12 values is Null"],
"key13": ["Testing", "Another Test Value for key13"],
"key14": [
[10, 20], "Some other testing values"
],
"key15": ["Test Name", "Name of the key15"],
"key16": null, //Test Data
"key17": 'Fake Name' //Test Data
}];
var op = jsonstring.map(function(item) {
for (var i in item) {
item[i] = Array.isArray(item[i]) ? item[i][0] : item[i]; //If `item[i]` is not an array
}
return item;
});
console.log(op);
接受的SQL的正式语法定义?
我想知道可用的功能和功能以及它们如何映射到sqlContext.sql()
(和DataFrame
)提供的功能。例如,在DataSet
中,表是什么?一个SELECT * FROM table
?
谢谢!