Open
Description
In my case I'm using MSCK REPAIR TABLE. The request returns a list of partitions I need to manually add (manually in that Athena is unable to automatically add them). I'm writing a small application that will parse the tab delimited query result and add the missing partitions, however the result is being truncated by athena-express in helper.js:249-254.
case line.indexOf("\t") > 0:
line = line.split("\t");
cleanJson.push({
[line[0].trim()]: line[1].trim(),
});
break;
It would be great (for me at least) if we could just return the split line. Ex:
case line.indexOf("\t") > 0:
cleanJson = line.split("\t");
break;
I'd like to understand the reason why an object is being pushed to the return array containing the first two values as a key/value pair rather than returning the full value of the tab delimited response.
Thanks in advance.
Metadata
Metadata
Assignees
Labels
No labels