2回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
Hi,
I have seen in past that string may give troubles in being passed to Lambda function. Can you try creating a n object holding the input, such as a POJO or just a Map<String, Object>?
Hope it helps ;)
0
Hi alatech I try this
public class ip_to_long implements RequestHandler<String, String>{
@Override
/*
* Takes a String as input, and converts all characters to lowercase.
*/
public String handleRequest(String event, Context context)
{
LambdaLogger logger = context.getLogger();
logger.log("EVENT TYPE: " + event.getClass().toString());
return event.toLowerCase();
}
}
In the AWS console is OK, but in athen query nothing :(
USING EXTERNAL FUNCTION handleRequest(s VARCHAR)
RETURNS VARCHAR
LAMBDA 'ip_to_long'
select handleRequest('test')
I dont know if i something is missing to accept in athena queries
thanks for all
回答済み 1年前
関連するコンテンツ
- AWS公式更新しました 3年前
- AWS公式更新しました 2年前
Thanks for all alatech. In AWS console it is OK but in athena query no, i dont know if something is missing in configuration to accept athena queries and string encoding. Thanks