You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
timeoverride
changed the title
Tab delimited responses are truncated response is truncated
Tab delimited responses are truncated
Feb 16, 2022
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.
It would be great (for me at least) if we could just return the split line. Ex:
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.
The text was updated successfully, but these errors were encountered: