Open noCharger opened 7 months ago
curl -XPOST localhost:9200/_plugins/_query/_datasources \
--header 'content-type: application/x-ndjson' \
--data '{"name": "mys5","description": "","connector": "SPARK","allowedRoles": [],"properties": {"glue.auth.type": "iam_role","glue.auth.role_arn": "arn:aws:iam::123456:role/flint-opensearch-role","glue.indexstore.opensearch.uri": "http://localhost:9200","glue.indexstore.opensearch.auth": "noauth"}}' -u admin:admin --insecure
{
"status": 400,
"error": {
"type": "NullPointerException",
"reason": "Invalid Request",
"details": "Cannot invoke \"String.equals(Object)\" because the return value of \"java.util.Map.get(Object)\" is null"
}
}
What is the bug?
NPE when create Spark data source
How can one reproduce the bug?
What is the expected behavior? A clear and concise description of what you expected to happen.
If it's due to config missing, we should handle this gracefully.
What is your host/environment?
OS main sql main